/* ═══════════════════════════════════════
   WILD ROSE GAMING — Style Sheet
   ═══════════════════════════════════════ */

:root {
    --orange: #FF6A2A;
    --green: #0F3D2E;
    --charcoal: #0A0A0A;
    --white: #F2F2F2;
    --red: #C8102E;
    --orange-glow: rgba(255, 106, 42, .45);
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--charcoal);
    color: var(--white);
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── NAV ─────────────────────────────── */
.main-nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(10,10,10,.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,106,42,.15);
    transition: background .3s;
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: .6rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
    color: var(--orange); text-decoration: none; text-transform: uppercase;
    letter-spacing: .08em;
    text-shadow: 0 0 12px var(--orange-glow);
}
.nav-links {
    list-style: none; display: flex; gap: 2rem;
}
.nav-links a {
    color: var(--white); text-decoration: none; font-family: var(--font-heading);
    font-size: .95rem; letter-spacing: .05em; text-transform: uppercase;
    position: relative; padding-bottom: 4px; transition: color .25s;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--orange); transition: width .3s;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--orange); }
.nav-links a.active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); transition: .3s; }

/* ── BUTTONS ─────────────────────────── */
.btn {
    display: inline-block; padding: .85rem 2rem; border-radius: 6px;
    font-family: var(--font-heading); font-size: 1rem; text-transform: uppercase;
    letter-spacing: .06em; text-decoration: none; cursor: pointer;
    transition: transform .2s, box-shadow .3s, background .3s;
    border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--orange); color: var(--charcoal);
    box-shadow: 0 0 20px var(--orange-glow);
}
.btn-primary:hover { box-shadow: 0 0 35px var(--orange-glow); background: #ff7e47; }
.btn-outline {
    background: transparent; color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: .5rem 1.2rem; font-size: .85rem; }

/* ── HERO ────────────────────────────── */
.hero {
    position: relative; min-height: 100vh; display: flex;
    align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.12); } }

.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(10,10,10,.3) 0%,
        rgba(10,10,10,.6) 50%,
        rgba(10,10,10,.95) 100%
    );
}
.hero-content {
    position: relative; z-index: 2; text-align: center;
}
.hero-logo {
    width: min(320px, 60vw);
    filter: drop-shadow(0 0 30px var(--orange-glow));
    animation: emberPulse 3s ease-in-out infinite;
}
@keyframes emberPulse {
    0%, 100% { filter: drop-shadow(0 0 20px var(--orange-glow)); }
    50%      { filter: drop-shadow(0 0 45px var(--orange-glow)); }
}
.hero-tagline {
    font-family: var(--font-heading); font-size: clamp(1.1rem, 3vw, 1.6rem);
    letter-spacing: .12em; text-transform: uppercase; margin: 1.2rem 0 2rem;
    opacity: .9;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── ABOUT ───────────────────────────── */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--green) 0%, #1a1a1a 50%, rgba(255,106,42,.08) 100%);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-art { display: flex; justify-content: center; }
