/* style.css - GriverRolePlay Cinematic UI */
:root {
    --black: #000000;
    --dark-gray: #080a12;
    --card-bg: rgba(10, 14, 28, 0.8);
    --neon: #00aaff;
    --neon-glow: 0 0 8px rgba(0, 170, 255, 0.6);
    --glass-border: rgba(0, 170, 255, 0.2);
    --transition-smooth: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

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

a {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black);
    color: #ededed;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Global Background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(0,80,200,0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(0,50,160,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0,30,80,0.04) 0%, transparent 70%);
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(0,170,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,170,255,0.022) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

main, nav, footer {
    position: relative;
    z-index: 1;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('bannergr.png') center/cover no-repeat;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#loading-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(2px);
}

.loader-container {
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.loader-logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--neon);
    box-shadow: 0 0 20px rgba(0,170,255,0.5);
    margin-bottom: 1rem;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0,170,255,0.5); }
    50% { box-shadow: 0 0 40px rgba(0,170,255,0.9); }
}

.loader-spinner {
    width: 60px;
    height: 60px;
    margin: 20px auto;
    border: 3px solid rgba(0, 170, 255, 0.2);
    border-top: 3px solid var(--neon);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-container p {
    letter-spacing: 2px;
    font-weight: 500;
    color: var(--neon);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: var(--transition-smooth);
    background: transparent;
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 170, 255, 0.2);
    padding: 0.8rem 2rem;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.logo-img {
    height: 44px;
    width: 44px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--neon);
    box-shadow: 0 0 10px rgba(0,170,255,0.5);
    transition: 0.3s ease;
}
.logo-img:hover {
    box-shadow: 0 0 18px rgba(0,170,255,0.8);
    transform: scale(1.08);
}

.logo-text {
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #f0f0f0;
    font-weight: 500;
    transition: var(--transition-smooth);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--neon);
    text-shadow: var(--neon-glow);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,10,30,0.5) 0%, #000000d9 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 2rem;
    animation: fadeUpGlow 1.2s ease-out;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #0077ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 25px rgba(0,170,255,0.4);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ccc;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    transition: 0.2s ease;
    font-size: 1rem;
    backdrop-filter: blur(4px);
}

.btn-primary {
    background: var(--neon);
    color: #000;
    box-shadow: 0 0 12px rgba(0,170,255,0.5);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00aaff;
    background: #0099ee;
}

.btn-secondary {
    background: rgba(0,20,50,0.7);
    border: 1px solid var(--neon);
    color: white;
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(0,170,255,0.2);
    border-color: var(--neon);
    transform: scale(1.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: #aaa;
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

/* Sections General */
.section {
    padding: 100px 0;
    position: relative;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 700;
}

.neon-text {
    color: var(--neon);
    text-shadow: var(--neon-glow);
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--neon);
    margin: 16px auto;
    border-radius: 4px;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(8, 12, 28, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 170, 255, 0.2);
    border-radius: 24px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 170, 255, 0.6);
    box-shadow: 0 10px 30px -5px rgba(0,170,255,0.2);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 32px 24px;
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    color: var(--neon);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: #b0b0b0;
}

/* Jobs */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.job-card {
    background: #080c18;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.25s ease;
    border: 1px solid #0e1a30;
}

.job-card:hover {
    transform: scale(1.02);
    border-color: var(--neon);
    box-shadow: 0 15px 25px -12px rgba(0,170,255,0.2);
}

.job-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.job-card:hover .job-img {
    transform: scale(1.03);
}

.job-info {
    padding: 20px;
}

.job-tag {
    display: inline-block;
    background: rgba(0,170,255,0.15);
    color: var(--neon);
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 40px;
    margin-top: 12px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 0.9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,10,30,0.6);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.2s;
    color: var(--neon);
    font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Join Steps */
.steps-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 60px;
}

