/* Google Fonts - Rajdhani */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root {
    --primary-color: #8b0000;
    --secondary-color: #cc2936;
    --dark-blue: #2d2d2d;
    --dark: #121212;
    --gradient-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

body {
    background: var(--gradient-bg);
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    animation: headerBorderGlow 3s infinite;
}

@keyframes headerBorderGlow {
    0%, 100% {
        box-shadow: 
            0 0 5px var(--primary-color),
            0 0 10px var(--primary-color),
            0 0 15px var(--secondary-color),
            0 4px 30px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 30px var(--secondary-color),
            0 0 40px var(--secondary-color),
            0 4px 30px rgba(0, 0, 0, 0.1);
    }
}

.logo {
    position: relative;
    display: inline-block;
}

.logo img {
    max-width: 180px;
    height: auto;
    padding: 5px;
    filter: drop-shadow(0 0 10px rgba(91, 83, 210, 0.5));
    border-radius: 50%;
    animation: logoGlow 3s infinite;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(211, 47, 47, 0.5))
                drop-shadow(0 0 15px rgba(244, 67, 54, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(211, 47, 47, 0.8))
                drop-shadow(0 0 30px rgba(244, 67, 54, 0.6));
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(211, 47, 47, 0.5))
                drop-shadow(0 0 15px rgba(244, 67, 54, 0.3));
    }
}

/* Ek olarak hover efekti */
.logo img:hover {
    animation: logoGlowHover 1.5s infinite;
}

@keyframes logoGlowHover {
    0% {
        filter: drop-shadow(0 0 15px rgba(211, 47, 47, 0.7))
                drop-shadow(0 0 20px rgba(244, 67, 54, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(211, 47, 47, 1))
                drop-shadow(0 0 35px rgba(244, 67, 54, 0.8));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(211, 47, 47, 0.7))
                drop-shadow(0 0 20px rgba(244, 67, 54, 0.5));
    }
}


.site-description {
    color: #e0e0e0;
    margin: 10px 0;
    font-size: 1.1em;
}

/* Favicon Style */
link[rel="shortcut icon"] {
    border-radius: 50%;
}

/* VIP Casino Section */
.casino-section:first-of-type .casino-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
}

.casino-section:first-of-type .casino-card {
    position: relative;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
}

/* VIP Casino Card Footer */
.casino-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 0 10px;
}

/* Dönen kral tacı animasyonu - Güncellenmiş Y ekseni dönüşü */
.crown-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ffd700, #ffeb3b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateCrown 3s infinite linear;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.crown-icon i {
    font-size: 22px;
    color: #000;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}

@keyframes rotateCrown {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Hover efekti için ek stil */
.crown-icon:hover {
    animation-duration: 1.5s;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Global Icon */
.global-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #00bcd4, #4caf50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateGlobe 4s infinite linear;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.global-icon i {
    font-size: 22px;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    animation: pulseGlobe 2s infinite;
}

@keyframes rotateGlobe {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes pulseGlobe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Hover efekti için ek stil */
.global-icon:hover {
    animation-duration: 2s;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.5);
}

/* Normal Casino Section */
.casino-section:nth-of-type(2) .casino-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.casino-section:nth-of-type(2) .casino-card {
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
}

.casino-section:nth-of-type(2) .casino-promotion,
.casino-section:nth-of-type(2) .stars {
    display: none;
}

/* Common Casino Styles */
.casino-section {
    margin-bottom: 30px;
}

.section-title {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 2em;
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.casino-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    animation: cardBorderGlow 3s infinite;
}

@keyframes cardBorderGlow {
    0%, 100% {
        box-shadow: 
            0 0 5px var(--primary-color),
            0 0 10px var(--primary-color),
            0 0 15px var(--secondary-color),
            0 8px 25px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 30px var(--secondary-color),
            0 0 40px var(--secondary-color),
            0 8px 25px rgba(0, 0, 0, 0.2);
    }
}

.casino-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.casino-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.casino-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--primary-color);
    box-shadow: 0 12px 25px rgba(139, 0, 0, 0.2);
}