.ram-silhouette { width: 260px; height: 260px; filter: drop-shadow(0 0 20px rgba(255,106,42,.2)); }
.about-text h2 {
    font-family: var(--font-heading); font-size: 2.4rem; margin-bottom: 1.2rem;
    background: linear-gradient(90deg, var(--orange), var(--red));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-text p { line-height: 1.8; opacity: .88; margin-bottom: 1rem; }

/* ── SECTION TITLES ──────────────────── */
.section-title {
    font-family: var(--font-heading); font-size: 2.4rem; text-align: center;
    margin-bottom: 3rem; text-transform: uppercase; letter-spacing: .08em;
    background: linear-gradient(90deg, var(--orange), var(--red));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── SERVERS ─────────────────────────── */
.servers { padding: 6rem 0; }
.server-categories {
    display: flex; justify-content: center; gap: .8rem; margin-bottom: 2.5rem; flex-wrap: wrap;
}
.cat-btn {
    padding: .5rem 1.4rem; border: 1px solid rgba(255,106,42,.3); border-radius: 30px;
    background: transparent; color: var(--white); font-family: var(--font-body);
    font-size: .85rem; cursor: pointer; transition: .3s;
}
.cat-btn.active, .cat-btn:hover {
    background: var(--orange); color: var(--charcoal); border-color: var(--orange);
}
.server-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.8rem;
}
.server-grid--single {
    grid-template-columns: 1fr; max-width: 550px; margin: 0 auto;
}
.server-card {
    transition: transform .3s, box-shadow .3s;
}
.server-card:hover { transform: translateY(-6px); }
.card-shield {
    background: linear-gradient(145deg, #141414, #1a1a1a);
    border: 2px solid var(--red);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: box-shadow .3s;
}
.server-card:hover .card-shield {
    box-shadow: 0 8px 40px rgba(255,106,42,.2);
    border-color: var(--orange);
}
.card-inner { padding: 2rem; }
.card-inner h3 {
    font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: .6rem;
    color: var(--orange); display: flex; align-items: center; gap: .6rem;
}
.server-icon { width: 32px; height: 32px; border-radius: 4px; }
.card-inner p { font-size: .9rem; opacity: .8; margin-bottom: 1rem; }
.server-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem;
}
.server-game-badge {
    background: rgba(255,106,42,.15); color: var(--orange); padding: .3rem .8rem;
    border-radius: 20px; font-size: .8rem; font-weight: 600;
}
.server-status { font-size: .85rem; font-weight: 600; }
.server-status.online { color: #4ade80; }
.server-status.offline { color: #f87171; }
.server-motd { font-style: italic; opacity: .7; margin-bottom: 1rem; }
.server-meta {
    display: flex; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.2rem;
}
.server-version {
    display: inline-block; background: rgba(255,255,255,.06); color: var(--white);
    padding: .25rem .8rem; border-radius: 20px; font-size: .8rem; opacity: .8;
}
.server-ip {
    font-family: monospace; font-size: 1.05rem; color: var(--white);
    background: rgba(255,255,255,.06); padding: .5rem 1rem; border-radius: 8px;
    text-align: center; margin-bottom: 1rem; letter-spacing: .05em;
}
.btn-copy { width: 100%; text-align: center; }
.player-count {
    display: inline-block; background: rgba(255,106,42,.15); color: var(--orange);
    padding: .25rem .8rem; border-radius: 20px; font-size: .8rem; margin-bottom: 1rem;
}
.card-inner .btn-sm { display: inline-block; margin-top: .5rem; }

/* ── CANADIAN IDENTITY ───────────────── */
.canadian {
    padding: 4rem 0; position: relative; overflow: hidden;
    background: linear-gradient(90deg, var(--red), var(--green));
}
.river-strip {
    position: absolute; top: 50%; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
}
.canadian-inner {
    display: flex; align-items: center; justify-content: center; gap: 2rem; text-align: center;
}
.maple-accent { font-size: 2.5rem; }
.canadian-inner h2 {
    font-family: var(--font-heading); font-size: 2rem; margin-bottom: .6rem;
}
.canadian-inner p { max-width: 500px; opacity: .9; line-height: 1.7; }

/* ── COMMUNITY ───────────────────────── */
.community {
    padding: 6rem 0;
    background: radial-gradient(ellipse at center bottom, rgba(255,106,42,.06), transparent 70%);
}
.community-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem;
}
.comm-card {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,106,42,.12);
    border-radius: 12px; padding: 2rem; text-align: center;
    transition: transform .3s, border-color .3s;
}
.comm-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.comm-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.comm-icon svg { width: 40px; height: 40px; color: var(--orange); }
.comm-card h3 {
    font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: .6rem;
    color: var(--orange);
}
.comm-card p { font-size: .9rem; opacity: .8; line-height: 1.6; margin-bottom: 1rem; }

/* Discord Stats */
.discord-stats {
    display: flex; justify-content: center; gap: 1.2rem; margin-bottom: 1.2rem;
}
.discord-stat {
    display: flex; align-items: center; gap: .4rem; font-size: .9rem; opacity: .85;
}
.dot {
    width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}
.dot.online { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.dot.members { background: var(--orange); box-shadow: 0 0 6px var(--orange-glow); }

/* ── MERCH ───────────────────────────── */
.merch { padding: 6rem 0; }
.merch-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.8rem;
}
.merch-card {
    background:
        linear-gradient(145deg, rgba(60,40,20,.3), rgba(30,20,10,.5)),
        repeating-linear-gradient(90deg, rgba(80,50,20,.06) 0px, rgba(80,50,20,.06) 2px, transparent 2px, transparent 8px);
    border: 1px solid rgba(255,106,42,.15);
    border-radius: 12px; padding: 2rem; text-align: center;
    transition: transform .3s, box-shadow .3s;
}
.merch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255,106,42,.15);
}
.merch-img { font-size: 4rem; margin-bottom: 1rem; }
.merch-card h3 {
    font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: .4rem;
}
.merch-price {
    display: block; color: var(--orange); font-weight: 600;
    font-size: 1.1rem; margin-bottom: 1rem;
}

