/* =========================
   IMPORT GOOGLE FONTS
========================= */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

/* =========================
   VARIABLES
========================= */
:root {
    --main: #9333EA;
    --secondary: #A855F2;
    --accent: #9333EA;
    --accent-2: #C084FC;
    --bg: #0E0A14;
    --bg-dark: #07050C;
    --bg-card: #14101E;
    --text: #f5f5f5;
    --text-muted: #b9b3c7;
    --radius: 6px;
    --transition: 0.3s ease;
    --font-main: 'Outfit', sans-serif;
    --font-title: 'Chakra Petch', sans-serif;
    --team-color: #9333EA;
    --accent-color: #9333EA;
    --white-color: #FFFFFF;
}

/* =========================
   RESET
========================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

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

/* =========================
   FLUID BG
========================= */
.fluid-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    background-color: #0E0A14;
    overflow: hidden;
}
.fluid-bg::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}

.blob {
    position: absolute;
    background: var(--main);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    animation: move 20s infinite alternate ease-in-out;
}

.blob:nth-child(1) { top: 10%; left: 10%; width: 400px; height: 400px; background: #9333EA; opacity: 0.18; }
.blob:nth-child(2) { bottom: 10%; right: 10%; width: 500px; height: 500px; background: #7E22CE; animation-delay: -5s; opacity: 0.15; }
.blob:nth-child(3) { top: 50%; left: 50%; width: 300px; height: 300px; background: #C084FC; opacity: 0.07; animation-duration: 15s; }

@keyframes move {
    0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
    50%  { transform: translate(100px, 50px) scale(1.1) rotate(90deg); }
    100% { transform: translate(-50px, 100px) scale(0.9) rotate(180deg); }
}

/* =========================
   LIENS
========================= */
a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--main); }

/* =========================
   HEADER
========================= */
header {
    position: sticky;
    top: 0;
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(12px);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--team-color);
    box-shadow: 0 0 20px rgba(168,85,242,0.4);
    z-index: 1000;
    transition: 0.4s ease;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--team-color);
    letter-spacing: 2px;
    font-family: var(--font-title);
    text-shadow: 0 0 15px var(--accent-color);
    text-decoration: none;
}

header .logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.nav { display: flex; align-items: center; }

.nav a {
    margin-left: 30px;
    font-weight: 500;
    font-family: var(--font-main);
    position: relative;
    color: var(--text);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -5px;
    width: 0%;
    height: 2px;
    background: var(--main);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav a.active { color: var(--main); }

/* Burger mobile */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.burger-btn span {
    display: block; width: 24px; height: 2px;
    background: var(--text); border-radius: 2px; transition: .3s;
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/fortnite-hero.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text);
    overflow: hidden;
    border-bottom: 2px solid var(--team-color);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
    background: linear-gradient(135deg, #C084FC 0%, #9333EA 50%, #7E22CE 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 4.5rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content p {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* =========================
   BOUTONS
========================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #9333EA, #7E22CE);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 700;
    font-family: var(--font-title);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    box-shadow: 0 8px 24px rgba(147,51,234,0.35);
}
.btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 32px rgba(147,51,234,0.5); }

.btn-outline {
    background: transparent;
    border: 1.5px solid #9333EA;
    color: #C084FC;
    box-shadow: none;
}
.btn-outline:hover { background: rgba(147,51,234,0.12); color: #fff; box-shadow: 0 0 24px rgba(147,51,234,0.3); }

.btn-twitch {
    background: #9146FF;
    color: white;
    border: none;
}
.btn-twitch:hover { background: #7c2ff5; color: white; transform: scale(1.05); }

/* =========================
   STATS
========================= */
.stats-section {
    background: rgba(0,0,0,0.3);
    padding: 50px 20px;
    border-bottom: 2px solid var(--team-color);
}

.stats-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    text-align: center;
    background: linear-gradient(180deg, rgba(147,51,234,0.06), rgba(147,51,234,0.02));
    padding: 24px 20px;
    border-radius: 8px;
    border: 1px solid rgba(147,51,234,0.18);
    position: relative;
    overflow: hidden;
}
.stat-box::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #9333EA, transparent);
}

.stat-box.discord-box {
    background: rgba(88,101,242,0.1);
    border: 1px solid rgba(88,101,242,0.3);
}

.stat-box h3 {
    color: #9333EA;
    font-size: 2.5rem;
    font-family: 'Chakra Petch', sans-serif;
    margin: 0;
}

.stat-box p {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-top: 10px;
    font-family: var(--font-main);
    max-width: none;
}

.discord-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background: #3ba55c;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 1.5s infinite;
}

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

/* =========================
   SPONSORS
========================= */
.sponsors-slider {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 35px 0;
    margin: 60px 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    overflow: hidden;
}