.casino-logo {
    width: 200px;
    height: 130px;
    object-fit: contain;
    margin: 0 auto 20px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.casino-card:hover .casino-logo {
    transform: scale(1.05);
}

/* VIP Casino Logo */
.casino-section:first-of-type .casino-logo {
    width: 200px;
    height: 140px;
    border-radius: 18px;
}

.casino-name {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.casino-promotion {
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.4;
    padding: 0 10px;
}

.stars {
    color: #ffd700;
    margin-bottom: 12px;
    font-size: 1.1em;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.casino-button {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9em;
    margin: 0;
    position: relative; /* Eklendi */
    overflow: hidden; /* Eklendi */
    animation: glowPulse 2s infinite; /* Eklendi */
}

/* Yeni eklenen glow animasyonu */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px var(--primary-color),
                    0 0 10px var(--primary-color),
                    0 0 15px var(--secondary-color);
    }
    50% {
        box-shadow: 0 0 10px var(--primary-color),
                    0 0 20px var(--primary-color),
                    0 0 25px var(--secondary-color);
    }
    100% {
        box-shadow: 0 0 5px var(--primary-color),
                    0 0 10px var(--primary-color),
                    0 0 15px var(--secondary-color);
    }
}

.casino-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(211, 47, 47, 0.1),
        transparent,
        rgba(244, 67, 54, 0.2),
        transparent
    );
    animation: glowRotate 3s linear infinite;
    z-index: 1;
}

@keyframes glowRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.casino-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary-color),
                0 0 30px var(--secondary-color),
                0 0 45px var(--secondary-color);
    animation: none; /* Hover durumunda ana animasyonu durdur */
}

.casino-button:hover::before {
    animation-duration: 1.5s; /* Hover durumunda dönen efekti hızlandır */
}


/* Footer Styles */
.footer {
    text-align: center;
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-top: 30px;
}

.footer-logo img {
    max-width: 120px;
    margin-bottom: 15px;
    border-radius: 50%;
}

.footer-text {
    color: #e0e0e0;
    font-size: 1em;
    margin-bottom: 15px;
}

.license img {
    max-width: 80px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.license img:hover {
    opacity: 1;
}

/* Social Media Buttons */
.social-media-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-decoration: none;
    transition: all 0.4s ease;
    overflow: hidden;
    animation: socialGlow 3s infinite;
}

.social-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.social-button::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark-blue), var(--dark));
    z-index: 1;
}

