/* === JOJOBET 2026 MODERN STYLING === */
/* === RESET & BASE === */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root {
    --primary-gold: #f9a825;
    --primary-gold-dark: #f57f17;
    --primary-navy: #0a1628;
    --secondary-navy: #1a2640;
    --accent-blue: #2196f3;
    --white: #ffffff;
    --gray-light: #e0e0e0;
    --gray-medium: #a8a8a8;
    --gray-dark: #666666;
    --success-green: #4caf50;
    --warning-orange: #ff9800;
    --danger-red: #f44336;
    --card-bg: #0f1e36;
    --shadow-gold: 0 0 20px rgba(249, 168, 37, 0.3);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.5);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 50%, #0d1421 100%);
    color: var(--white);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: 
        radial-gradient(circle at 25% 30%, rgba(249, 168, 37, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 75% 70%, rgba(33, 150, 243, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(249, 168, 37, 0.02) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f9a825' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

p {
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.text-gold { 
    color: var(--primary-gold); 
    text-shadow: 0 0 10px rgba(249, 168, 37, 0.3);
}
.text-center { text-align: center; }
.text-large { font-size: clamp(18px, 2vw, 22px); }
.font-weight-bold { font-weight: 700; }

/* === LAYOUT === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 60px);
}

.section {
    padding: clamp(60px, 10vw, 120px) 0;
}

.grid {
    display: grid;
    gap: clamp(20px, 3vw, 40px);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

.flex {
    display: flex;
    gap: clamp(15px, 3vw, 30px);
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.flex-between {
    justify-content: space-between;
    align-items: center;
}

.flex-wrap { flex-wrap: wrap; }

/* === HEADER === */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--primary-gold);
    padding: 1rem 0;
    box-shadow: var(--shadow-gold);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: var(--white);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

/* Logo hover effects */
.logo:hover {
    text-shadow: var(--shadow-gold);
    transform: scale(1.05);
}

.logo .logo-text { 
    color: var(--primary-gold); 
}

/* === BUTTONS === */
.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 40px);
    font-weight: 700;
    font-size: clamp(14px, 1.2vw, 16px);
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    color: var(--primary-navy);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(249, 168, 37, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #1976d2 100%);
    color: var(--white);
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.4);
}

.btn-large {
    padding: clamp(16px, 3vw, 20px) clamp(32px, 6vw, 50px);
    font-size: clamp(16px, 2vw, 20px);
}

/* === HERO SECTION === */
.hero {
    padding: clamp(80px, 15vw, 160px) 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '🎰';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(80px, 15vw, 150px);
    opacity: 0.08;
    animation: heroFloat 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroFloat {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
    50% { transform: translateX(-50%) translateY(-20px) rotate(5deg); }
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(249, 168, 37, 0.15), rgba(249, 168, 37, 0.05));
    color: var(--primary-gold);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: clamp(12px, 1.5vw, 16px);
    font-weight: 700;
    margin-bottom: 30px;
    border: 1px solid rgba(249, 168, 37, 0.3);
    animation: badgePulse 3s infinite;
    backdrop-filter: blur(10px);
}

@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 0 0 15px rgba(249, 168, 37, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(249, 168, 37, 0.6);
        transform: scale(1.05);
    }
}

.hero h1 {
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero .subtitle {
    font-size: clamp(16px, 2.5vw, 24px);
    color: var(--gray-light);
    max-width: 900px;
    margin: 0 auto 50px;
    font-weight: 500;
    line-height: 1.6;
}

.hero-cta {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    margin-top: 60px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-dark);
}

/* === FEATURES === */
.features {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.feature-card {
    background: var(--card-bg);
    padding: clamp(30px, 5vw, 50px);
    border-radius: var(--border-radius);
    border-top: 4px solid var(--primary-gold);
    transition: var(--transition);
    box-shadow: var(--shadow-dark);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 168, 37, 0.05), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px rgba(249, 168, 37, 0.2);
}

.feature-icon {
    font-size: clamp(40px, 6vw, 60px);
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 0 15px var(--primary-gold));
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.feature-title {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.feature-description {
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--gray-light);
    line-height: 1.7;
}

/* === CONTENT SECTIONS === */
.content-section {
    background: var(--card-bg);
    padding: clamp(40px, 6vw, 60px);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-gold);
    margin-bottom: 40px;
    box-shadow: var(--shadow-dark);
    position: relative;
}

.content-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(249, 168, 37, 0.1), transparent);
    border-radius: 50%;
}

.content-section h2 {
    color: var(--primary-gold);
    margin-bottom: 30px;
}

.content-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    margin-top: 35px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.content-section p {
    color: var(--gray-light);
    text-align: justify;
    margin-bottom: 20px;
}

.content-section ul {
    margin-bottom: 25px;
    padding-left: 25px;
    color: var(--gray-light);
}

.content-section li {
    margin-bottom: 15px;
    line-height: 1.8;
    position: relative;
}

.content-section li::marker {
    color: var(--primary-gold);
}

.content-section strong {
    color: var(--primary-gold);
    font-weight: 700;
}

