/* RAXORX1S */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;700&display=swap');

:root {
    --bg: #0d0d0d;
    --bg-alt: #141414;
    --card: #1a1a1a;
    --card-border: #262626;
    --card-hover: #1f1f1f;

    --text: #e8e8e8;
    --text-dim: #999;
    --text-faded: #555;

    --purple: #a855f7;
    --purple-dim: rgba(168, 85, 247, 0.12);
    --red: #f43f5e;
    --red-dim: rgba(244, 63, 94, 0.12);
    --green: #34d399;

    --ff-head: 'Space Grotesk', system-ui, sans-serif;
    --ff-body: 'DM Sans', system-ui, sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--purple);
    text-decoration: none;
}

a:hover {
    color: #c084fc;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4 {
    font-family: var(--ff-head);
    font-weight: 700;
    line-height: 1.15;
}

/* --- Layout --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 90px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text);
}

.section-title span,
.highlight {
    color: var(--purple);
}

.section-subtitle {
    color: var(--text-dim);
    font-size: 0.95rem;
    max-width: 520px;
    margin-bottom: 44px;
}

/* --- Cards --- */
.glass-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 28px;
    transition: border-color 0.25s, transform 0.25s;
}

.glass-card:hover {
    border-color: #333;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--purple);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(168, 85, 247, 0.25);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--card-border);
}

.btn-outline:hover {
    border-color: var(--purple);
    color: var(--purple);
    transform: translateY(-2px);
}

/* =====================
   HEADER
   ===================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    transition: background 0.3s, padding 0.3s;
}

.site-header.scrolled {
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--ff-head);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.logo span {
    color: var(--purple);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    color: var(--text-dim);
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
    margin-left: 8px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.2s;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =====================
   HERO
   ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08), transparent 70%);
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, var(--bg), transparent);
    z-index: 2;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    background: var(--purple-dim);
    border: 1px solid rgba(168, 85, 247, 0.18);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--purple);
    margin-bottom: 28px;
}

.hero-badge .live-dot {
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
    animation: blink 2s infinite;
}

.hero-title {
    font-size: clamp(3rem, 9vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--purple);
    position: relative;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 480px;
    margin: 0 auto 36px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 44px;
    margin-top: 64px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-family: var(--ff-head);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
}

.hero-stat .label {
    color: var(--text-faded);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

/* =====================
   ABOUT
   ===================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 14px;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid var(--card-border);
}

.about-image-glow {
    display: none;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 18px;
}

.about-text h2 span {
    color: var(--purple);
}

.about-text p {
    color: var(--text-dim);
    margin-bottom: 14px;
    font-size: 1rem;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tag {
    padding: 5px 14px;
    background: var(--purple-dim);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #c084fc;
}

/* =====================
   SCHEDULE
   ===================== */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.schedule-card {
    text-align: center;
    padding: 32px 20px;
}

.schedule-card .day {
    font-family: var(--ff-head);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.schedule-card .time {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 10px;
    font-family: var(--ff-head);
}

.schedule-card .game {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.schedule-card .status-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.status-badge.online {
    background: rgba(52, 211, 153, 0.1);
    color: var(--green);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.status-badge.offline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-faded);
    border: 1px solid var(--card-border);
}

/* =====================
   GAMES
   ===================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.game-card {
    text-align: center;
    padding: 36px 20px;
}

.game-card .game-icon {
    font-size: 2.6rem;
    margin-bottom: 14px;
}

.game-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.game-card p {
    color: var(--text-dim);
    font-size: 0.88rem;
}

/* =====================
   SOCIAL
   ===================== */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    text-decoration: none;
    color: var(--text);
}

.social-card:hover {
    color: var(--text);
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.social-icon.twitch {
    background: rgba(145, 70, 255, 0.12);
    color: #9146FF;
}

.social-icon.youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

.social-icon.discord {
    background: rgba(88, 101, 242, 0.12);
    color: #5865F2;
}

.social-icon.tiktok {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.social-icon.instagram {
    background: rgba(225, 48, 108, 0.12);
    color: #E1306C;
}

.social-card .social-info h3 {
    font-size: 0.95rem;
    margin-bottom: 1px;
}

.social-card .social-info p {
    color: var(--text-faded);
    font-size: 0.82rem;
}

/* =====================
   CONTACT
   ===================== */
.contact-wrapper {
    max-width: 580px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--ff-body);
    font-size: 0.92rem;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--purple);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-faded);
}

.form-message {
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.88rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.2);
    color: var(--green);
}

.form-message.error {
    display: block;
    background: var(--red-dim);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: var(--red);
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
    border-top: 1px solid var(--card-border);
    padding: 50px 0 24px;
    background: var(--bg-alt);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-brand .logo {
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-faded);
    font-size: 0.85rem;
    max-width: 300px;
    line-height: 1.5;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--text-faded);
    font-size: 0.85rem;
}

.footer-col a:hover {
    color: var(--purple);
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-bottom p {
    color: var(--text-faded);
    font-size: 0.8rem;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-faded);
    font-size: 0.85rem;
    transition: color 0.2s, background 0.2s;
}

.footer-socials a:hover {
    background: var(--purple-dim);
    color: var(--purple);
}

/* =====================
   PAGE HEADER (inner)
   ===================== */
.page-header {
    padding: 150px 0 70px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30%;
    width: 400px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.06), transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.page-header h1 span {
    color: var(--purple);
}

.page-header p {
    color: var(--text-dim);
    font-size: 1rem;
    position: relative;
}

/* =====================
   ANIMATIONS
   ===================== */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .about-image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.15rem;
        padding: 12px 20px;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 10px;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3.2rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section {
        padding: 60px 0;
    }

    .glass-card {
        padding: 22px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .container {
        padding: 0 16px;
    }
}

/* =====================
   PARTICLES
   ===================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}