.social-button i {
    font-size: 22px;
    position: relative;
    z-index: 2;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

@keyframes socialGlow {
    0%, 100% {
        box-shadow: 
            0 0 5px var(--primary-color),
            0 0 10px var(--primary-color),
            0 0 20px var(--secondary-color);
    }
    50% {
        box-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 30px var(--secondary-color);
    }
}

@keyframes shine {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.social-button:hover {
    transform: translateY(-5px) scale(1.1);
    animation: socialGlowHover 1.5s infinite;
}

@keyframes socialGlowHover {
    0%, 100% {
        box-shadow: 
            0 0 15px var(--primary-color),
            0 0 30px var(--primary-color),
            0 0 45px var(--secondary-color);
    }
    50% {
        box-shadow: 
            0 0 20px var(--primary-color),
            0 0 40px var(--primary-color),
            0 0 60px var(--secondary-color);
    }
}

.social-button:hover i {
    transform: scale(1.2);
    background: linear-gradient(45deg, #ffffff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive tasarım için medya sorguları */
@media (max-width: 768px) {
    .social-button {
        width: 45px;
        height: 45px;
    }
    
    .social-button i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .social-button {
        width: 40px;
        height: 40px;
    }
    
    .social-button i {
        font-size: 18px;
    }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .casino-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .casino-card {
        min-height: 320px;
        padding: 20px;
    }
    
    .casino-logo {
        width: 160px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .casino-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 15px 0;
    }
    
    .casino-card {
        min-height: 300px;
        padding: 20px;
    }

    .casino-logo {
        width: 150px;
        height: 90px;
    }

    .casino-section:first-of-type .casino-logo {
        width: 170px;
        height: 110px;
    }

    .casino-name {
        font-size: 1.2em;
    }
    
    .casino-promotion {
        font-size: 1em;
    }

    .section-title {
        font-size: 1.8em;
    }

    .casino-button {
        padding: 10px 18px;
        font-size: 0.9em;
    }
}

@media (max-width: 600px) {
    .casino-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }
    
    .casino-card {
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .casino-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px 0;
    }
    
    .casino-card {
        min-height: 300px;
        padding: 20px 15px;
    }

    .casino-logo {
        width: 140px;
        height: 80px;
    }
    
    .casino-section:first-of-type .casino-logo {
        width: 160px;
        height: 100px;
    }

    .casino-name {
        font-size: 1.1em;
    }
    
    .casino-promotion {
        font-size: 0.95em;
    }

    .header {
        margin-bottom: 20px;
        padding: 15px 10px;
    }

    .logo img {
        max-width: 150px;
    }

    .site-description {
        font-size: 1em;
    }
    
    .section-title {
        font-size: 1.6em;
    }

    .casino-button {
        padding: 8px 16px;
        font-size: 0.85em;
    }

    /* Normal Casino Mobil Düzeni */
    .casino-section:nth-of-type(2) .casino-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .casino-section:nth-of-type(2) .casino-card {
        min-height: auto;
        padding: 10px 8px;
    }
    
    .casino-section:nth-of-type(2) .casino-logo {
        width: 80px;
        height: 55px;
        margin-bottom: 5px;
    }
    
    .casino-section:nth-of-type(2) .casino-name {
        font-size: 0.8em;
        margin-bottom: 8px;
        line-height: 1.1;
    }
    
    .casino-section:nth-of-type(2) .casino-button {
        padding: 6px 12px;
        font-size: 0.75em;
    }
}
/* Reklam Alanları - Ana Stiller */
.left-ads,
.right-ads {
    position: fixed;
    top: 0;
    width: 220px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 15px;
}

.left-ads {
    left: 0;
}

.right-ads {
    right: 0;
}

/* Reklam Kartı Stili */
.ad-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 15px; /* Padding arttırıldı */
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    height: calc(100vh - 30px);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Değiştirildi: flex-start -> center */
    align-items: center; /* Eklendi */
    gap: 25px; /* Eklendi: İçerikler arası boşluk */
}

.ad-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 40px rgba(91, 83, 210, 0.2);
}

/* Logo ve İçerik Stilleri */
.ad-logo {
    width: 160px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.ad-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    animation: blink 1s infinite;
}

.ad-description {
    font-size: 20px;
    font-weight: bold;
    color: #FFD700;
    margin: 5px 0;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Alt Reklam Alanı */
.bottom-ads {
    position: fixed;
    bottom: 0;
    left: 220px;
    right: 220px;
    background: transparent;
    z-index: 999;
    padding: 10px 0;
}

.bottom-ad-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Değiştirildi: stretch -> center */
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Alt Kart Tasarımı */
.bottom-ad-container .ad-item {
    height: auto;
    width: 100%;
    max-width: 800px; /* Eklendi: Maksimum genişlik */
    margin: 0 auto; /* Eklendi: Yatayda ortalama */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; /* Değiştirildi: space-between -> center */
    padding: 20px 30px;
    min-height: 80px;
    gap: 20px;
}

/* Logo Alanı */
.bottom-ad-container .ad-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin: 0;
    flex-shrink: 0;
}

/* İçerik Alanı */
.bottom-ad-container .ad-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Eklendi: İçeriği ortala */
    gap: 5px;
    flex: 1;
    max-width: 300px;
    text-align: center; /* Eklendi: Metinleri ortala */
}

.bottom-ad-container .ad-name {
    margin: 0;
    font-size: 16px;
    text-align: center; /* Değiştirildi: left -> center */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.bottom-ad-container .ad-description {
    margin: 0;
    font-size: 20px;
    text-align: center; /* Değiştirildi: left -> center */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}


/* Buton Stili */
.casino-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.casino-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.5);
}

/* Kapatma Butonu */
.ad-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 68, 68, 0.9);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ad-close:hover {
    background: #ff4444;
    transform: scale(1.1);
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .left-ads,
    .right-ads {
        width: 180px;
    }
    
    .bottom-ads {
        left: 180px;
        right: 180px;
    }
    
    .bottom-ad-container .ad-logo {
        width: 100px;
    }
}