.step-card {
    flex: 1;
    min-width: 240px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -18px;
    left: 20px;
    background: var(--neon);
    color: black;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 0 12px #00aaff;
}

.step-icon {
    font-size: 3rem;
    color: var(--neon);
    margin-bottom: 15px;
}

.discord-cta {
    text-align: center;
    margin-top: 20px;
}

.btn-discord {
    background: #5865F2;
    padding: 16px 42px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: 0.2s;
    box-shadow: 0 5px 15px rgba(88,101,242,0.3);
}

.btn-discord:hover {
    transform: scale(1.02);
    background: #4752c4;
    box-shadow: 0 0 20px #5865f2;
}

.cta-note {
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: #03050a;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(0,170,255,0.15);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 2fr 0.8fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.footer-col h4 {
    color: var(--neon);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.footer-logo span { color: var(--neon); }

.footer-col > p {
    color: #3a3f50;
    font-size: 0.82rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

/* Footer Nav Grid */
.footer-col-nav { width: 100%; }

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 8px;
}

.footer-nav-grid a {
    position: relative;
    color: #4a5060;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 7px 0;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.footer-nav-grid a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neon);
    box-shadow: 0 0 6px rgba(0,170,255,0.8);
    transition: width 0.3s ease;
}

.footer-nav-grid a:hover {
    color: #c8d0e0;
    transform: translateY(-2px);
}

.footer-nav-grid a:hover::after { width: 100%; }

/* Footer other links */
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-col ul li a {
    position: relative;
    color: #4a5060;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 5px 0;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--neon);
    box-shadow: 0 0 6px rgba(0,170,255,0.8);
    transition: width 0.3s ease;
}

.footer-col ul li a:hover {
    color: #c8d0e0;
    transform: translateY(-2px);
}

.footer-col ul li a:hover::after { width: 100%; }

/* Social Links */
.social-links {
    display: flex;
    gap: 16px;
    font-size: 1.3rem;
}

.social-links a {
    color: #3a3f50;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.social-links a:hover {
    color: var(--neon);
    transform: translateY(-3px);
    text-shadow: 0 0 12px rgba(0,170,255,0.7);
}

.footer-bottom {
    max-width: 1300px;
    margin: 40px auto 0;
    padding: 20px 24px 0;
    border-top: 1px solid #0a0d18;
    font-size: 0.78rem;
    color: #2a2f3a;
    text-align: center;
}

@media (max-width: 960px) {
    .footer-container { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
    .footer-container { grid-template-columns: 1fr; }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}
.lightbox-img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 16px;
    border: 2px solid var(--neon);
    box-shadow: 0 0 35px rgba(0,170,255,0.4);
}
.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}
.close-lightbox:hover {
    color: var(--neon);
}

/* Connect Button */
.connect-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #0a0e1ecc;
    backdrop-filter: blur(12px);
    border: 1px solid var(--neon);
    color: var(--neon);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 1100;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.connect-btn:hover {
    background: rgba(0,170,255,0.15);
    transform: scale(1.05);
    width: auto;
    border-radius: 40px;
    padding: 0 20px;
    gap: 10px;
}
.connect-btn:hover .connect-tooltip {
    display: inline;
}
.connect-tooltip {
    display: none;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Animations */
@keyframes fadeUpGlow {
    0% { opacity: 0; transform: translateY(30px); filter: blur(3px);}
    100% { opacity: 1; transform: translateY(0); filter: blur(0);}
}
@keyframes bounce {
    0%,100%{ transform: translateX(-50%) translateY(0);}
    50%{ transform: translateX(-50%) translateY(8px);}
}
.fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
    .hero-title { font-size: 3.5rem; }
    .nav-links { display: none; }
    .hamburger { display: block; }
    .navbar.active .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0,5,20,0.97);
        backdrop-filter: blur(20px);
        padding: 30px;
        gap: 1.5rem;
        text-align: center;
    }
    .section { padding: 70px 0; }
}
@media (max-width: 640px) {
    .hero-title { font-size: 2.5rem; }
    .btn { padding: 8px 20px; }
}

