/* ============================
   VEXIUM - Main Stylesheet
   ============================ */

:root {
    --radius: 0.625rem;
    --background: #080b14;
    --foreground: #e8eaf6;
    --card: #0d1120;
    --card-foreground: #e8eaf6;
    --primary: #6c63ff;
    --primary-foreground: #ffffff;
    --secondary: #1a2035;
    --secondary-foreground: #e8eaf6;
    --muted: #131827;
    --muted-foreground: #7b87a8;
    --accent: #6c63ff;
    --accent-foreground: #ffffff;
    --destructive: #ff4757;
    --border: rgba(108, 99, 255, 0.15);
    --input: rgba(108, 99, 255, 0.1);
    --ring: #6c63ff;
    --vex-purple: #6c63ff;
    --vex-blue: #4facfe;
    --vex-cyan: #00f2fe;
    --vex-gold: #ffd700;
    --vex-glow: rgba(108, 99, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: var(--border);
}

html { scroll-behavior: smooth; }

body {
    background-color: #080b14;
    color: #e8eaf6;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #080b14; }
::-webkit-scrollbar-thumb { background: #6c63ff; border-radius: 3px; }
::selection { background: rgba(108,99,255,0.4); color: #fff; }

/* Particles Canvas */
#particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* ============================
   NAVBAR
   ============================ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background: rgba(8,11,20,0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: rgba(8,11,20,0.97);
    border-bottom: 1px solid rgba(108,99,255,0.2);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-branding {
    width: 100%;
    text-align: center;
    padding: 0.25rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg,#6c63ff22,#4facfe22,#6c63ff22);
    color: #a8b4d8;
    border-bottom: 1px solid rgba(108,99,255,0.15);
}

.nav-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6c63ff, #4facfe);
    box-shadow: 0 0 15px rgba(108,99,255,0.5);
    color: white;
}

.nav-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #6c63ff, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links-desktop {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: rgba(232,234,246,0.7);
    background: transparent;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #6c63ff;
    background: rgba(108,99,255,0.1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-modpack-btn {
    display: none;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg,#6c63ff,#4facfe);
    color: #fff;
    box-shadow: 0 0 12px rgba(108,99,255,0.4);
    transition: all 0.2s ease;
}

.nav-modpack-btn:hover {
    transform: translateY(-2px);
}

.nav-server-ip {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-family: monospace;
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.2);
    color: #a8b4d8;
}

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.2);
    color: #a8b4d8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-cart:hover { background: rgba(108,99,255,0.2); }

.nav-cart-count {
    position: absolute;
    top: -0.375rem;
    right: -0.375rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6c63ff, #4facfe);
    box-shadow: 0 0 8px rgba(108,99,255,0.6);
    color: white;
}

.nav-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.2);
    color: #a8b4d8;
    cursor: pointer;
}

.nav-mobile-menu {
    padding-bottom: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(108,99,255,0.15);
}

.nav-mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: rgba(232,234,246,0.7);
    margin-bottom: 0.25rem;
}

.nav-mobile-link.active {
    color: #6c63ff;
    background: rgba(108,99,255,0.1);
}

/* ============================
   UTILITIES
   ============================ */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-sm { max-width: 48rem; }
.container-md { max-width: 64rem; }

.text-gradient {
    background: linear-gradient(135deg, #6c63ff 0%, #4facfe 50%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(13,17,32,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(108,99,255,0.15);
}

.glass-hover {
    transition: all 0.3s ease;
}

.glass-hover:hover {
    background: rgba(108,99,255,0.08);
    border-color: rgba(108,99,255,0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108,99,255,0.2);
}

.glow-purple { box-shadow: 0 0 20px rgba(108,99,255,0.4); }
.glow-gold   { box-shadow: 0 0 20px rgba(255,215,0,0.4); }

.bg-hero {
    background: radial-gradient(ellipse at 20% 50%, rgba(108,99,255,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(79,172,254,0.1) 0%, transparent 50%),
                #080b14;
}

.bg-grid {
    background-image:
        linear-gradient(rgba(108,99,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(108,99,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #00ff88;
    box-shadow: 0 0 6px #00ff88;
    display: inline-block;
    flex-shrink: 0;
}

/* ============================
   BUTTONS
   ============================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #6c63ff 0%, #4facfe 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108,99,255,0.5);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.3);
    color: #a8b4d8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(108,99,255,0.2);
    border-color: rgba(108,99,255,0.5);
}

/* ============================
   FORM ELEMENTS
   ============================ */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: rgba(108,99,255,0.08);
    border: 1px solid rgba(108,99,255,0.25);
    color: #e8eaf6;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-input:focus {
    border-color: #6c63ff;
}

.form-input::placeholder {
    color: #7b87a8;
}

.form-input.error {
    border-color: #fc8181;
}

.form-input.success {
    border-color: #68d391;
}

/* Checkbox */
.custom-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    border: 2px solid rgba(108,99,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    margin-top: 0.125rem;
}

.custom-checkbox.checked {
    background: linear-gradient(135deg,#6c63ff,#4facfe);
    border: none;
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(108,99,255,0.3); }
    50% { box-shadow: 0 0 40px rgba(108,99,255,0.7), 0 0 80px rgba(108,99,255,0.3); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2.5s ease-in-out infinite; }
.animate-slide-up { animation: slide-up 0.6s ease-out forwards; }
.animate-spin { animation: spin 1s linear infinite; }

/* ============================
   PAGE SECTIONS
   ============================ */
.page-section {
    position: relative;
    z-index: 10;
    padding-top: 7rem;
    padding-bottom: 5rem;
    flex: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h1 {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-title p {
    color: #7b87a8;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 6rem;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.3);
    color: #a78bfa;
    margin-bottom: 2rem;
}

.hero-badge .status-dot {
    background: #ff7043;
    box-shadow: 0 0 6px #ff7043;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(232,234,246,0.7);
}

.hero-desc {
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    color: rgba(232,234,246,0.55);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.hero-ip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(108,99,255,0.2);
    color: #a8b4d8;
    font-family: monospace;
    font-size: 0.875rem;
    cursor: pointer;
    user-select: all;
}

/* ============================
   STATS
   ============================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    border-radius: 1rem;
    padding: 2rem;
    background: rgba(13,17,32,0.8);
    border: 1px solid rgba(108,99,255,0.15);
    backdrop-filter: blur(20px);
}

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

.stat-value {
    font-size: 1.875rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #7b87a8;
}

/* ============================
   FEATURES
   ============================ */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-card h3 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #7b87a8;
}

/* ============================
   STEPS
   ============================ */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.step-card {
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.step-num {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    color: white;
    background: linear-gradient(135deg,#6c63ff,#4facfe);
}

/* ============================
   SHOP
   ============================ */
.shop-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    padding: 0.5rem;
    border-radius: 1rem;
    background: rgba(13,17,32,0.8);
    border: 1px solid rgba(108,99,255,0.15);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.shop-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: #7b87a8;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.shop-tab.active {
    background: linear-gradient(135deg, #6c63ff, #4facfe);
    color: #fff;
    box-shadow: 0 4px 15px rgba(108,99,255,0.4);
}

.shop-tab .tab-count {
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    background: rgba(108,99,255,0.2);
    color: #6c63ff;
}

.shop-tab.active .tab-count {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Duration selector */
.duration-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.duration-options {
    display: flex;
    padding: 0.25rem;
    border-radius: 0.75rem;
    gap: 0.25rem;
    background: rgba(13,17,32,0.9);
    border: 1px solid rgba(108,99,255,0.2);
}

.duration-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    background: transparent;
    color: #7b87a8;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.duration-btn.active {
    background: linear-gradient(135deg,#6c63ff,#4facfe);
    color: #fff;
    box-shadow: 0 4px 12px rgba(108,99,255,0.4);
}

.duration-badge {
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    font-weight: 700;
    background: rgba(104,211,145,0.2);
    color: #68d391;
    border: 1px solid rgba(104,211,145,0.3);
}

/* Rank Cards */
.ranks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.rank-card {
    position: relative;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    background: rgba(13,17,32,0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.rank-card:hover {
    transform: translateY(-2px);
}

.rank-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    background: linear-gradient(135deg,#6c63ff,#4facfe);
    box-shadow: 0 4px 12px rgba(108,99,255,0.4);
}

.rank-badge.legend {
    background: linear-gradient(135deg,#6c63ff,#ffd700);
}

.rank-badge.top {
    background: linear-gradient(135deg,#ffd700,#ffb347);
}

.rank-name {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    width: fit-content;
    font-size: 0.875rem;
    font-weight: 700;
}

.rank-duration {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.375rem 0.625rem;
    border-radius: 0.5rem;
    width: fit-content;
    background: rgba(255,255,255,0.05);
    color: #a8b4d8;
}

.rank-price {
    font-size: 1.875rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.rank-description {
    font-size: 0.75rem;
    color: #7b87a8;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.rank-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rank-stat {
    border-radius: 0.5rem;
    padding: 0.625rem;
    text-align: center;
    font-size: 0.75rem;
    background: rgba(255,255,255,0.04);
}

.rank-stat-value {
    font-weight: 700;
    font-size: 0.875rem;
}

.rank-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.rank-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #a8b4d8;
    margin-bottom: 0.375rem;
}

.rank-features li .check-icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.rank-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Key Cards */
.keys-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto;
}

.key-card {
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background: rgba(13,17,32,0.9);
    backdrop-filter: blur(10px);
}

.key-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.key-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.key-price {
    font-size: 1.875rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.key-description {
    font-size: 0.875rem;
    color: #7b87a8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.key-features-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    color: #7b87a8;
}

.key-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.key-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #a8b4d8;
    margin-bottom: 0.375rem;
}

/* ============================
   CART
   ============================ */
.cart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.cart-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(13,17,32,0.9);
}

.cart-item-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 0.75rem;
    color: #7b87a8;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255,255,255,0.05);
}

.cart-item-qty button {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #7b87a8;
    cursor: pointer;
}

.cart-item-total {
    font-weight: 700;
    white-space: nowrap;
}

.cart-item-remove {
    padding: 0.375rem;
    border-radius: 0.375rem;
    background: none;
    border: none;
    color: #7b87a8;
    cursor: pointer;
    transition: color 0.2s;
}

.cart-item-remove:hover { color: #fc8181; }

/* Cart Summary */
.cart-summary {
    border-radius: 1rem;
    padding: 1.5rem;
    background: rgba(13,17,32,0.9);
    border: 1px solid rgba(108,99,255,0.2);
    position: sticky;
    top: 6rem;
}

.cart-summary h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.cart-summary-items {
    margin-bottom: 1.25rem;
}

.cart-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.cart-summary-item span:first-child {
    color: #7b87a8;
    margin-right: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.cart-summary-total {
    border-top: 1px solid rgba(108,99,255,0.15);
    padding-top: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-summary-total .total-price {
    font-size: 1.5rem;
    font-weight: 900;
}

/* ============================
   CHECKOUT
   ============================ */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.checkout-box {
    border-radius: 1rem;
    padding: 1.5rem;
    background: rgba(13,17,32,0.9);
    border: 1px solid rgba(108,99,255,0.2);
}

.checkout-box h2 {
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-num {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    background: linear-gradient(135deg,#6c63ff,#4facfe);
    color: white;
    flex-shrink: 0;
}

/* ============================
   RULES / AGREEMENT
   ============================ */
.rules-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rule-section {
    border-radius: 1rem;
    padding: 1.5rem;
    background: rgba(13,17,32,0.9);
    border: 1px solid rgba(108,99,255,0.15);
}

.rule-section h2 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rule-num {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    color: white;
    background: linear-gradient(135deg,#6c63ff,#4facfe);
    flex-shrink: 0;
}

.rule-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.rule-item:last-child { margin-bottom: 0; }

.rule-text {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #a8b4d8;
}

.rule-sub {
    font-family: monospace;
    font-weight: 700;
    color: #6c63ff;
    min-width: 2.5rem;
    flex-shrink: 0;
}

.rule-punishment {
    margin-left: 3.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    width: fit-content;
    background: rgba(252,129,129,0.08);
    border: 1px solid rgba(252,129,129,0.2);
    color: #fc8181;
}

/* ============================
   FAQ
   ============================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(13,17,32,0.9);
    border: 1px solid rgba(108,99,255,0.12);
    transition: border-color 0.2s;
}

.faq-item.active {
    border-color: rgba(108,99,255,0.35);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    background: none;
    border: none;
    color: #e8eaf6;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #a8b4d8;
}

/* ============================
   MODS PAGE
   ============================ */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-detail {
    border-radius: 1rem;
    padding: 1.5rem;
    background: rgba(13,17,32,0.9);
    backdrop-filter: blur(10px);
}

.step-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content {
    list-style: none;
}

.step-content li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #a8b4d8;
    margin-bottom: 0.5rem;
}

/* ============================
   CONTACT PAGE
   ============================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-card {
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ============================
   REFUND PAGE
   ============================ */
.refund-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.refund-box {
    border-radius: 1rem;
    padding: 1.5rem;
}

/* ============================
   ALERTS / INFO BOXES
   ============================ */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.info-box.purple {
    background: rgba(108,99,255,0.08);
    border: 1px solid rgba(108,99,255,0.2);
}

.info-box.green {
    background: rgba(104,211,145,0.08);
    border: 1px solid rgba(104,211,145,0.3);
}

.info-box.orange {
    background: rgba(252,129,74,0.08);
    border: 1px solid rgba(252,129,74,0.3);
}

.info-box.red {
    background: rgba(252,129,129,0.1);
    border: 1px solid rgba(252,129,129,0.3);
}

.info-box-icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
    background: #060910;
    border-top: 1px solid rgba(108,99,255,0.15);
    margin-top: auto;
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6c63ff, #4facfe);
    box-shadow: 0 0 20px rgba(108,99,255,0.4);
    color: white;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6c63ff, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #7b87a8;
    margin-bottom: 1rem;
    max-width: 20rem;
}

.footer-server-info {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: rgba(0,255,136,0.06);
    border: 1px solid rgba(0,255,136,0.2);
}

.footer-server-ip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-family: monospace;
    font-weight: 700;
    color: #00ff88;
}

.footer-server-version {
    font-size: 0.75rem;
    color: #7b87a8;
}

.footer-links-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: #6c63ff;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: #7b87a8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-modpack-link {
    margin-top: 1rem;
}

.footer-modpack-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c63ff;
    text-decoration: none;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(108,99,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.75rem;
    color: #4a5568;
}

.footer-security {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #4a5568;
}

/* ============================
   TOAST NOTIFICATIONS
   ============================ */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background: #0d1120;
    border: 1px solid rgba(108,99,255,0.3);
    color: #e8eaf6;
    font-size: 0.875rem;
    animation: slide-up 0.3s ease;
    max-width: 20rem;
}

.toast.success { border-color: rgba(104,211,145,0.4); }
.toast.error { border-color: rgba(252,129,129,0.4); }

/* ============================
   RESPONSIVE
   ============================ */
@media (min-width: 640px) {
    .hero-title { font-size: 4.5rem; }
    .hero-subtitle { font-size: 1.5rem; }
    .hero-actions { flex-direction: row; }
    
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 768px) {
    .nav-links-desktop { display: flex; }
    .nav-mobile-btn { display: none; }
    .nav-modpack-btn { display: flex; }
    .nav-server-ip { display: flex; }
    
    .ranks-grid { grid-template-columns: repeat(2, 1fr); }
    
    .keys-grid { grid-template-columns: repeat(2, 1fr); }
    
    .cart-grid { grid-template-columns: 2fr 1fr; }
    .checkout-grid { grid-template-columns: 2fr 1fr; }
    
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(4, 1fr); }
    
    .ranks-grid { grid-template-columns: repeat(3, 1fr); }
    
    .section-title h1 { font-size: 3rem; }
}

/* ============================
   LOADING SPINNER
   ============================ */
.spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ============================
   UTILITY CLASSES
   ============================ */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-20 { padding-bottom: 5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.grid { display: grid; }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.gap-4 { gap: 1rem; }

.relative { position: relative; }
.z-10 { z-index: 10; }

.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hidden { display: none; }

/* ============================
   EMPTY STATE
   ============================ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1rem;
}

.empty-state-icon {
    width: 6rem;
    height: 6rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.2);
    color: #6c63ff;
}

/* ============================
   MODS - Download Box
   ============================ */
.download-box {
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    background: rgba(13,17,32,0.9);
    border: 1px solid rgba(108,99,255,0.3);
    backdrop-filter: blur(10px);
}

.download-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg,#6c63ff,#4facfe);
    box-shadow: 0 8px 30px rgba(108,99,255,0.4);
    color: white;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(135deg, #6c63ff, #4facfe);
    color: #fff;
    box-shadow: 0 8px 30px rgba(108,99,255,0.5);
    transition: all 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-4px);
}

/* IP Box */
.ip-box {
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    background: rgba(13,17,32,0.9);
    border: 1px solid rgba(0,255,136,0.3);
}

.ip-address {
    display: inline-block;
    font-family: monospace;
    font-size: 1.25rem;
    font-weight: 900;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.25);
    color: #00ff88;
    cursor: pointer;
    user-select: all;
}

/* ============================
   SUCCESS PAGE
   ============================ */
.success-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1rem 5rem;
    position: relative;
}

.success-glow {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(104,211,145,0.08) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.success-icon {
    width: 6rem;
    height: 6rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    background: rgba(104,211,145,0.1);
    border: 1px solid rgba(104,211,145,0.3);
    box-shadow: 0 0 50px rgba(104,211,145,0.2);
    color: #68d391;
}

.success-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: #68d391;
    margin-bottom: 1rem;
}

/* Copy order */
.order-id-box {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    background: rgba(13,17,32,0.8);
    border: 1px solid rgba(108,99,255,0.2);
    cursor: pointer;
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
}

.order-id-box .order-id {
    font-family: monospace;
    font-weight: 700;
    color: #6c63ff;
}

/* ============================
   SHOP PREVIEW (Homepage)
   ============================ */
.shop-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.shop-preview-card {
    display: block;
    border-radius: 1rem;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.shop-preview-card:hover {
    background: rgba(108,99,255,0.08);
    border-color: rgba(108,99,255,0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108,99,255,0.2);
}

.top-ranks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.top-rank-item {
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(13,17,32,0.8);
    backdrop-filter: blur(10px);
}

/* ============================
   HOW TO BUY
   ============================ */
.how-to-buy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.how-to-buy-card {
    text-align: center;
    border-radius: 1rem;
    padding: 2rem;
}

.how-to-buy-num {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

/* ============================
   BANNER
   ============================ */
.banner-section {
    position: relative;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
}

.banner-box {
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(108,99,255,0.15) 0%, rgba(79,172,254,0.12) 40%, rgba(13,17,32,0.5) 100%);
    border: 1px solid rgba(108,99,255,0.4);
    box-shadow: 0 0 40px rgba(108,99,255,0.2);
}

.banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    background: rgba(108,99,255,0.2);
    border: 1px solid rgba(108,99,255,0.5);
    color: #a78bfa;
}

/* ============================
   PROBLEMS SECTION (Mods page)
   ============================ */
.problems-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.problem-item {
    border-radius: 0.75rem;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
}

.problem-item .problem-q {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.problem-item .problem-a {
    font-size: 0.875rem;
    color: #7b87a8;
}

/* Server status in navbar */
.server-status-online {
    color: #00ff88;
}

.server-status-offline {
    color: #fc8181;
}

/* Username validation */
.username-status {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
}

.validation-msg {
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.validation-msg.error { color: #fc8181; }
.validation-msg.success { color: #68d391; }
.validation-msg.warning { color: #fc814a; }

/* Agreement checkbox label */
.agreement-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.agreement-label span {
    font-size: 0.875rem;
    color: #a8b4d8;
    line-height: 1.5;
}

.agreement-label a {
    color: #6c63ff;
    text-decoration: none;
}

.agreement-label a:hover {
    text-decoration: underline;
}

/* Tab content visibility */
.tab-content { display: none; }
.tab-content.active { display: block; }
