/* ════════════════════════════════════════════════════════════════
   HAXSOCCER CLUB — RICH STYLESHEET (Vibrant, Full Content & Modal)
   ════════════════════════════════════════════════════════════════ */

:root {
    --night: #06152e;
    --night-dark: #020916;
    --night-deep: #030b19;
    --surface-1: #0d2345;
    --surface-2: #12315a;
    --surface-3: #173b68;
    
    --cyan: #3fe0d0;
    --cyan-glow: rgba(63, 224, 208, 0.45);
    --blue: #39b8ff;
    --blue-dark: #1977d4;
    --blue-glow: rgba(57, 184, 255, 0.35);
    --gold: #ffc830;
    --gold-light: #ffe39a;
    --gold-glow: rgba(255, 200, 48, 0.4);
    --red: #ff526d;
    --green: #54e3a1;
    --purple: #a15cff;

    --text-main: #f4f8ff;
    --text-muted: #8eabd0;
    --text-dim: #506f99;
    
    --line: rgba(57, 184, 255, 0.25);
    --line-bright: rgba(63, 224, 208, 0.55);

    --font-main: 'Poppins', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--night-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--cyan);
    background: rgba(63, 224, 208, 0.12);
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid rgba(63, 224, 208, 0.35);
    margin-bottom: 16px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(63, 224, 208, 0.15);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto;
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(2, 9, 22, 0.95) 0%, rgba(2, 9, 22, 0) 100%);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(6, 21, 46, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-bright);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    font-size: 1.6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-hax { color: var(--cyan); text-shadow: 0 0 15px var(--cyan-glow); }
.logo-soccer { color: var(--text-main); }
.logo-club { 
    color: var(--gold); 
    font-size: 0.85rem;
    background: rgba(255, 200, 48, 0.18);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 200, 48, 0.45);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--cyan);
    text-shadow: 0 0 12px var(--cyan-glow);
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold) 0%, #e6a800 100%);
    color: #000 !important;
    font-weight: 800 !important;
    padding: 10px 22px;
    border-radius: 6px;
    clip-path: polygon(0 0, 90% 0, 100% 30%, 100% 100%, 10% 100%, 0 70%);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 15px var(--gold-glow);
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--gold-glow);
}

.nav-hamburger {
    display: none;
    background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 6px;
}

.nav-hamburger span {
    display: block; width: 26px; height: 3px;
    background: var(--text-main); border-radius: 3px;
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 150px 24px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
}

.hero-grid {
    position: absolute; inset: 0;
    background-image: 
        linear-gradient(rgba(57, 184, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 184, 255, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}

.hero-glow {
    position: absolute; border-radius: 50%; filter: blur(120px);
}
.hero-glow-1 { width: 550px; height: 550px; background: var(--cyan-glow); top: -100px; left: 50%; transform: translateX(-50%); }
.hero-glow-2 { width: 450px; height: 450px; background: var(--blue-glow); bottom: -100px; right: 10%; }
.hero-glow-3 { width: 350px; height: 350px; background: var(--gold-glow); top: 30%; left: 5%; }

.hero-content {
    position: relative; z-index: 2; max-width: 880px; margin: 0 auto;
}

.hero-badge {
    display: inline-block; font-size: 0.85rem; font-weight: 700;
    color: var(--gold); background: rgba(255, 200, 48, 0.14);
    border: 1px solid rgba(255, 200, 48, 0.45); padding: 8px 22px;
    border-radius: 30px; margin-bottom: 24px; letter-spacing: 2px;
    box-shadow: 0 0 20px var(--gold-glow);
}

.hero-title {
    font-size: 4.8rem; font-weight: 900; line-height: 1;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px;
}
.title-hax { color: var(--cyan); text-shadow: 0 0 35px var(--cyan-glow); }
.title-soccer { color: var(--text-main); }
.title-club { color: var(--gold); text-shadow: 0 0 35px var(--gold-glow); }

.hero-subtitle {
    font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px;
    max-width: 750px; margin-left: auto; margin-right: auto;
}

.hero-actions {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; margin-bottom: 50px;
}

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 1rem; font-weight: 700; padding: 16px 36px;
    text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #e6a800 100%);
    color: #000; clip-path: polygon(0 0, 92% 0, 100% 30%, 100% 100%, 8% 100%, 0 70%);
    box-shadow: 0 0 30px var(--gold-glow); border: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 45px var(--gold-glow); }
.btn-ghost {
    background: rgba(18, 49, 90, 0.6); border: 1px solid var(--line);
    color: var(--text-main); clip-path: polygon(0 0, 92% 0, 100% 30%, 100% 100%, 8% 100%, 0 70%);
}
.btn-block { width: 100%; justify-content: center; }

.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 32px;
    background: rgba(13, 35, 69, 0.7); backdrop-filter: blur(14px);
    border: 1px solid var(--line-bright); padding: 20px 40px; border-radius: 16px; margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.stat-number { font-size: 2.3rem; font-weight: 900; color: var(--cyan); text-shadow: 0 0 15px var(--cyan-glow); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; }
.stat-divider { width: 1px; height: 36px; background: var(--line); }

.hero-screenshot {
    position: relative; z-index: 2; width: 100%; max-width: 980px; margin: 0 auto;
}
.screenshot-frame {
    position: relative; border-radius: 16px; overflow: hidden;
    border: 2px solid var(--line-bright);
    box-shadow: 0 20px 60px rgba(0,0,0,0.85), 0 0 45px var(--cyan-glow);
    background: var(--surface-1);
}

/* ABOUT SECTION */
.about {
    padding: 110px 0;
    background: var(--night);
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.about-card {
    background: rgba(18, 49, 90, 0.45);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px 24px;
    transition: var(--transition);
}
.about-card:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px var(--cyan-glow);
}
.about-card.highlight-card {
    background: linear-gradient(135deg, rgba(18, 49, 90, 0.7) 0%, rgba(63, 224, 208, 0.15) 100%);
    border-color: var(--cyan);
}
.about-icon { font-size: 2.5rem; margin-bottom: 16px; }
.about-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; color: var(--text-main); }
.about-card p { font-size: 0.92rem; color: var(--text-muted); }
.about-card code { background: rgba(0,0,0,0.4); padding: 2px 6px; border-radius: 4px; color: var(--cyan); }

/* CAROUSEL SCREENSHOTS */
.screenshots {
    padding: 100px 0; position: relative; background: var(--night-dark); overflow: hidden;
}
.screenshots-carousel { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.carousel-track { display: flex; gap: 24px; transition: transform 0.5s ease-in-out; }
.carousel-slide { flex: 0 0 85%; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-bright); }
.carousel-slide img { width: 100%; display: block; }
.slide-caption {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 24px;
    background: linear-gradient(to top, rgba(2, 9, 22, 0.95) 0%, rgba(2, 9, 22, 0) 100%);
    font-weight: 700; font-size: 1.1rem; color: var(--cyan); letter-spacing: 1px;
}
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px; background: rgba(18, 49, 90, 0.85);
    border: 1px solid var(--cyan); color: var(--cyan); font-size: 2rem;
    border-radius: 50%; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.carousel-btn:hover { background: var(--cyan); color: #000; box-shadow: 0 0 20px var(--cyan); }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--surface-3); cursor: pointer; }
.dot.active { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); width: 28px; border-radius: 6px; }

/* LIVE SIMULATOR SECTION */
.live-simulator {
    padding: 110px 0;
    background: var(--night);
}
.simulator-wrapper {
    max-width: 1150px;
    margin: 0 auto;
    background: rgba(13, 35, 69, 0.7);
    border: 1px solid var(--line-bright);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 35px var(--cyan-glow);
}
.simulator-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.sim-btn {
    background: rgba(18, 49, 90, 0.7);
    border: 1px solid var(--line);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.sim-btn:hover, .sim-btn.active {
    background: var(--blue-dark);
    border-color: var(--cyan);
    color: var(--text-main);
    box-shadow: 0 0 15px var(--cyan-glow);
}
.simulator-frame-container {
    width: 100%;
    height: 650px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #000;
}
.simulator-frame-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: opacity 0.3s ease;
}

/* FEATURES SECTION */
.features {
    padding: 120px 0; position: relative;
    background: var(--night-dark);
}
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px;
}
.feature-card {
    background: rgba(18, 49, 90, 0.4); backdrop-filter: blur(10px);
    border: 1px solid var(--line); padding: 36px 30px;
    clip-path: polygon(0 0, 94% 0, 100% 6%, 100% 100%, 6% 100%, 0 94%);
    transition: var(--transition); display: flex; flex-direction: column;
}
.feature-card:hover {
    transform: translateY(-6px); background: rgba(23, 59, 104, 0.7);
    border-color: var(--cyan); box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 25px var(--cyan-glow);
}
.feature-icon-wrap { position: relative; width: 64px; height: 64px; margin-bottom: 20px; }
.feature-icon { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 2; }
.feature-icon-glow { position: absolute; inset: -10px; background: var(--cyan-glow); border-radius: 50%; filter: blur(15px); }
.feature-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; flex-grow: 1; }
.feature-tag {
    font-size: 0.75rem; font-weight: 700; color: var(--gold);
    background: rgba(255, 200, 48, 0.1); border: 1px solid rgba(255, 200, 48, 0.3);
    padding: 4px 12px; border-radius: 4px; align-self: flex-start;
}