@media (max-width: 992px) {
    .left-ads,
    .right-ads {
        display: none;
    }
    
    .bottom-ads {
        left: 0;
        right: 0;
    }
    
    .bottom-ad-container {
        flex-direction: column;
    }
    
    .bottom-ad-container .ad-item {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .bottom-ad-container .ad-item {
        padding: 8px 12px;
    }
    
    .bottom-ad-container .casino-button {
        padding: 6px 16px;
        font-size: 0.8em;
    }
    
    .bottom-ad-container .ad-logo {
        width: 80px;
        height: 40px;
    }
    
    .bottom-ad-container .ad-name {
        font-size: 14px;
    }
    
    .bottom-ad-container .ad-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .bottom-ad-container {
        padding: 5px;
    }
    
    .bottom-ad-container .ad-item {
        padding: 8px;
        gap: 8px;
    }
    
    .bottom-ad-container .ad-logo {
        width: 60px;
        height: 30px;
    }
    
    .bottom-ad-container .casino-button {
        padding: 5px 12px;
        font-size: 0.75em;
    }
}

@keyframes dividerGlow {
    0% {
        box-shadow: 0 0 5px gold,
                   0 0 10px gold;
        opacity: 0.5;
    }
    50% {
        box-shadow: 0 0 15px gold,
                   0 0 25px gold;
        opacity: 1;
    }
    100% {
        box-shadow: 0 0 5px gold,
                   0 0 10px gold;
        opacity: 0.5;
    }
}

.section-divider {
    width: 100%;
    max-width: 1100px;
    margin: 30px auto;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        gold,
        transparent
    );
    position: relative;
    animation: dividerGlow 2s infinite;
}

footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 0;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    animation: footerBorderGlow 3s infinite;
}

@keyframes footerBorderGlow {
    0%, 100% {
        box-shadow: 
            0 0 5px var(--primary-color),
            0 0 10px var(--primary-color),
            0 0 15px var(--secondary-color),
            0 4px 30px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 30px var(--secondary-color),
            0 0 40px var(--secondary-color),
            0 4px 30px rgba(0, 0, 0, 0.1);
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    animation: logoGlow 3s infinite;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(45deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-middle {
    flex: 1;
    text-align: center;
    max-width: 500px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.5;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.designer-credit {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.designer-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.designer-link:hover {
    text-shadow: 0 0 10px var(--secondary-color);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-left {
        flex-direction: column;
    }

    .footer-right {
        align-items: center;
    }

    .footer-middle {
        margin: 15px 0;
    }
}
/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    position: relative;
    width: 100px;
    height: 100px;
}

.loader .inner {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
}

.loader .inner.one {
    border-top-color: var(--primary-color);
    animation: rotate-one 1s linear infinite;
}

.loader .inner.two {
    border-right-color: var(--secondary-color);
    animation: rotate-two 1s linear infinite;
}

.loader .inner.three {
    border-bottom-color: #FFD700;
    animation: rotate-three 1s linear infinite;
}

@keyframes rotate-one {
    0% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg); }
    100% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg); }
}

@keyframes rotate-two {
    0% { transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg); }
    100% { transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg); }
}

@keyframes rotate-three {
    0% { transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg); }
    100% { transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg); }
}

/* Navigation Styles */
.main-navigation {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative !important;
    overflow: visible !important;
    z-index: 1000 !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    max-width: 100%;
    overflow: visible !important;
    position: relative !important;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid transparent;
    flex-shrink: 1;
    min-width: 0;
    white-space: nowrap;
}

.nav-btn span {
    display: inline-block;
}

.nav-btn:hover,
.nav-btn.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 83, 210, 0.3);
}

.nav-btn i {
    font-size: 16px;
}

/* Auth Buttons */
.auth-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    margin-left: auto;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: glowPulse 2s infinite;
}

.login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--secondary-color);
}

/* User Profile */
.user-profile {
    position: relative !important;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

.user-name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.user-dropdown {
    position: absolute !important;
    top: calc(100% + 5px) !important;
    right: 0 !important;
    background: rgba(30, 30, 30, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 12px !important;
    padding: 12px 0 !important;
    min-width: 180px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    z-index: 99999 !important;
    display: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
    margin-top: 5px;
}

.user-dropdown.show,
.user-dropdown[style*="block"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.user-dropdown a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 15px 20px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    margin: 2px 8px !important;
}

.user-dropdown a:hover {
    background: rgba(255, 68, 68, 0.3) !important;
    color: #ff4444 !important;
    transform: translateX(3px) !important;
}

.user-dropdown a i {
    font-size: 14px !important;
    width: 16px !important;
    text-align: center !important;
}

/* Standart Auth Modal Styles - Tüm Sayfalar İçin */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(26, 35, 126, 0.15));
    backdrop-filter: blur(20px);
    margin: 0;
    padding: 0;
    border-radius: 25px;
    width: 95%;
    max-width: 500px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Perfect Center Alignment */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Max height with scroll */
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-header {
    text-align: center;
    padding: 40px 35px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 105, 180, 0.05), transparent);
    border-radius: 25px 25px 0 0;
}