/* Discord Auth */
.nav-auth {
    display: flex;
    align-items: center;
    min-width: 120px;
    justify-content: flex-end;
}

.btn-login-discord {
    background: #5865F2;
    color: white;
    padding: 8px 18px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.btn-login-discord:hover {
    background: #4752c4;
    transform: scale(1.04);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,170,255,0.05);
    border: 1px solid rgba(0,170,255,0.25);
    padding: 6px 14px 6px 6px;
    border-radius: 40px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--neon);
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.btn-logout {
    color: #ff5555;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.2s;
    margin-left: 4px;
}

.btn-logout:hover {
    color: #ff2222;
    transform: scale(1.1);
}

@media (max-width: 960px) {
    .nav-auth { margin-right: 50px; }
    .user-name { display: none; }
}

/* Shop Section */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.shop-card {
    background: rgba(8,12,28,0.85);
    border: 1px solid rgba(0,170,255,0.15);
    border-radius: 24px;
    overflow: hidden;
    transition: 0.25s ease;
    position: relative;
}

.shop-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,170,255,0.5);
    box-shadow: 0 12px 30px -8px rgba(0,170,255,0.2);
}

.shop-card.sold-out {
    opacity: 0.6;
    pointer-events: none;
}

.sold-out-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ff4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 40px;
    letter-spacing: 1px;
    z-index: 2;
}

.shop-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(0,10,30,0.5);
}

.shop-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.shop-card:hover .shop-img img {
    transform: scale(1.05);
}

.shop-info {
    padding: 20px;
}

.shop-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.shop-info p {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.shop-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.shop-price {
    color: var(--neon);
    font-weight: 700;
    font-size: 1rem;
}

.btn-add-cart {
    background: var(--neon);
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-add-cart:hover:not(:disabled) {
    background: #0099ee;
    box-shadow: 0 0 12px rgba(0,170,255,0.4);
}

.btn-add-cart:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

/* Cart Toggle Button */
.cart-toggle-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #0a0e1ecc;
    backdrop-filter: blur(12px);
    border: 1px solid var(--neon);
    color: var(--neon);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1100;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-toggle-btn:hover {
    background: rgba(0,170,255,0.15);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -380px;
    width: 360px;
    height: 100%;
    background: rgba(5,8,20,0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0,170,255,0.2);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1999;
    backdrop-filter: blur(2px);
}

.cart-overlay.show {
    display: block;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(0,170,255,0.15);
}

.cart-header h3 {
    font-size: 1.2rem;
    color: var(--neon);
}

.cart-header button {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.2s;
}

.cart-header button:hover { color: #fff; }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,170,255,0.05);
    border: 1px solid rgba(0,170,255,0.15);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--neon);
    margin-top: 4px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ff5555;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
}

.cart-item-remove:hover { color: #ff2222; transform: scale(1.1); }

.cart-empty {
    text-align: center;
    color: #555;
    margin-top: 60px;
    font-size: 0.9rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(0,170,255,0.15);
}

.btn-checkout {
    display: block;
    text-align: center;
    background: var(--neon);
    color: #000;
    font-weight: 700;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-checkout:hover {
    background: #0099ee;
    box-shadow: 0 0 20px rgba(0,170,255,0.4);
}

@media (max-width: 640px) {
    .cart-sidebar { width: 100%; right: -100%; }
}

/* Whitelist Nav Link */
.nav-link-wl {
    color: var(--neon) !important;
    border: 1px solid rgba(0,170,255,0.4);
    padding: 6px 14px !important;
    border-radius: 40px;
    font-weight: 700 !important;
    transition: 0.2s !important;
}
.nav-link-wl:hover {
    background: rgba(0,170,255,0.15);
    border-color: var(--neon);
    text-shadow: none !important;
}

/* Whitelisted Roles */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.role-card {
    position: relative;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0,170,255,0.1);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.role-card:hover {
    border-color: rgba(0,170,255,0.5);
    box-shadow: 0 0 30px rgba(0,170,255,0.15), 0 20px 40px rgba(0,0,0,0.5);
    transform: translateY(-6px);
}

.role-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.role-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.role-card:hover .role-img img {
    transform: scale(1.08);
}

.role-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,10,0.95) 0%,
        rgba(0,0,10,0.5) 45%,
        rgba(0,0,10,0.1) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.role-card:hover::after {
    background: linear-gradient(to top,
        rgba(0,5,20,0.98) 0%,
        rgba(0,5,20,0.6) 50%,
        rgba(0,170,255,0.04) 100%);
}

/* Top neon line on hover */
.role-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
    z-index: 3;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.role-card:hover::before { opacity: 1; }

.role-icon {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0,0,10,0.7);
    border: 1px solid rgba(0,170,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--neon);
    z-index: 2;
    backdrop-filter: blur(8px);
    transition: background 0.3s, box-shadow 0.3s;
}

.role-card:hover .role-icon {
    background: rgba(0,170,255,0.15);
    box-shadow: 0 0 14px rgba(0,170,255,0.4);
}

.role-card h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    margin: 0;
    transition: transform 0.4s ease;
}