.sponsors-track {
    display: flex;
    width: max-content;
    animation: scroll-sponsors 45s linear infinite;
    align-items: center;
    will-change: transform;
}

.sponsors-slider:hover .sponsors-track { animation-play-state: paused; }

@keyframes scroll-sponsors {
    from { transform: translate3d(0,0,0); }
    to   { transform: translate3d(-50%,0,0); }
}

.sponsor-item {
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-item img {
    height: 55px;
    width: auto;
    filter: grayscale(100%) brightness(2) opacity(0.5);
    transition: all 0.4s ease-in-out;
}

.sponsor-item img:hover {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.1);
}

/* =========================
   SECTIONS
========================= */
.section {
    padding: 80px 60px;
    text-align: center;
}

.section h2 {
    font-family: var(--font-title);
    color: #fff;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 2.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}
.section h2::after {
    content: "";
    position: absolute;
    left: 50%; transform: translateX(-50%);
    bottom: -10px;
    width: 60px; height: 3px;
    background: linear-gradient(90deg, transparent, #9333EA, transparent);
}

.section p {
    font-family: var(--font-main);
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto 20px auto;
}

/* MISSION BOX */
.mission-box {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    background: linear-gradient(135deg, rgba(147,51,234,0.08), rgba(168,85,242,0.02));
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(147,51,234,0.2);
    position: relative;
    overflow: hidden;
}
.mission-box::before {
    content: "";
    position: absolute; top: 0; bottom: 0; left: 0;
    width: 3px;
    background: linear-gradient(180deg, #C084FC, #7E22CE);
}

.mission-box h2 {
    text-align: left;
    margin-bottom: 15px;
    font-family: var(--font-title);
    color: var(--main);
    font-size: 2rem;
}

.mission-box p {
    margin: 0;
    color: #ddd;
    line-height: 1.8;
    font-family: var(--font-main);
    font-size: 1rem;
    max-width: none;
}

/* =========================
   CARDS / ACTUS
========================= */
.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.card {
    background: var(--bg-card);
    width: 280px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #000;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.card img { width: 100%; display: block; transition: transform 0.5s ease; }
.card:hover img { transform: scale(1.05); }
.card h3 { font-family: var(--font-title); color: var(--secondary); margin: 15px 0 10px; text-shadow: 0 0 5px var(--accent); }
.card p { font-family: var(--font-main); color: var(--text-muted); margin-bottom: 20px; }
.card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 0 20px var(--accent); }

/* =========================
   BENTO 1POWER
========================= */
.onepower-gallery { padding: 40px 20px; max-width: 1200px; margin: 0 auto; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.bento-item {
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    border: 1px solid rgba(147,51,234,0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.bento-item:hover { transform: translateY(-4px); border-color: #9333EA; box-shadow: 0 10px 40px rgba(147,51,234,0.3); }

.landscape { grid-column: span 2; grid-row: span 1; }
.portrait  { grid-column: span 1; grid-row: span 2; }

.overlay-glass {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.text-1power {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 6px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 30px rgba(147,51,234,0.4);
    pointer-events: none;
}

/* =========================
   TWITCH SECTION
========================= */
.twitch-section {
    background: rgba(145,70,255,0.05);
    border-top: 2px solid #9146FF;
    border-bottom: 2px solid #9146FF;
    padding: 60px 20px;
    text-align: center;
}

#main-player-container {
    width: 100%; max-width: 1000px;
    margin: 0 auto 30px auto;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid #9333EA;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

#twitch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px;
    width: 100%;
    margin-bottom: 30px;
}

/* =========================
   SOCIALS
========================= */
.section-socials {
    padding: 60px 20px;
    text-align: center;
    background: transparent;
    width: 100%;
}

.section-socials h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 2.8rem;
    color: #fff;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-socials p {
    color: rgba(255,255,255,0.4);
    font-size: 1rem;
    margin-top: 5px;
    font-weight: 300;
    margin-bottom: 40px;
}

.socials-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.social-pill {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(147,51,234,0.3);
    border-radius: 100px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.social-pill:hover {
    background: rgba(147,51,234,0.1);
    transform: translateY(-2px);
    color: #fff;
}

.social-pill img { width: 18px; height: 18px; object-fit: contain; }

.social-pill.discord-pill {
    background: #9333EA;
    border-color: #9333EA;
    color: #000;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(147,51,234,0.15);
}

.social-pill.discord-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(147,51,234,0.3);
    background: #9333EA;
    color: #000;
}

/* =========================
   TICKER
========================= */
.ticker-wrap {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    background: #111;
    border-top: 1px solid rgba(147,51,234,0.3);
    border-bottom: 1px solid rgba(147,51,234,0.3);
    padding: 8px 0;
    margin: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker {
    display: flex;
    width: max-content;
    animation: ticker-animation 25s linear infinite;
}

.ticker-item {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--main);
    padding: 0 40px;
    letter-spacing: 4px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ticker-item::after { content: "•"; margin-left: 40px; color: var(--accent); opacity: 0.5; }

@keyframes ticker-animation {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================
   FOOTER
========================= */
footer {
    background: rgb(17,17,17);
    padding: 30px;
    text-align: center;
    margin-top: 80px;
    box-shadow: 0 0 20px rgba(147,51,234,1);
}

footer p { font-size: 0.9rem; color: var(--text-muted); font-family: var(--font-main); }
footer a { color: var(--text-muted); font-family: var(--font-main); font-size: 0.85rem; display: inline-block; margin-top: 8px; }
footer a:hover { color: var(--main); }

/* =========================
   JOUEURS
========================= */
.page-header {
    padding: 80px 60px;
    background: linear-gradient(135deg, #1a1a1a, #262626);
    border-bottom: 2px solid var(--team-color);
    box-shadow: 0 0 20px rgba(168,85,242,0.4);
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-title);
    color: var(--main);
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p { color: var(--text-muted); font-size: 1.1rem; }

.roster-section { padding: 60px; text-align: center; }
.roster-section h2 {
    font-family: var(--font-title);
    color: var(--main);
    font-size: 2rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.joueurs-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.player-card {
    width: 250px;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid #000;
    transition: all 0.4s ease;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.player-card img { width: 100%; height: 250px; object-fit: cover; }

.player-card-info { padding: 20px; text-align: center; }
.player-card-info h3 { color: var(--main); font-size: 1.4rem; letter-spacing: 1px; font-family: var(--font-title); }
.player-card-info span { display: block; margin-top: 6px; color: var(--text-muted); }

.player-card-pr {
    margin-top: 15px;
    padding: 8px 16px;
    background: var(--accent);
    color: #000;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    font-family: var(--font-main);
}

.player-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 0 35px rgba(147,51,234,0.5);
    border-color: var(--accent);
}

/* =========================
   STAFF
========================= */
.staff-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.staff-card {
    width: 250px;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid #000;
    transition: all 0.4s ease;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.staff-card img { width: 100%; height: auto; object-fit: cover; }
.staff-card-info { padding: 20px; text-align: center; }
.staff-card-info h3 { color: var(--main); font-size: 1.4rem; letter-spacing: 1px; font-family: var(--font-title); }
.staff-card-info span { display: block; margin-top: 6px; color: var(--text-muted); }

.staff-card-pr {
    margin-top: 10px;
    padding: 4px 16px;
    background: var(--accent);
    color: #000;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    font-size: 0.85rem;
    font-family: var(--font-main);
}

.staff-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 0 35px rgba(147,51,234,0.5);
    border-color: var(--accent);
}

/* Staff socials inline */
.staff-socials-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.staff-social-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(147,51,234,0.2);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-main);
    transition: all 0.3s;
}

.staff-social-link:hover {
    background: rgba(147,51,234,0.15);
    color: var(--main);
    border-color: var(--main);
}

.staff-social-link img { width: 12px; height: 12px; object-fit: contain; }

/* =========================
   BOUTIQUE
========================= */
.products-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.product-card {
    width: 300px;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #000;
    transition: all 0.4s ease;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 0 35px rgba(147,51,234,0.4);
}

.product-card img { width: 100%; height: 260px; object-fit: cover; display: block; }
.product-card-info { padding: 20px; text-align: center; }
.product-card-info h3 { color: var(--main); font-size: 1.5rem; font-family: var(--font-title); margin-bottom: 8px; }
.product-card-info .price { font-size: 1.8rem; font-family: var(--font-title); color: #fff; margin-bottom: 15px; }
.product-card-info .btn { width: 100%; text-align: center; }

/* Modal boutique */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal {
    background: #1a1a1a;
    border: 1px solid rgba(147,51,234,0.3);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 520px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute; top: 1rem; right: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    width: 34px; height: 34px;
    border-radius: 8px; cursor: pointer;
    font-size: 1rem; display: flex;
    align-items: center; justify-content: center;
    transition: .2s;
    font-family: var(--font-main);
}
.modal-close:hover { color: var(--text); background: rgba(255,255,255,0.1); }

.modal h2 { font-family: var(--font-title); color: var(--main); font-size: 1.8rem; margin-bottom: 0.3rem; }
.modal-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.5rem; font-family: var(--font-main); }
.modal-product-name { color: var(--main); font-weight: 600; margin-bottom: 1.5rem; font-family: var(--font-main); }

.order-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .3rem; }
.form-group label { font-size: .8rem; color: var(--text-muted); font-family: var(--font-main); }
.form-group input {
    background: #262626;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: .7rem 1rem;
    color: var(--text);
    font-size: .9rem;
    font-family: var(--font-main);
    transition: border-color .2s;
}
.form-group input:focus { outline: none; border-color: var(--main); }

.order-success, .order-error { text-align: center; padding: 2rem 0; font-family: var(--font-main); }
.order-success h3 { font-family: var(--font-title); color: #3ba55c; font-size: 1.8rem; margin-bottom: .5rem; }
.order-error h3 { font-family: var(--font-title); color: #f87171; font-size: 1.8rem; margin-bottom: .5rem; }
.order-success p, .order-error p { color: var(--text-muted); }

/* =========================
   INFORMATIONS
========================= */
.info-blocks { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }

.info-block {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(147,51,234,0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: .3s;
    text-align: left;
}

.info-block:hover { border-color: var(--main); box-shadow: 0 0 20px rgba(147,51,234,0.1); }

.info-block-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    background: rgba(147,51,234,0.1);
    border: 1px solid rgba(147,51,234,0.2);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}

.info-block-content h3 {
    font-family: var(--font-title);
    color: var(--main);
    font-size: 1.3rem;
    margin-bottom: .5rem;
}

.info-block-content p {
    font-family: var(--font-main);
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.7;
    max-width: none;
    margin: 0;
}

.creator-code-box {
    display: inline-block;
    margin-top: .8rem;
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--main);
    border: 2px solid rgba(147,51,234,0.4);
    padding: .4rem 1.2rem;
    border-radius: 8px;
    letter-spacing: 3px;
}

/* =========================
   SIDE MENU (right floating nav)
========================= */
.side-menu {
    position: fixed;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(14,10,20,0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(147,51,234,0.25);
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.55), 0 0 0 1px rgba(192,132,252,0.05) inset;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.side-menu:hover {
    border-color: rgba(147,51,234,0.6);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 40px rgba(147,51,234,0.18);
}

.side-menu__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 26px;
    padding: 0 12px 0 10px;
    border-radius: 6px;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.side-menu__item .side-menu__label {
    transition: opacity 0.25s ease, transform 0.35s ease;
    display: inline-block;
}

.side-menu__item::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(147,51,234,0.45);
    margin-right: 8px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

/* (collapse states removed — menu stays compact) */
.side-menu__hint { display: none; }

.side-menu__item:hover {
    color: #9333EA;
    background: rgba(147,51,234,0.12);
    transform: translateX(-2px);
    box-shadow: 0 0 16px rgba(147,51,234,0.18);
}

.side-menu__item:hover::before {
    background: #9333EA;
    transform: scale(1.4);
    box-shadow: 0 0 12px #9333EA;
}

.side-menu__item:active {
    transform: translateX(-2px) scale(0.97);
    background: rgba(147,51,234,0.25);
}

.side-menu__item.active {
    color: #fff;
    background: linear-gradient(135deg, #9333EA, #7E22CE);
    box-shadow: 0 4px 14px rgba(147,51,234,0.4);
}
.side-menu__item.active:hover {
    color: #fff;
    transform: translateX(-2px);
}
.side-menu__item.active::before {
    background: #fff;
    box-shadow: none;
}

/* Click ripple */
.side-menu__item .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(147,51,234,0.5);
    transform: scale(0);
    animation: sm-ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes sm-ripple {
    to { transform: scale(3); opacity: 0; }
}

@media (max-width: 768px) {
    .side-menu { right: 8px; padding: 6px 6px; gap: 4px; }
    .side-menu__item { height: 24px; font-size: 0.7rem; letter-spacing: 1px; padding: 0 10px 0 8px; }
}

/* =========================
   OVERFLOW SAFETY
========================= */
.card, .player-card, .staff-card, .product-card, .info-block,
.mission-box, .stat-box, .modal {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}
.card p, .card h3,
.product-name, .product-price,
.player-name, .staff-card h3,
.info-content p, .info-content h3,
.stat-box h3, .stat-box p,
.mission-box p {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}
.card { padding: 0; min-width: 0; }
.card > div { min-width: 0; }
.cards .card { box-sizing: border-box; }
.info-block { min-width: 0; }
.info-content { min-width: 0; flex: 1 1 auto; }
.stats-inner { box-sizing: border-box; }

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeInUp {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 15px; padding: 15px 20px; }
    .nav a { margin-left: 15px; }
    .hero-content h1 { font-size: 2.5rem; }
    .section { padding: 60px 20px; }
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .text-1power { font-size: 4rem; }
    .form-row { grid-template-columns: 1fr; }
    .info-block { flex-direction: column; }
    .hero-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 600px) {
    .bento-grid { display: flex; flex-direction: column; }
    .bento-item { height: 300px; }
    .text-1power { font-size: 3rem; letter-spacing: 5px; }
    header { padding: 10px 15px; }
    .nav a { margin-left: 10px; font-size: 0.85rem; }
}
