/* =========================================================
   SMM PvP — Buz & Kristal Tema
   ========================================================= */

:root {
    --bg-void: #020617;
    --bg-deep: #050b1a;
    --bg-panel: #0a1428;
    --bg-panel-alt: #0c1930;

    --ice-1: #00d2ff;
    --ice-2: #0088ff;
    --cyan: #7ee8ff;
    --crystal-white: #eaf6ff;

    --text-primary: #eef5ff;
    --text-muted: #93a6c2;
    --text-faint: #5c6f8f;

    --border-glass: rgba(0, 210, 255, 0.16);
    --glass-bg: rgba(10, 20, 40, 0.55);

    --radius-md: 14px;
    --radius-lg: 22px;

    --font-display: 'Orbitron', 'Rajdhani', sans-serif;
    --font-body: 'Rajdhani', 'Segoe UI', sans-serif;

    --shadow-glow-sm: 0 0 18px rgba(0, 210, 255, 0.25);
    --shadow-glow-md: 0 0 40px rgba(0, 136, 255, 0.25);
    --transition: 0.25s cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, #0a1e3d 0%, var(--bg-void) 55%), var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ice-1);
    color: #001522;
    padding: 10px 16px;
    z-index: 999;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--crystal-white);
    letter-spacing: 0.02em;
    margin: 0;
}

.accent { color: var(--ice-1); }

.accent-gradient {
    background: linear-gradient(90deg, var(--ice-1), var(--cyan) 50%, var(--ice-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ice-1);
    margin-bottom: 10px;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    padding: 14px 28px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--ice-1), var(--ice-2));
    color: #001222;
    box-shadow: var(--shadow-glow-sm), 0 8px 24px rgba(0, 136, 255, 0.35);
}
.btn-primary:hover { box-shadow: var(--shadow-glow-md), 0 10px 30px rgba(0, 136, 255, 0.45); }
.btn-primary.copied { background: linear-gradient(135deg, #22e39a, #0fb87c); }

.btn-discord {
    background: rgba(88, 101, 242, 0.14);
    border-color: rgba(88, 101, 242, 0.5);
    color: #b7bcff;
}
.btn-discord:hover {
    background: rgba(88, 101, 242, 0.28);
    box-shadow: 0 0 24px rgba(88, 101, 242, 0.35);
}
.btn-discord.btn-glow { animation: discord-pulse 2.4s ease-in-out infinite; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

@keyframes discord-pulse {
    0%, 100% { box-shadow: 0 0 0 rgba(88, 101, 242, 0); }
    50% { box-shadow: 0 0 28px rgba(88, 101, 242, 0.55); }
}

/* =====================================================
   Header
   ===================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--border-glass);
}
.site-header .container {
    max-width: 1400px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 6px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.brand-logo {
    width: 104px;
    height: 104px;
    margin-block: -30px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.55));
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2px;
    margin: 0;
    padding: 0;
}
.main-nav a {
    display: block;
    padding: 10px 13px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-muted);
    border-radius: 10px;
    white-space: nowrap;
    transition: color var(--transition), background var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--crystal-white);
    background: rgba(0, 210, 255, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ip-widget {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--border-glass);
    padding: 6px 11px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}
.ip-widget-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-faint);
    flex-shrink: 0;
    box-shadow: 0 0 6px currentColor;
}
.ip-widget-dot.online { background: #22e39a; color: #22e39a; animation: dot-pulse 1.6s ease-in-out infinite; }

@keyframes dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ip-widget-status {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #22e39a;
    white-space: nowrap;
}

.ip-widget-divider {
    width: 1px;
    height: 18px;
    background: var(--border-glass);
    flex-shrink: 0;
}

.ip-widget-row { display: flex; align-items: center; gap: 6px; }
.ip-widget-tag {
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-faint);
    white-space: nowrap;
}
.ip-widget-ip { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; color: var(--crystal-white); white-space: nowrap; }

.ip-widget-copy {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    color: var(--ice-1);
    cursor: pointer;
    font-size: 0.65rem;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition);
}
.ip-widget-copy:hover { background: rgba(0, 210, 255, 0.24); }
.ip-widget-copy.copied { color: #22e39a; transform: scale(1.08); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin-inline: auto;
    background: var(--crystal-white);
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   Hero
   ===================================================== */
.hero {
    position: relative;
    min-height: 100svh;
    padding-block: 110px 90px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background-image: linear-gradient(180deg, rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.55) 45%, rgba(2, 6, 23, 0.9)), url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-inner { width: 100%; }
.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
}
.hero-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
}
.hero-glow-left { background: var(--ice-2); top: -120px; left: -160px; }
.hero-glow-right { background: var(--ice-1); bottom: -160px; right: -160px; }

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid var(--border-glass);
    color: var(--ice-1);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--crystal-white);
    text-shadow: 0 0 40px rgba(0, 210, 255, 0.25);
    max-width: 900px;
}

.hero-subtitle {
    max-width: 640px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 10px;
}

/* =====================================================
   Sections (generic)
   ===================================================== */
.section { padding-block: 90px; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(0, 136, 255, 0.04) 40%, transparent); }

.section-heading { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-top: 6px; }
.section-desc { color: var(--text-muted); margin-top: 12px; font-size: 1.05rem; }

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}
.about-text p { color: var(--text-muted); font-size: 1.05rem; margin-top: 16px; }
.about-visual { position: relative; height: 320px; }
.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glow-md), inset 0 0 60px rgba(0, 210, 255, 0.08);
    transform: rotate(-3deg);
    transition: transform var(--transition);
}
.about-image:hover { transform: rotate(0deg); }

/* =====================================================
   Feature Cards
   ===================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}
.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 0%, rgba(0, 210, 255, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 210, 255, 0.45);
    box-shadow: var(--shadow-glow-sm);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.18), rgba(0, 136, 255, 0.06));
    border: 1px solid var(--border-glass);
    color: var(--ice-1);
    font-size: 1.3rem;
    margin-bottom: 18px;
}
.feature-title { font-size: 1.15rem; margin-bottom: 8px; }
.feature-desc { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

/* =====================================================
   Discord Banner
   ===================================================== */
.discord-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 44px 40px;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, rgba(88, 101, 242, 0.12), rgba(0, 210, 255, 0.06));
    border: 1px solid rgba(88, 101, 242, 0.35);
    overflow: hidden;
}
.discord-banner-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: #5865f2;
    filter: blur(140px);
    opacity: 0.3;
    top: -100px;
    right: -60px;
    pointer-events: none;
}
.discord-banner-icon {
    font-size: 3.4rem;
    color: #8b93ff;
    filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.6));
    flex-shrink: 0;
}
.discord-banner-text { flex: 1; min-width: 220px; }
.discord-banner-text h2 { font-size: 1.5rem; margin-bottom: 6px; }
.discord-banner-text p { color: var(--text-muted); margin: 0; }

/* =====================================================
   Contact
   ===================================================== */
.contact-box {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.contact-box .section-desc { margin-bottom: 26px; }

/* =====================================================
   Mağaza — Coming Soon
   ===================================================== */
.soon-section {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding-block: 60px;
    overflow: hidden;
    isolation: isolate;
}
.soon-inner { display: flex; justify-content: center; }
.soon-card {
    max-width: 640px;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 60px 46px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-glow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.soon-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: var(--ice-1);
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(0, 136, 255, 0.05));
    border: 1px solid var(--border-glass);
    margin-bottom: 4px;
}
.soon-title { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.soon-desc { color: var(--text-muted); font-size: 1.05rem; }
.soon-back {
    margin-top: 8px;
    color: var(--text-faint);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition);
}
.soon-back:hover { color: var(--ice-1); }

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
    border-top: 1px solid var(--border-glass);
    padding-block: 60px 34px;
    background: var(--bg-deep);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
}
.footer-tagline { color: var(--text-muted); max-width: 480px; margin: 0; }
.footer-discord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8b93ff;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(88, 101, 242, 0.35);
    background: rgba(88, 101, 242, 0.08);
    transition: background var(--transition);
}
.footer-discord:hover { background: rgba(88, 101, 242, 0.2); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.footer-nav a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--ice-1); }

.footer-legal { margin-top: 10px; }
.footer-legal p { margin: 4px 0; color: var(--text-faint); font-size: 0.8rem; }
.mojang-disclaimer { max-width: 520px; }

/* =====================================================
   Toast
   ===================================================== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(6, 16, 32, 0.95);
    border: 1px solid var(--border-glass);
    color: var(--crystal-white);
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-glow-sm);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { height: 220px; order: -1; }
}

@media (max-width: 820px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(2, 6, 23, 0.97);
        border-bottom: 1px solid var(--border-glass);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition);
    }
    .main-nav.open { max-height: 400px; }
    .main-nav ul { flex-direction: column; padding: 10px 24px 20px; gap: 4px; }
    .main-nav a { padding: 12px 10px; }
    .nav-toggle { display: flex; }
    .brand-logo { width: 72px; height: 72px; }
}

@media (max-width: 560px) {
    .hero { padding-block: 80px 60px; }
    .ip-widget-status,
    .ip-widget-divider,
    .ip-widget-row { display: none; }
    .discord-banner { padding: 32px 24px; text-align: center; justify-content: center; }
    .soon-card { padding: 40px 24px; }
}