/* ── CONTACT ─────────────────────────── */
.contact { padding: 6rem 0; }
.contact-form {
    max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem;
}
.contact-form input,
.contact-form textarea {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,106,42,.2);
    border-radius: 8px; padding: 1rem; color: var(--white);
    font-family: var(--font-body); font-size: 1rem;
    transition: border-color .3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none; border-color: var(--orange);
}
.contact-form .btn-primary { align-self: flex-start; }

/* ── FOOTER ──────────────────────────── */
.site-footer {
    position: relative; padding: 4rem 0 2rem;
    background: #050505; border-top: 1px solid rgba(255,106,42,.1);
}
.footer-mountains {
    position: absolute; top: -40px; left: 0; width: 100%; height: 40px;
    background: linear-gradient(135deg, transparent 33%, #050505 33%, #050505 66%, transparent 66%),
                linear-gradient(225deg, transparent 33%, #050505 33%, #050505 66%, transparent 66%);
    background-size: 80px 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.footer-logo { height: 60px; margin-bottom: 1rem; filter: drop-shadow(0 0 10px var(--orange-glow)); }
.footer-tagline {
    font-family: var(--font-heading); font-size: 1rem; letter-spacing: .1em;
    text-transform: uppercase; opacity: .7; margin-bottom: 2rem;
}
.footer-socials { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.social-badge {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border-radius: 10px; background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,106,42,.2); color: var(--white);
    transition: .3s;
}
.social-badge svg { width: 20px; height: 20px; }
.social-badge:hover {
    background: var(--orange); color: var(--charcoal);
    border-color: var(--orange); transform: translateY(-2px);
}
.footer-bottom { opacity: .5; font-size: .85rem; }
.maple { color: var(--red); }

/* ── MOBILE ──────────────────────────── */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 70vw; height: 100vh;
        background: rgba(10,10,10,.97); flex-direction: column;
        padding: 5rem 2rem; gap: 1.5rem;
        transition: right .35s ease;
    }
    .nav-links.open { right: 0; }
    .split { grid-template-columns: 1fr; text-align: center; }
    .about-art { order: -1; }
    .server-grid { grid-template-columns: 1fr; }
    .community-grid { grid-template-columns: 1fr; }
    .merch-grid { grid-template-columns: repeat(2, 1fr); }
    .canadian-inner { flex-direction: column; }
    .hero-logo { width: min(240px, 70vw); }
}

@media (max-width: 480px) {
    .merch-grid { grid-template-columns: 1fr; }
}

/* ── SCROLL ANIMATIONS ───────────────── */
.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RADIO PLAYER ───────────────────── */
.radio-player {
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 999;
    background: rgba(10,10,10,.95); backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,106,42,.2);
    display: flex; align-items: center; gap: 1rem;
    padding: .6rem 1.5rem; height: 64px;
}
.radio-toggle {
    width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--orange);
    background: transparent; color: var(--orange); font-size: 1.1rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: .3s;
}
.radio-toggle:hover { background: var(--orange); color: var(--charcoal); }
.radio-art {
    width: 40px; height: 40px; border-radius: 6px; flex-shrink: 0;
    background: rgba(255,255,255,.06); overflow: hidden; display: none;
}
.radio-art.has-art { display: block; }
.radio-art img { width: 100%; height: 100%; object-fit: cover; }
.radio-info { flex: 1; min-width: 0; }
.radio-label {
    display: block; font-family: var(--font-heading); font-size: .75rem;
    text-transform: uppercase; letter-spacing: .08em; color: var(--orange);
}
.radio-now {
    display: block; font-size: .85rem; opacity: .8;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.radio-volume {
    width: 100px; flex-shrink: 0; accent-color: var(--orange); cursor: pointer;
}
.site-footer { padding-bottom: calc(2rem + 64px); }

@media (max-width: 768px) {
    .radio-volume { width: 60px; }
}

/* -- PRELOADER -- */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--charcoal);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s, visibility .5s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
    width: min(200px, 50vw);
    animation: emberPulse 1.5s ease-in-out infinite;
}

/* -- BACK TO TOP -- */
.back-to-top {
    position: fixed; bottom: 80px; right: 1.5rem; z-index: 998;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--orange); color: var(--charcoal);
    border: none; font-size: 1rem; cursor: pointer;
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s, transform .2s;
    box-shadow: 0 0 15px var(--orange-glow);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }
