/* ==========================================================================
   BLOCKCLUB DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-dark-obsidian: #07030e;
    --bg-primary: #0a0515;
    --bg-secondary: #0e071e;
    
    --accent-pink: #ff2d85;
    --accent-pink-glow: rgba(255, 45, 133, 0.4);
    --accent-purple: #9d4edd;
    --accent-purple-glow: rgba(157, 78, 221, 0.4);
    
    --accent-dark-purple: #130a24;
    --accent-card-bg-gradient-start: rgba(25, 12, 45, 0.7);
    --accent-card-bg-gradient-end: rgba(14, 7, 26, 0.9);
    
    --text-primary: #f3f1f6;
    --text-secondary: #c7c3d2;
    --text-muted: #857e93;
    
    --success-green: #00ff88;
    --success-green-glow: rgba(0, 255, 136, 0.4);
    
    /* Layout & Styling Tokens */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
    
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-border-pink: rgba(255, 45, 133, 0.25);
    --glass-border-purple: rgba(157, 78, 221, 0.25);
    
    --shadow-neon-pink: 0 0 20px var(--accent-pink-glow);
    --shadow-neon-purple: 0 0 20px var(--accent-purple-glow);
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark-obsidian);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-obsidian);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-dark-purple);
    border: 2px solid var(--bg-dark-obsidian);
    border-radius: 10px;
    transition: var(--transition-quick);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* Typography Selection */
::selection {
    background: var(--accent-pink);
    color: #fff;
}

/* Common Layout Components */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-quick);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition-quick);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-pink), #e01b6c);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 45, 133, 0.3), var(--shadow-neon-pink);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 45, 133, 0.5), 0 0 25px var(--accent-pink);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--glass-border-purple);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: rgba(157, 78, 221, 0.1);
    border-color: var(--accent-purple);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon-purple);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--border-radius-md);
}

/* Glassmorphic Card Mixin */
.glass-card {
    background: linear-gradient(135deg, var(--accent-card-bg-gradient-start), var(--accent-card-bg-gradient-end));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.card-border-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border: 1px solid transparent;
    border-radius: inherit;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: transparent;
}

.glass-card:hover .card-border-glow {
    border-color: var(--glass-border-purple);
    box-shadow: inset 0 0 15px rgba(157, 78, 221, 0.1);
}

/* Section Dividers (SVG Curves) */
.section-divider {
    width: 100%;
    line-height: 0;
    position: relative;
    z-index: 2;
}

.section-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 3, 14, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: rgba(7, 3, 14, 0.9);
    padding: 10px 0;
    border-bottom-color: rgba(157, 78, 221, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.site-header.scrolled .nav-container {
    padding: 12px 24px;
}

/* Logo Design */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(157, 78, 221, 0.5));
    transition: var(--transition-smooth);
}

.nav-logo:hover .logo-img {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1.5px;
}

.logo-text span {
    color: var(--accent-pink);
    text-shadow: 0 0 10px var(--accent-pink-glow);
}

/* Desktop Links */
.desktop-nav {
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    position: relative;
}

.nav-link i {
    font-size: 0.85rem;
    opacity: 0.7;
    transition: var(--transition-quick);
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover i {
    color: var(--accent-pink);
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #fff;
}

.nav-link.active i {
    color: var(--accent-pink);
    opacity: 1;
}

/* Actions Menu */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger-menu {
    display: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    padding: 5px;
}

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 100px 30px 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--glass-border-purple);
    transition: var(--transition-smooth);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: auto;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-link:hover, 
.mobile-nav-link.active {
    color: #fff;
}

.mobile-nav-link i {
    color: var(--accent-pink);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-actions .btn {
    width: 100%;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: blur(2px) brightness(0.45);
    z-index: 0;
    transition: var(--transition-smooth);
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 7, 30, 0.4) 0%, var(--bg-primary) 85%);
    z-index: 1;
}

.hero-content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Float Animation for Logo */
@keyframes floatLogo {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.hero-logo-container {
    margin-bottom: 30px;
    animation: floatLogo 6s ease-in-out infinite;
    max-width: 100%;
}

.hero-banner-img {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(157, 78, 221, 0.45)) drop-shadow(0 0 40px rgba(255, 45, 133, 0.25));
}

/* Server IP Connection Box */
.server-connect-box {
    background: rgba(14, 7, 26, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border-purple);
    border-radius: var(--border-radius-lg);
    padding: 24px 40px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 
                inset 0 0 20px rgba(157, 78, 221, 0.05);
    max-width: 540px;
    width: 100%;
    transition: var(--transition-smooth);
}

.server-connect-box:hover {
    border-color: rgba(255, 45, 133, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 
                var(--shadow-neon-pink), 
                inset 0 0 25px rgba(255, 45, 133, 0.05);
}

.connection-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--success-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success-green);
}