.role-card p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 20px 20px;
    font-size: 0.8rem;
    color: #aaa;
    line-height: 1.65;
    background: linear-gradient(to top, rgba(0,5,20,0.98) 60%, transparent);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.2,0.9,0.4,1), opacity 0.4s ease;
    z-index: 3;
    margin: 0;
}

.role-card:hover p {
    transform: translateY(0);
    opacity: 1;
}

.role-card:hover h3 {
    transform: translateY(-55px);
}

.role-card:hover .role-icon {
    transform: translateY(0);
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.about-tag {
    display: inline-block;
    background: rgba(0,170,255,0.1);
    border: 1px solid rgba(0,170,255,0.25);
    color: var(--neon);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 40px;
    margin-bottom: 16px;
}

.about-left h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.about-left p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-left strong { color: #fff; }

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,170,255,0.08);
    border: 1px solid rgba(0,170,255,0.2);
    color: var(--neon);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 12px;
    margin: 6px 0 16px;
}

.about-quote {
    font-style: italic;
    color: #666 !important;
    font-size: 0.88rem !important;
    border-left: 2px solid var(--neon);
    padding-left: 14px;
    margin-top: 8px !important;
}

.about-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-stat {
    padding: 24px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.about-stat i {
    font-size: 1.4rem;
    color: var(--neon);
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    color: #777;
    text-align: center;
}

@media (max-width: 960px) {
    .about-wrapper { grid-template-columns: 1fr; }
    .about-right { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
    .about-right { grid-template-columns: 1fr 1fr; }
    .about-left h2 { font-size: 1.8rem; }
}

/* Footer Legal Links */
.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.footer-legal a {
    color: #444;
    text-decoration: none;
    font-size: 0.78rem;
    transition: 0.2s;
}
.footer-legal a:hover { color: var(--neon); }
.footer-legal span { color: #333; font-size: 0.7rem; }

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.team-card {
    background: rgba(6,10,22,0.85);
    border: 1px solid rgba(0,170,255,0.1);
    border-radius: 20px;
    padding: 28px 20px 22px;
    text-align: center;
    transition: transform 0.35s cubic-bezier(0.2,0.9,0.4,1.1), border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,170,255,0.3), transparent);
    opacity: 0;
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,170,255,0.4);
    box-shadow: 0 16px 40px -10px rgba(0,170,255,0.15);
}

.team-card:hover::before { opacity: 1; }

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 2px solid rgba(0,170,255,0.3);
    overflow: hidden;
    background: rgba(0,170,255,0.08);
    transition: 0.3s;
}

.team-card:hover .team-avatar {
    border-color: var(--neon);
    box-shadow: 0 0 16px rgba(0,170,255,0.4);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.team-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 40px;
    letter-spacing: 0.5px;
}

/* Role Colors */
.role-ceo       { background: rgba(255,215,0,0.12);  color: #ffd700; border: 1px solid rgba(255,215,0,0.25); }
.role-dev       { background: rgba(0,170,255,0.12);  color: #00aaff; border: 1px solid rgba(0,170,255,0.25); }
.role-devdir    { background: rgba(0,120,255,0.12);  color: #0088ff; border: 1px solid rgba(0,120,255,0.25); }
.role-mapdev    { background: rgba(0,200,150,0.12);  color: #00c896; border: 1px solid rgba(0,200,150,0.25); }
.role-cardev    { background: rgba(255,100,0,0.12);  color: #ff6400; border: 1px solid rgba(255,100,0,0.25); }
.role-anticheat { background: rgba(255,50,50,0.12);  color: #ff4444; border: 1px solid rgba(255,50,50,0.25); }
.role-legal     { background: rgba(180,140,255,0.12);color: #b48cff; border: 1px solid rgba(180,140,255,0.25); }
.role-illegal   { background: rgba(150,0,0,0.15);    color: #ff6666; border: 1px solid rgba(150,0,0,0.3); }
.role-media     { background: rgba(255,60,130,0.12); color: #ff3c82; border: 1px solid rgba(255,60,130,0.25); }
.role-designer  { background: rgba(255,170,0,0.12);  color: #ffaa00; border: 1px solid rgba(255,170,0,0.25); }
.role-pr        { background: rgba(0,220,180,0.12);  color: #00dcb4; border: 1px solid rgba(0,220,180,0.25); }
.role-story     { background: rgba(120,80,255,0.12); color: #7850ff; border: 1px solid rgba(120,80,255,0.25); }
.role-coord     { background: rgba(0,170,255,0.1);   color: #55ccff; border: 1px solid rgba(0,170,255,0.2); }
.role-strategy  { background: rgba(255,200,0,0.1);   color: #ffc800; border: 1px solid rgba(255,200,0,0.2); }
.role-supervisor{ background: rgba(100,200,255,0.1); color: #64c8ff; border: 1px solid rgba(100,200,255,0.2); }
.role-tester    { background: rgba(0,255,100,0.1);   color: #00ff64; border: 1px solid rgba(0,255,100,0.2); }

@media (max-width: 640px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .team-avatar { width: 64px; height: 64px; }
}

/* Ambient Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,100,255,0.08) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-duration: 14s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,170,255,0.06) 0%, transparent 70%);
    bottom: 10%;
    right: -80px;
    animation-duration: 18s;
    animation-delay: -6s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,60,180,0.07) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%       { transform: translate(30px, -40px) scale(1.05); }
    50%       { transform: translate(-20px, 30px) scale(0.95); }
    75%       { transform: translate(40px, 20px) scale(1.02); }
}

/* Section Separator */
.section::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,170,255,0.1), transparent);
}

/* Glow on section headers */
.section-header h2 {
    position: relative;
}

/* Store Header Box */
.store-header-box {
    display: inline-block;
    background: rgba(0,170,255,0.05);
    border: 1px solid rgba(0,170,255,0.18);
    border-radius: 20px;
    padding: 32px 48px;
    position: relative;
    overflow: hidden;
    max-width: 680px;
    margin: 0 auto;
}

.store-header-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,170,255,0.5), transparent);
}

.store-header-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(0,170,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.store-header-box h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.store-header-box p {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* Shop Page Top Bar */
.top-bar-shop {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,170,255,0.1);
}

.top-bar-logo-shop {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.top-bar-logo-shop img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--neon);
    box-shadow: var(--neon-glow);
}

.top-bar-logo-shop span {
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
}

.back-shop {
    color: #555;
    text-decoration: none;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}

.back-shop:hover { color: var(--neon); }

/* ===== NEW HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #000005 0%, #00050f 50%, #000208 100%);
    background-image: none !important;
}

.hero-split {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    height: 100%;
}

/* Rain */
.hero-rain {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}
.rain-drop {
    position: absolute;
    top: -20px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0,170,255,0.15));
    animation: rainFall linear infinite;
    border-radius: 2px;
}
@keyframes rainFall {
    0% { transform: translateY(-20px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 0.5; }
    100% { transform: translateY(110vh); opacity: 0; }
}

/* Left */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
    animation: heroFadeLeft 1s ease-out;
}
@keyframes heroFadeLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,170,255,0.08);
    border: 1px solid rgba(0,170,255,0.25);
    color: var(--neon);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 3px;
    padding: 6px 16px;
    border-radius: 40px;
    width: fit-content;
}
.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 8px var(--neon);
    animation: badgePulse 1.5s ease-in-out infinite;
}
@keyframes badgePulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title-new {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1;
}
.title-line-1 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 40px rgba(0,170,255,0.3);
}
.title-line-2 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #00aaff, #0044ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,170,255,0.3);
    filter: drop-shadow(0 0 20px rgba(0,170,255,0.5));
}

.hero-desc {
    font-size: 1rem;
    color: #778;
    line-height: 1.8;
    max-width: 480px;
    font-style: italic;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00aaff, #0066dd);
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.25s ease;
    box-shadow: 0 0 20px rgba(0,170,255,0.35), 0 4px 15px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}
.btn-play::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: 0.2s;
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 0 35px rgba(0,170,255,0.6), 0 8px 25px rgba(0,0,0,0.4); }
.btn-play:hover::before { opacity: 1; }

.btn-rules {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.04);
    color: #ccc;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.12);
    transition: 0.25s ease;
    backdrop-filter: blur(8px);
}
.btn-rules:hover {
    border-color: rgba(0,170,255,0.4);
    color: var(--neon);
    background: rgba(0,170,255,0.06);
    transform: translateY(-2px);
}

.hero-players {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 10px 18px;
    border-radius: 4px;
    width: fit-content;
    backdrop-filter: blur(8px);
}
.players-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--neon);
    box-shadow: 0 0 10px var(--neon);
    animation: badgePulse 2s ease-in-out infinite;
}
.players-count {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}
.players-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #556;
}