/* 29 SAHNE HARİTASI (SCENE MAP) */
.scene-map {
    padding: 100px 0;
    background: var(--night);
}
.scene-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}
.scene-tag-item {
    background: rgba(18, 49, 90, 0.5);
    border: 1px solid var(--line);
    color: var(--cyan);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}
.scene-tag-item:hover {
    background: var(--blue-dark);
    border-color: var(--cyan);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--cyan-glow);
}

/* RANKED LADDER */
.ranked-section { padding: 120px 0; background: linear-gradient(to bottom, var(--night) 0%, var(--night-dark) 100%); }
.rank-ladder { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.rank-item {
    display: flex; align-items: center; gap: 24px; background: rgba(18, 49, 90, 0.4);
    border: 1px solid var(--line); padding: 16px 24px; border-radius: 12px; transition: var(--transition);
}
.rank-item:hover { background: rgba(23, 59, 104, 0.8); transform: translateX(10px); border-color: var(--gold); }
.rank-icon-wrap { font-size: 2rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.rank-info { width: 200px; display: flex; flex-direction: column; }
.rank-name { font-weight: 800; font-size: 1.1rem; text-transform: uppercase; }
.rank-mmr { font-size: 0.85rem; color: var(--text-muted); }
.rank-bar { flex-grow: 1; height: 10px; background: rgba(0, 0, 0, 0.4); border-radius: 5px; overflow: hidden; }
.rank-bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 50%, var(--gold) 100%); }

/* CONTACT CARDS */
.contact-section {
    padding: 100px 0;
    background: var(--night-dark);
}
.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.contact-box {
    background: rgba(13, 35, 69, 0.5);
    border: 1px solid var(--line-bright);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}
.contact-box:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 25px var(--gold-glow);
}
.contact-icon { font-size: 2.8rem; margin-bottom: 16px; }
.contact-box h4 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; color: var(--gold); }
.contact-box p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; }
.contact-link {
    display: inline-block;
    color: var(--cyan);
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(63, 224, 208, 0.1);
    border: 1px solid rgba(63, 224, 208, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    transition: var(--transition);
    cursor: pointer;
}
.contact-link:hover {
    background: var(--cyan);
    color: #000;
}

/* DOWNLOAD SECTION */
.download { position: relative; padding: 120px 0; background: linear-gradient(135deg, #071b38 0%, #030b19 100%); overflow: hidden; text-align: center; }
.download-content h2 { font-size: 3.5rem; font-weight: 900; text-transform: uppercase; margin-bottom: 16px; }
.download-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; }
.download-buttons { display: flex; justify-content: center; gap: 20px; }

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 9, 22, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-card {
    position: relative;
    width: 100%;
    max-width: 540px;
    background: rgba(13, 35, 69, 0.95);
    border: 1px solid var(--cyan);
    box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 40px var(--cyan-glow);
    border-radius: 20px;
    padding: 36px 30px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-card {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 16px; right: 20px;
    background: none; border: none;
    font-size: 2rem; color: var(--text-muted);
    cursor: pointer; transition: var(--transition);
}
.modal-close:hover { color: var(--cyan); }
.modal-header { margin-bottom: 24px; text-align: center; }
.modal-badge {
    font-size: 0.75rem; font-weight: 700; color: var(--gold);
    background: rgba(255, 200, 48, 0.15); padding: 4px 12px;
    border-radius: 12px; letter-spacing: 1px; display: inline-block; margin-bottom: 10px;
}
.modal-header h3 { font-size: 1.6rem; font-weight: 900; margin-bottom: 6px; }
.modal-header p { font-size: 0.9rem; color: var(--text-muted); }

.beta-form .form-group { margin-bottom: 18px; text-align: left; }
.beta-form label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--cyan); margin-bottom: 6px; text-transform: uppercase; }
.beta-form input, .beta-form select, .beta-form textarea {
    width: 100%;
    background: rgba(6, 21, 46, 0.8);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}
.beta-form input:focus, .beta-form select:focus, .beta-form textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 12px var(--cyan-glow);
}

/* TOAST NOTIFICATION */
.toast-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--cyan) 100%);
    color: #000;
    font-weight: 800;
    padding: 16px 32px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 25px var(--cyan);
    z-index: 3000;
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1rem;
    text-align: center;
}
.toast-notification.show {
    top: 30px;
}

/* FOOTER */
.footer { padding: 60px 0 30px; background: var(--night-dark); border-top: 1px solid var(--line); }
.footer-content { display: flex; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 40px; }
.footer-brand p { color: var(--text-muted); margin-top: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { font-size: 1rem; color: var(--text-main); margin-bottom: 6px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-dim); font-size: 0.85rem; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-title { font-size: 3.2rem; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .simulator-frame-container { height: 480px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .carousel-slide { flex: 0 0 100%; }
    .simulator-frame-container { height: 380px; }
}