.modal-header h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px;
    background: linear-gradient(45deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    position: relative;
    z-index: 1;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
}

.close:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.auth-container {
    padding: 35px;
    text-align: center;
}

.auth-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 50px 20px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.auth-loading p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(45deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-code-display {
    max-width: 100%;
    margin: 0 auto;
}

.auth-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-step::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(91, 83, 210, 0.05), transparent);
    transform: rotate(45deg);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.auth-step:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(91, 83, 210, 0.25);
}

.step-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(91, 83, 210, 0.4);
    animation: glowPulse 2.5s infinite;
    position: relative;
    z-index: 1;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(91, 83, 210, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(91, 83, 210, 0.7);
    }
}

.step-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    margin: 0 0 15px 0;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-content p {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
}

.auth-code {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 3px solid var(--primary-color);
    border-radius: 18px;
    padding: 22px;
    margin: 18px 0;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(91, 83, 210, 0.3);
}

.auth-code::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(91, 83, 210, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.auth-code span {
    font-family: 'Courier New', monospace;
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary-color);
    letter-spacing: 5px;
    flex: 1;
    text-shadow: 0 0 15px var(--secondary-color);
    position: relative;
    z-index: 1;
    text-align: center;
}

.copy-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    position: relative;
    z-index: 1;
    animation: glowPulse 2.5s infinite;
    box-shadow: 0 5px 15px rgba(91, 83, 210, 0.4);
}

.copy-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 25px var(--secondary-color);
    animation: none;
}

.copy-btn.copied {
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    animation: none;
}

.copy-btn i {
    font-size: 18px;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #0088cc, #00acc1);
    color: white;
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 18px;
    margin-top: 18px;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
    animation: glowPulse 2.5s infinite;
    position: relative;
    overflow: hidden;
}

.telegram-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.telegram-btn:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.telegram-btn:hover {
    background: linear-gradient(45deg, #006699, #00838f);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 136, 204, 0.6);
    color: white;
    animation: none;
}

.telegram-btn i {
    font-size: 20px;
}

.auth-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
}

.countdown {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ff4444;
    font-weight: 700;
    font-size: 20px;
    text-shadow: 0 0 15px #ff4444;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.countdown i {
    font-size: 22px;
}

.new-code-btn {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}

.new-code-btn:hover {
    background: linear-gradient(45deg, #495057, #343a40);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.4);
}

.auth-error {
    background: rgba(255, 68, 68, 0.15);
    color: #ff4444;
    border: 2px solid #ff4444;
    border-radius: 18px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 25px 0;
    backdrop-filter: blur(15px);
    animation: shake 0.6s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.auth-success {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 2px solid #4CAF50;
    border-radius: 18px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 25px 0;
    backdrop-filter: blur(15px);
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}

.auth-error i,
.auth-success i {
    font-size: 26px;
    flex-shrink: 0;
}

.auth-error span,
.auth-success span {
    font-weight: 600;
    font-size: 18px;
}

/* Navigation Responsive - Düzeltme */
@media (max-width: 1200px) {
    .nav-btn span {
        display: none;
    }
    
    .nav-btn {
        min-width: 40px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        overflow: visible !important;
    }
    
    .nav-buttons {
        justify-content: center;
        flex-wrap: wrap;
        order: 2;
    }
    
    .nav-btn span {
        display: inline-block;
    }
    
    .auth-section {
        margin-left: 0;
        align-self: center;
        order: 1;
    }
    
    .user-dropdown {
        right: -10px !important;
        min-width: 160px !important;
    }
}

@media (max-width: 480px) {
    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .nav-btn {
        justify-content: center;
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 25px 20px 20px;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .auth-container {
        padding: 20px;
    }
    
    .auth-step {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .step-number {
        align-self: center;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .step-content h3 {
        font-size: 20px;
    }
    
    .auth-code {
        padding: 18px;
        gap: 12px;
    }
    
    .auth-code span {
        font-size: 24px;
        letter-spacing: 3px;
    }
    
    .copy-btn {
        width: 50px;
        height: 50px;
    }
    
    .auth-status {
        flex-direction: column;
        gap: 15px;
        padding: 18px;
    }
    
    .countdown {
        font-size: 18px;
    }
    
    .telegram-btn {
        padding: 15px 25px;
        font-size: 16px;
    }
}
