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

:root {
    /* Gaming Color Palette */
    --primary-color: #00ff88;
    --secondary-color: #ff0055;
    --accent-blue: #00d4ff;
    --accent-yellow: #ffcc00;
    --accent-red: #ff3333;
    
    /* Dark Background Colors */
    --bg-dark: #0a0e1a;
    --bg-darker: #050810;
    --bg-card: #131829;
    --bg-card-hover: #1a2139;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8c1ec;
    --text-muted: #7a8ab0;
    
    /* Status Colors */
    --status-green: #00ff88;
    --status-yellow: #ffcc00;
    --status-blue: #00d4ff;
    --status-red: #ff3333;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e1a 0%, #131829 100%);
    --gradient-card: linear-gradient(145deg, #131829 0%, #1a2139 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 255, 136, 0.3);
    
    /* Typography */
    --font-primary: 'Rajdhani', sans-serif;
    --font-accent: 'Orbitron', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   NAVIGATION
   =========================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(0, 255, 136, 0.1);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    font-family: var(--font-accent);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
}

.nav-link.discord-btn {
    background: #5865F2;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
}

.nav-link.discord-btn:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary-color);
    padding: 10px;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
    color: var(--accent-blue);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary-color);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-darker);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    overflow: hidden;
    padding: 100px 20px 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="1" fill="rgba(0,255,136,0.1)"/></svg>');
    opacity: 0.3;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.2); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 136, 0.4); }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.title-main {
    font-family: var(--font-accent);
    font-size: 72px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1;
}

.title-number {
    font-family: var(--font-accent);
    font-size: 96px;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    letter-spacing: 5px;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 30px rgba(0, 255, 136, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-accent);
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===========================
   STATUS LEGEND
   =========================== */
.status-legend {
    background: var(--bg-card);
    padding: 30px 20px;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.status-legend h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.legend-items {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.status-icon {
    font-size: 20px;
}

/* ===========================
   SECTION STYLES
   =========================== */
.shop-section,
.calculator-section,
.trade-section,
.contact-section {
    padding: 100px 20px;
}

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

.section-title {
    font-family: var(--font-accent);
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-muted);
}

/* ===========================
   SHOP CONTROLS
   =========================== */
.shop-controls {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 18px;
}

.search-box input {
    width: 100%;
    padding: 15px 20px 15px 55px;
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.filter-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

/* ===========================
   PRODUCTS GRID
   =========================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-card {
    position: relative;
    background: var(--gradient-card);
    border: 2px solid rgba(0, 255, 136, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.product-status {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 24px;
}

.product-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-category {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.product-price {
    font-family: var(--font-accent);
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-note {
    font-size: 12px;
    color: var(--accent-blue);
    margin-bottom: 15px;
    font-style: italic;
}

.btn-add-cart {
    width: 100%;
    padding: 12px 20px;
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
}

.btn-add-cart:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: scale(1.05);
}

/* ===========================
   CALCULATOR SECTION
   =========================== */
.calculator-section {
    background: var(--bg-darker);
}

.calculator-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-items {
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 136, 0.1);
    border-radius: 15px;
    padding: 30px;
    min-height: 400px;
}

.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 20px;
    color: var(--text-muted);
}

.empty-cart i {
    font-size: 64px;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-darker);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 255, 136, 0.1);
}

.cart-item-icon {
    font-size: 32px;
    color: var(--primary-color);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 14px;
    color: var(--text-muted);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-qty-btn {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border: none;
    border-radius: 5px;
    color: var(--bg-dark);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-item-qty-btn:hover {
    transform: scale(1.1);
}

.cart-item-qty {
    font-size: 18px;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

.cart-item-total {
    font-family: var(--font-accent);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 100px;
    text-align: right;
}

.cart-item-remove {
    background: var(--secondary-color);
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.cart-summary {
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-secondary);
}

.summary-divider {
    height: 2px;
    background: rgba(0, 255, 136, 0.2);
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.btn-order,
.btn-clear {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

.btn-order {
    background: #5865F2;
    color: white;
}

.btn-order:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

.btn-clear {
    background: rgba(255, 51, 51, 0.1);
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
}

.btn-clear:hover {
    background: var(--accent-red);
    color: white;
}

/* ===========================
   TRADE SECTION
   =========================== */
.trade-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.trade-card {
    background: var(--gradient-card);
    border: 2px solid rgba(0, 255, 136, 0.1);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.trade-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.trade-icon {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.trade-card h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.trade-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.8;
}

.trade-info {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--accent-blue);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--accent-blue);
}

.trade-info i {
    font-size: 24px;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-section {
    background: var(--bg-darker);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.discord-box {
    background: var(--gradient-card);
    border: 2px solid rgba(88, 101, 242, 0.3);
    border-radius: 15px;
    padding: 60px;
    text-align: center;
}

.discord-logo {
    font-size: 96px;
    color: #5865F2;
    margin-bottom: 30px;
}

.discord-box h3 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.discord-box p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 18px;
}

.btn-discord {
    background: #5865F2;
    color: white;
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.discord-link {
    margin-top: 25px;
    padding: 15px;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #5865F2;
    font-family: monospace;
    font-size: 14px;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--bg-darker);
    border-top: 2px solid rgba(0, 255, 136, 0.1);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: var(--font-accent);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(88, 101, 242, 0.2);
    border: 2px solid #5865F2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #5865F2;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #5865F2;
    color: white;
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.btn-footer-discord {
    background: #5865F2;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-footer-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-note {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ===========================
   MODAL
   =========================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 50px;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.modal-icon {
    text-align: center;
    font-size: 72px;
    color: #5865F2;
    margin-bottom: 25px;
}

.modal-content h2 {
    text-align: center;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-content p {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.modal-order-summary {
    background: var(--bg-darker);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    max-height: 300px;
    overflow-y: auto;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* ===========================
   SCROLL TO TOP BUTTON
   =========================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--bg-dark);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .calculator-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: left 0.3s ease;
        border-top: 2px solid rgba(0, 255, 136, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .title-main {
        font-size: 42px;
    }
    
    .title-number {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .legend-items {
        flex-direction: column;
        gap: 15px;
    }
    
    .cart-item {
        flex-wrap: wrap;
    }
    
    .discord-box {
        padding: 40px 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 32px;
    }
    
    .title-number {
        font-size: 42px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
        flex-direction: column;
        gap: 10px;
    }
}