/* === GAMES SECTION === */
.games-section {
    background: rgba(0, 0, 0, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.section-header .subtitle {
    color: var(--gray-medium);
    font-size: clamp(16px, 2vw, 20px);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
    gap: 25px;
}

.game-card {
    background: var(--card-bg);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    border: 2px solid rgba(249, 168, 37, 0.2);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 168, 37, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    border-color: var(--primary-gold);
    background: var(--secondary-navy);
    transform: scale(1.05) rotateY(5deg);
    box-shadow: var(--shadow-gold);
}

.game-icon {
    font-size: clamp(35px, 5vw, 50px);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(249, 168, 37, 0.5));
}

.game-name {
    font-family: 'Inter', sans-serif;
    font-size: clamp(12px, 1.5vw, 16px);
    color: var(--primary-gold);
    text-align: center;
    padding: 0 15px;
    font-weight: 600;
}

/* === FAQ SECTION === */
.faq-section {
    background: rgba(0, 0, 0, 0.2);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border: 2px solid rgba(249, 168, 37, 0.2);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-gold);
}

.faq-question {
    background: var(--secondary-navy);
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: clamp(16px, 2vw, 18px);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(249, 168, 37, 0.1);
    color: var(--primary-gold);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: bold;
    transition: var(--transition);
}

.faq-question.active::after {
    transform: rotate(45deg);
    color: var(--primary-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer-content {
    padding: 25px;
    color: var(--gray-light);
    line-height: 1.7;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-navy), var(--primary-navy));
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 25px;
}

.cta-content p {
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* === FOOTER === */
.footer {
    background: #050a14;
    padding: clamp(50px, 8vw, 80px) 0 30px;
    border-top: 3px solid var(--primary-gold);
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-nav a {
    color: var(--gray-medium);
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.footer-copyright {
    margin-top: 40px;
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.6;
}

.footer-social {
    margin-top: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-gold);
    transition: var(--transition);
    border: 2px solid rgba(249, 168, 37, 0.2);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-gold);
    border-color: var(--primary-gold);
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-blue));
    transform-origin: left;
    transform: scaleX(0);
    z-index: 9999;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    /* Header kompakt hale getir */
    .header {
        padding: 0.5rem 0; /* 1rem'den 0.5rem'e düşürdük */
    }
    
    .nav {
        justify-content: center;
        text-align: center;
        gap: 0.5rem; /* Gap'i azalttık */
    }
    
    /* Logo mobilde küçült */
    .logo {
        font-size: clamp(24px, 3.5vw, 32px); /* Text logo boyutu */
    }

    .btn-group {
        justify-content: center;
        width: 100%;
        gap: 10px; /* 15px'den 10px'e düşürdük */
    }
    
    /* Butonları mobilde küçült */
    .btn {
        padding: 10px 20px; /* Daha küçük padding */
        font-size: 14px; /* Font boyutunu sabitle */
        border-radius: 8px; /* Border radius küçült */
    }
    
    /* Hero section padding'ini azalt */
    .hero {
        padding: clamp(50px, 10vw, 80px) 0; /* 80px'den 50px'e başlangıç */
    }
    
    /* Hero badge küçült */
    .hero-badge {
        padding: 8px 20px; /* 12px 30px'den küçülttük */
        margin-bottom: 20px; /* 30px'den 20px'e */
        font-size: 12px; /* Sabit küçük font */
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        margin-top: 25px; /* 40px'den 25px'e */
        gap: 15px; /* 20px'den 15px'e */
    }

    .flex {
        flex-direction: column;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }

    .social-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Çok küçük ekranlarda header daha da kompakt */
    .header {
        padding: 0.3rem 0; /* Daha da küçük padding */
    }
    
    .nav {
        gap: 0.3rem;
    }
    
    /* Logo daha küçük */
    .logo {
        font-size: clamp(20px, 3vw, 28px); /* Daha küçük text logo */
    }
    
    /* Butonlar full width ama daha küçük */
    .btn {
        width: 100%;
        justify-content: center;
        padding: 8px 16px; /* Daha küçük padding */
        font-size: 13px; /* Daha küçük font */
    }
    
    .btn-group {
        gap: 8px; /* Daha az gap */
    }
    
    /* Hero daha kompakt */
    .hero {
        padding: 40px 0 30px; /* Daha az padding */
    }
    
    .hero-badge {
        padding: 6px 15px;
        margin-bottom: 15px;
        font-size: 11px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-question {
        padding: 20px;
        font-size: 16px;
    }

    .faq-answer-content {
        padding: 20px;
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* === ADDITIONAL ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* === LOADING STATES === */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 168, 37, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* === PERFORMANCE OPTIMIZATIONS === */
.lazyload {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazyloaded {
    opacity: 1;
}

img {
    max-width: 100%;
    height: auto;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-navy);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-dark);
}

/* === PRINT STYLES === */
@media print {
    .header, .footer, .btn, .hero-cta, .games-section, .faq-section {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .content-section {
        background: white !important;
        border: 1px solid black;
        margin-bottom: 20px;
    }
}