* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0d0d0d;
    --bg2: #111111;
    --bg3: #1a1a1a;
    --accent: #c41e1e;
    --accent2: #e53935;
    --white: #fff;
    --gray: #888;
    --gray2: #555;
    --border: #222;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--white);
    line-height: 1.6;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.text-white { color: var(--white); }
.text-accent { color: var(--accent); }

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}

.logo { flex-shrink: 0; }

.logo img,
.header-logo {
    height: 22px;
    filter: drop-shadow(0 0 15px rgba(196, 30, 30, 0.5));
    margin-top: 8px;
}

.nav {
    display: flex;
    gap: 35px;
    position: absolute;
    left: 45%;
    transform: translateX(-50%);
}

.nav a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav a:hover { color: var(--white); }

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-social {
    width: 40px;
    height: 40px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.3s;
}

.header-social svg { width: 18px; height: 18px; }
.header-social:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.header-btn {
    background: var(--accent);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 0 25px rgba(196, 30, 30, 0.4);
}

.header-btn:hover {
    background: var(--accent2);
    box-shadow: 0 0 35px rgba(196, 30, 30, 0.6);
}

.header-btn-outline {
    color: var(--white);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid var(--accent);
}

.header-btn-outline:hover {
    background: var(--accent);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 80% at 70% 50%, rgba(196, 30, 30, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.hero-title .text-accent {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 35px;
    max-width: 450px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 45px;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), #a01515);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 0 30px rgba(196, 30, 30, 0.4);
}

.btn-main svg { width: 20px; height: 20px; }

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(196, 30, 30, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 10px;
    border: 2px solid var(--border);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(196, 30, 30, 0.1);
}

.hero-stats {
    display: flex;
    gap: 35px;
}

.hero-stat {
    padding-left: 15px;
    border-left: 3px solid var(--accent);
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Glitch shadow effect */
.hero-glitch {
    position: absolute;
    z-index: 0;
}

.hero-glitch .glitch-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    opacity: 0.4;
    filter: hue-rotate(-10deg) saturate(2) brightness(0.8);
    transform: translate(15px, 8px) scale(1.02);
}

/* Subtle glow behind */
.hero-right::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(196, 30, 30, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 40px rgba(196, 30, 30, 0.3));
    animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray2);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gray2);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}


/* Explore / Slider */
.explore {
    padding: 80px 0;
    background: var(--bg2);
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 12px;
}

.section-title.left { text-align: left; }

.section-desc {
    color: var(--gray);
    text-align: center;
    margin-bottom: 45px;
    font-size: 15px;
}

.slider-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    position: relative;
}

.slider-side {
    width: 140px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.5;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.slider-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.slider-side:hover {
    opacity: 0.7;
    border-color: var(--border);
}

.slider-main {
    width: 650px;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.slider-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
    pointer-events: none;
}

.slider-arrow {
    position: absolute;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.8);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.slider-arrow.prev {
    left: 50%;
    margin-left: -355px;
}

.slider-arrow.next {
    right: 50%;
    margin-right: -355px;
}

.slider-arrow svg { width: 24px; height: 24px; }
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray2);
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover { background: var(--gray); }
.dot.active { background: var(--accent); box-shadow: 0 0 10px rgba(196, 30, 30, 0.5); }

.explore-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 14px 35px;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s;
}

.explore-btn:hover {
    background: var(--accent);
    box-shadow: 0 0 25px rgba(196, 30, 30, 0.4);
}

/* Donate */
.donate {
    padding: 80px 0;
    background: var(--bg);
}

.donate-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

.donate-text {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.7;
}

.donate-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 14px;
}

.benefit svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}

.donate-rate {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(196, 30, 30, 0.1);
    border: 1px solid rgba(196, 30, 30, 0.3);
    border-radius: 8px;
}

.rate-label { color: var(--gray); font-size: 14px; }
.rate-value { color: var(--accent); font-size: 16px; font-weight: 700; }

.donate-note {
    color: var(--gray2);
    font-size: 12px;
    margin-top: 15px;
    font-style: italic;
}