.status-dot.pulsing {
    animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.9); opacity: 0.5; box-shadow: 0 0 0 0 var(--success-green-glow); }
    70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 6px rgba(0, 255, 136, 0); }
    100% { transform: scale(0.9); opacity: 0.5; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.status-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* IP Card */
.ip-address-display {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    outline: none;
    transition: var(--transition-quick);
    margin-bottom: 12px;
}

.ip-address-display:hover {
    background: rgba(255, 45, 133, 0.04);
    border-color: var(--accent-pink);
}

.ip-address-display:active {
    transform: scale(0.98);
}

.ip-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.copy-badge {
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid var(--glass-border-purple);
    border-radius: var(--border-radius-sm);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-purple);
    letter-spacing: 0.5px;
    transition: var(--transition-quick);
}

.ip-address-display:hover .copy-badge {
    background: var(--accent-pink);
    color: #fff;
    border-color: var(--accent-pink);
    box-shadow: 0 0 10px rgba(255, 45, 133, 0.4);
}

.copy-icon {
    font-size: 0.85rem;
}

.server-version-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.server-version-hint strong {
    color: var(--text-secondary);
}

/* Action CTA Layout */
.hero-actions-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-discord-cta {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-discord-cta:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
}

.btn-store-cta {
    background: linear-gradient(135deg, var(--accent-purple), #7b2cbf);
    color: #fff;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3), var(--shadow-neon-purple);
}

.btn-store-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.5), 0 0 25px var(--accent-purple);
}

.hero-wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 2;
}

/* ==========================================================================
   SECTION STANDARD HEADERS
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-pink);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(255, 45, 133, 0.2);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   COSMETICS SHOWCASE SECTION
   ========================================================================== */
.cosmetics-section {
    background: var(--bg-primary);
    position: relative;
}

.cosmetics-showcase-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 20px;
}

/* Left Panel: Preview Display */
.cosmetic-preview-panel {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 450px;
    justify-content: center;
    border-color: rgba(157, 78, 221, 0.15);
    background: linear-gradient(135deg, rgba(20, 10, 35, 0.8), rgba(8, 4, 16, 0.9));
}

.preview-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, rgba(255, 45, 133, 0.05) 50%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    animation: floatGlow 8s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.item-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.7rem;
    font-weight: 800;
    background: rgba(255, 45, 133, 0.1);
    border: 1px solid var(--accent-pink);
    color: var(--accent-pink);
    padding: 4px 10px;
    border-radius: var(--border-radius-sm);
    letter-spacing: 1px;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 45, 133, 0.2);
}

.preview-img-container {
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

/* Floating animation for showcase hat */
@keyframes floatHat {
    0% { transform: translateY(0px) rotate(0deg); filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5)); }
    50% { transform: translateY(-10px) rotate(3deg); filter: drop-shadow(0 20px 25px rgba(157,78,221,0.25)); }
    100% { transform: translateY(0px) rotate(0deg); filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5)); }
}

.preview-img-container img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: floatHat 5s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease;
}

.preview-img-container.switching img {
    transform: scale(0.8) rotate(-10deg);
    opacity: 0;
}

.preview-info {
    position: relative;
    z-index: 1;
}

.preview-item-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.preview-item-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 400px;
}

.preview-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
}

.meta-label {
    color: var(--text-muted);
}

.meta-value {
    color: #fff;
    font-weight: 600;
}

/* Right Selection List */
.cosmetics-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cosmetic-item-card {
    cursor: pointer;
    border-color: rgba(255, 255, 255, 0.03);
    background: linear-gradient(135deg, rgba(20, 10, 35, 0.3), rgba(8, 4, 16, 0.5));
}

.cosmetic-item-card:hover {
    background: linear-gradient(135deg, rgba(25, 12, 45, 0.5), rgba(14, 7, 26, 0.7));
    transform: translateX(5px);
}

.cosmetic-item-card.active {
    border-color: var(--glass-border-pink);
    background: linear-gradient(135deg, rgba(255, 45, 133, 0.08), rgba(15, 7, 30, 0.8));
    box-shadow: 0 10px 25px rgba(255, 45, 133, 0.08);
}

.cosmetic-item-card.active .card-border-glow {
    border-color: var(--accent-pink);
    box-shadow: inset 0 0 15px rgba(255, 45, 133, 0.05);
}

.item-card-inner {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.item-card-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 6px;
    transition: var(--transition-quick);
}

.cosmetic-item-card:hover .item-card-thumbnail {
    transform: scale(1.05) rotate(5deg);
    border-color: var(--glass-border-purple);
}