/* Right: Character */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    animation: heroFadeRight 1s ease-out;
}
@keyframes heroFadeRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-char-wrap {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 80vh;
    max-height: 700px;
}

.hero-char-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse at center bottom, rgba(0,100,255,0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-char-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 2px;
    position: relative;
    z-index: 2;
    filter: saturate(1.1) contrast(1.05);
}

.hero-char-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(to right, #000005 0%, transparent 20%),
        linear-gradient(to top, #000005 0%, transparent 15%),
        linear-gradient(to bottom, rgba(0,0,5,0.3) 0%, transparent 20%);
    pointer-events: none;
    border-radius: 2px;
}

/* Scanline effect */
.hero-char-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 4;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
    );
    pointer-events: none;
    border-radius: 2px;
}

/* Neon border accent */
.hero-char-wrap::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 2px;
    height: 60%;
    background: linear-gradient(to bottom, var(--neon), transparent);
    z-index: 5;
    box-shadow: 0 0 12px var(--neon);
}

/* Override old hero styles */
.hero-overlay { display: none; }
.hero-content { display: none; }

@media (max-width: 960px) {
    .hero-split {
        grid-template-columns: 1fr;
        padding: 0 24px;
        padding-top: 100px;
        align-items: flex-start;
        gap: 30px;
    }
    .hero-right { display: none; }
    .title-line-2 { font-size: 3.5rem; }
}