.id-input-wrap {
    display: flex;
    gap: 10px;
}

.id-input-wrap input {
    flex: 1;
}

.check-id-btn {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 18px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    white-space: nowrap;
}

.check-id-btn:hover {
    border-color: var(--accent);
    background: rgba(196, 30, 30, 0.1);
}

.check-id-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.player-nickname {
    font-size: 13px;
    margin-top: 8px;
}

.player-nickname:empty {
    display: none;
}

.player-nickname.success {
    color: #4caf50;
}

.player-nickname.error {
    color: #f44336;
}

.player-input-wrap {
    display: flex;
    gap: 8px;
    position: relative;
}

.player-input-wrap input {
    flex: 1;
}

.player-display {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4caf50 !important;
    color: #4caf50;
    cursor: default;
}

.change-player-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.change-player-btn:hover {
    color: #f44336;
}

.donate-form-wrap {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--white);
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group input::placeholder { color: var(--gray2); }

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.amount-buttons button {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.amount-buttons button:hover { border-color: var(--accent); }
.amount-buttons button.active { background: var(--accent); border-color: var(--accent); }

.form-result {
    background: rgba(196, 30, 30, 0.1);
    border: 1px solid rgba(196, 30, 30, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 18px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-row span:first-child { color: var(--gray); font-size: 14px; }
.result-value { font-size: 24px; font-weight: 800; color: var(--accent); }

.btn-pay {
    width: 100%;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    padding: 14px;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    box-shadow: 0 0 20px rgba(196, 30, 30, 0.3);
}

.btn-pay:hover {
    background: var(--accent2);
    box-shadow: 0 0 30px rgba(196, 30, 30, 0.5);
}

/* News */
.news {
    padding: 80px 0;
    background: var(--bg2);
}

.news .section-title {
    margin-bottom: 35px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card {
    display: block;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-3px);
}

.news-img {
    aspect-ratio: 16/10;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.news-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-content h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.news-date {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
}

/* Download */
.download {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
    text-align: center;
}

.download .section-title {
    margin-bottom: 12px;
}

.download .section-desc {
    margin-bottom: 35px;
}

.download-btn-center {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 0 35px rgba(196, 30, 30, 0.4);
}

.download-btn-center svg {
    width: 24px;
    height: 24px;
}

.download-btn-center:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(196, 30, 30, 0.5);
}


/* Footer */
.footer {
    padding: 50px 0 30px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 25px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    height: 20px;
    width: fit-content;
    filter: drop-shadow(0 0 15px rgba(196, 30, 30, 0.5));
}

.footer-desc {
    color: var(--gray);
    font-size: 13px;
    max-width: 250px;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.3s;
}

.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.footer-center h4,
.footer-right-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--gray);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-nav a:hover { color: var(--white); }

.footer-right-col {
    text-align: right;
}

.footer-play-text {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 15px;
}

.footer-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.footer-btn:hover {
    background: var(--accent2);
    box-shadow: 0 0 20px rgba(196, 30, 30, 0.4);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom span {
    color: var(--gray);
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
}

.footer-bottom .disclaimer {
    color: var(--gray2);
    font-size: 10px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Snow */
.snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(110vh);
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .slider-side { display: none; }
    .slider-main { width: 100%; max-width: 650px; }
}

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 52px; }
    .hero-desc { margin: 0 auto 35px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-right { display: none; }
    .donate-wrapper { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 25px; text-align: center; }
    .footer-brand { flex-direction: column; }
    .footer-brand p { max-width: 100%; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .hero-title { font-size: 40px; }
    .hero-stats { flex-direction: column; gap: 15px; align-items: center; }
    .hero-stat { border-left: none; padding-left: 0; border-bottom: 2px solid var(--accent); padding-bottom: 10px; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .amount-buttons { grid-template-columns: repeat(2, 1fr); }
    .footer-nav { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .slider-main { width: 100%; }
    .download-btn-center { padding: 16px 30px; font-size: 14px; }
    .cookie { left: 15px; right: 15px; }
}

@media (max-width: 500px) {
    .news-grid { grid-template-columns: 1fr; }
}