.cosmetic-item-card.active .item-card-thumbnail {
    border-color: var(--accent-pink);
    background: rgba(255, 45, 133, 0.05);
}

.item-card-text {
    flex-grow: 1;
}

.item-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.item-card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.cosmetic-tag {
    background: rgba(157, 78, 221, 0.1);
    color: #b576e8;
    border: 1px solid rgba(157, 78, 221, 0.2);
}

.supporter-tag {
    background: rgba(255, 165, 0, 0.1);
    color: #ffb84d;
    border: 1px solid rgba(255, 165, 0, 0.2);
}

.collectible-tag {
    background: rgba(255, 45, 133, 0.1);
    color: #ff60a1;
    border: 1px solid rgba(255, 45, 133, 0.2);
}

.cosmetics-divider {
    margin-top: 60px;
    transform: rotate(180deg);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
    background: var(--bg-secondary);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-color: rgba(157, 78, 221, 0.08);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-dark-purple), rgba(157, 78, 221, 0.1));
    border: 1px solid var(--glass-border-purple);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-neon-purple);
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-neon-pink);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--accent-purple);
    transition: var(--transition-quick);
}

.feature-card:hover .feature-icon {
    color: #fff;
    transform: scale(1.1);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.features-divider {
    margin-top: 60px;
}

/* ==========================================================================
   COMMUNITY SECTION
   ========================================================================== */
.community-section {
    background: var(--bg-primary);
}

.community-banner-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 60px;
    align-items: center;
    border-color: rgba(255, 45, 133, 0.15);
    background: linear-gradient(135deg, rgba(20, 10, 35, 0.8), rgba(8, 4, 16, 0.95));
}

.banner-border-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border: 1px solid transparent;
    border-radius: inherit;
    transition: var(--transition-smooth);
}

.community-banner-card:hover .banner-border-glow {
    border-color: var(--accent-pink);
    box-shadow: inset 0 0 20px rgba(255, 45, 133, 0.1);
}

.community-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-pink);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.community-heading {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.community-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.btn-huge {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: var(--border-radius-md);
}

.btn-discord {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
    background: #4e5dff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.6);
}

/* Graphic Logo Floating Animation */
.community-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes spinFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.floating-logo {
    max-width: 80%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(157, 78, 221, 0.5));
    animation: spinFloat 7s ease-in-out infinite;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
    background: var(--bg-dark-obsidian);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-img {
    height: 32px;
}

.footer-slogan {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-group-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-link-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-group a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-link-group a:hover {
    color: var(--accent-pink);
    padding-left: 4px;
}

/* Bottom Copyright and Disclaimer */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 24px;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================================================================
   MODALS AND TOASTS
   ========================================================================== */
/* Toasts */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    background: rgba(14, 7, 26, 0.95);
    border: 1px solid var(--accent-pink);
    border-radius: var(--border-radius-sm);
    color: #fff;
    padding: 14px 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), var(--shadow-neon-pink);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i {
    color: var(--accent-pink);
}

/* Modal styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.modal-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    width: 90%;
    padding: 40px;
    border-color: var(--glass-border-pink);
    background: linear-gradient(135deg, rgba(25, 12, 45, 0.95), rgba(8, 4, 16, 0.98));
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), var(--shadow-neon-pink);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-muted);
    font-size: 1.7rem;
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent-pink);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.modal-icon {
    font-size: 1.8rem;
    color: var(--accent-pink);
    text-shadow: 0 0 10px var(--accent-pink-glow);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-hint {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-pink);
    letter-spacing: 1px;
}

.newsletter-mock {
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.newsletter-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.modal-discord-btn {
    font-size: 0.75rem;
    padding: 10px 16px;
    width: 100%;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
    .cosmetics-showcase-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .community-banner-card {
        grid-template-columns: 1fr;
        padding: 40px;
        text-align: center;
    }
    .community-graphic {
        display: none;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav, .nav-actions .btn {
        display: none;
    }
    .hamburger-menu {
        display: block;
    }
    .section-title {
        font-size: 2.1rem;
    }
    .hero-banner-img {
        max-width: 95%;
    }
    .server-connect-box {
        padding: 16px 20px;
    }
    .ip-text {
        font-size: 1.15rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
    }
    .hero-actions-container {
        flex-direction: column;
        width: 100%;
        padding: 0 10px;
    }
    .cosmetic-preview-panel {
        padding: 24px;
    }
    .preview-img-container {
        width: 150px;
        height: 150px;
    }
    .item-card-inner {
        padding: 12px;
        gap: 12px;
    }
    .item-card-thumbnail {
        width: 45px;
        height: 45px;
    }
}

/* ==========================================================================
   GALLERY & LIGHTBOX SECTION
   ========================================================================== */
.media-teaser {
    background: var(--bg-primary);
    position: relative;
    padding: 20px 0;
}

/* Bento-style grid — 5 images, asymmetric */
.media-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    margin-top: 40px;
}

/* First image: big, spans 4 cols and 2 rows */
.media-grid .media-item:nth-child(1) {
    grid-column: span 4;
    grid-row: span 2;
}

/* 2nd and 3rd: stack on the right */
.media-grid .media-item:nth-child(2),
.media-grid .media-item:nth-child(3) {
    grid-column: span 2;
}

/* 4th and 5th: bottom row, equal */
.media-grid .media-item:nth-child(4),
.media-grid .media-item:nth-child(5) {
    grid-column: span 3;
}

.media-item {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    background: linear-gradient(135deg, rgba(20, 10, 35, 0.5), rgba(8, 4, 16, 0.7));
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    outline: 3px solid transparent;
    outline-offset: 3px;
}

.media-item:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--accent-pink);
    box-shadow: 0 15px 35px rgba(255, 45, 133, 0.15), var(--shadow-neon-pink);
    outline-color: var(--accent-pink-glow);
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.media-item:hover img {
    transform: scale(1.08);
}

/* Lightbox Overlay */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(7, 3, 14, 0.95);
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 80vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--glass-border-purple);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-neon-purple);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition-quick);
}

.lightbox-close:hover {
    color: var(--accent-pink);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 10, 35, 0.8);
    border: 1px solid var(--glass-border-purple);
    border-radius: 50%;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.lightbox-nav:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    box-shadow: var(--shadow-neon-pink);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.media-divider {
    margin-top: 80px;
}

/* Responsive adjustment for media grid */
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
    }
    .media-grid .media-item:nth-child(1),
    .media-grid .media-item:nth-child(2),
    .media-grid .media-item:nth-child(3),
    .media-grid .media-item:nth-child(4),
    .media-grid .media-item:nth-child(5) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* ==========================================================================
   GAMEMODES TEASER & DETAILS SECTIONS
   ========================================================================== */
.btn-gamemodes-cta {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 45, 133, 0.2), var(--shadow-neon-purple);
}
.btn-gamemodes-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.4), 0 0 25px var(--accent-pink);
}

.gamemodes-teaser-section {
    background: var(--bg-primary);
    position: relative;
}
.gamemodes-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.teaser-game-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius-md);
    border-color: rgba(157, 78, 221, 0.15);
    transition: var(--transition-smooth);
}
.teaser-game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 45, 133, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--shadow-neon-pink);
}
.teaser-game-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}
.teaser-game-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.teaser-game-card:hover .teaser-game-img {
    transform: scale(1.05);
}
.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.tag-laser {
    background: rgba(255, 45, 133, 0.2);
    border: 1px solid var(--accent-pink);
    color: var(--accent-pink);
}
.tag-parkour {
    background: rgba(157, 78, 221, 0.2);
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
}
.teaser-game-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.teaser-game-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.teaser-game-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.teaser-cta-container {
    text-align: center;
    margin-top: 40px;
}
.gamemodes-teaser-divider {
    margin-top: 60px;
}

/* ==========================================================================
   GAMEMODES PAGE STYLING
   ========================================================================== */
.gamemodes-page-hero {
    padding: 160px 24px 80px;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(30, 10, 54, 0.3) 0%, var(--bg-primary) 100%);
}
.gamemodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.gamemode-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius-md);
    border-color: rgba(157, 78, 221, 0.15);
    transition: var(--transition-smooth);
    min-height: 520px;
}
.gamemode-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 45, 133, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--shadow-neon-pink);
}
.gamemode-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%; /* Aspect Ratio */
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}
.gamemode-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.gamemode-card:hover .gamemode-img {
    transform: scale(1.06);
}
.gamemode-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.gamemode-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.gamemode-rules-list {
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.gamemode-rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.gamemode-rules-list li i {
    color: var(--accent-pink);
    margin-top: 5px;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.gamemode-tag {
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid var(--glass-border-purple);
    color: var(--accent-purple);
}
/* Unique game badges colors */
.badge-laser { background: rgba(239, 35, 60, 0.2); border: 1px solid #ef233c; color: #ff5c72; }
.badge-dodgeball { background: rgba(255, 159, 28, 0.2); border: 1px solid #ff9f1c; color: #ffb752; }
.badge-battlebox { background: rgba(70, 143, 175, 0.2); border: 1px solid #468faf; color: #81e6e6; }
.badge-slimewalls { background: rgba(56, 176, 0, 0.2); border: 1px solid #38b000; color: #a3ff52; }
.badge-parkourtag { background: rgba(247, 37, 133, 0.2); border: 1px solid #f72585; color: #ff5fa2; }


