@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- Design Tokens & CSS Variables --- */
:root {
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Harmonious Color Palette */
    --color-bg-deep: #09070f;
    --color-bg-dark: #120e22;
    --color-bg-card: rgba(22, 18, 38, 0.6);
    --color-bg-card-hover: rgba(33, 27, 57, 0.85);
    
    --color-primary: #00ff66; /* Neon Green - Gems */
    --color-primary-glow: rgba(0, 255, 102, 0.35);
    --color-secondary: #b026ff; /* Neon Purple - Brawl Pass */
    --color-secondary-glow: rgba(176, 38, 255, 0.35);
    --color-accent: #ffd700; /* Golden - Brawl Pass Plus & VIP */
    --color-accent-glow: rgba(255, 215, 0, 0.35);
    
    --color-text-white: #ffffff;
    --color-text-muted: #f1f5f9; /* Near white (slate-100) for maximum legibility of labels and body texts */
    --color-text-dim: #cbd5e1;   /* Bright gray (slate-300) for secondary info, details and timestamps */
    
    --border-glow: 1px solid rgba(255, 255, 255, 0.08);
    --border-glow-active: 1.5px solid rgba(0, 255, 102, 0.6);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-deep);
    color: var(--color-text-white);
    font-family: var(--font-body);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(176, 38, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 102, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(18, 14, 34, 0.5) 0%, var(--color-bg-deep) 100%);
    background-attachment: fixed;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button, input {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--color-text-white) 30%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(135deg, var(--color-text-white) 30%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Layout Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header & Navigation --- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 7, 15, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border-glow);
    transition: var(--transition-fast);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--color-primary-glow));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, #ffffff 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    padding: 8px 12px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 3px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-white);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-tg-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(36, 161, 222, 0.15);
    border: 1px solid rgba(36, 161, 222, 0.3);
    color: #24a1de;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.nav-tg-btn:hover {
    background: #24a1de;
    color: white;
    box-shadow: 0 0 16px rgba(36, 161, 222, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-text-white);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
    padding: 60px 0 40px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: var(--color-bg-card);
    border: var(--border-glow);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.stat-number {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-banner-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: var(--border-glow);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.hero-banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero-banner-wrapper:hover .hero-banner-img {
    transform: scale(1.03);
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 7, 15, 0.9) 0%, transparent 60%);
    pointer-events: none;
}

/* --- Live Purchases Ticker --- */
.ticker-section {
    background: rgba(18, 14, 34, 0.8);
    border-top: var(--border-glow);
    border-bottom: var(--border-glow);
    padding: 14px 0;
    overflow: hidden;
}

.ticker-container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
    white-space: nowrap;
    position: relative;
}

.ticker-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--color-primary);
    animation: pulse 1.5s infinite;
}

.ticker-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    height: 32px;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 40px;
    position: absolute;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker-user {
    color: var(--color-text-white);
    font-weight: 600;
}

.ticker-product {
    color: var(--color-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ticker-product.pass {
    color: var(--color-secondary);
}

.ticker-product.gold {
    color: var(--color-accent);
}

.ticker-time {
    color: var(--color-text-dim);
    font-size: 0.8rem;
}

/* --- Catalog & Shop Section --- */
.shop-section {
    padding: 80px 0;
}

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

.section-badge {
    background: rgba(176, 38, 255, 0.1);
    color: var(--color-secondary);
    border: 1px solid rgba(176, 38, 255, 0.25);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    background: var(--color-bg-card);
    border: var(--border-glow);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
    background: var(--color-secondary);
    color: var(--color-text-white);
    border-color: var(--color-secondary);
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.4);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--color-bg-card);
    border: var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% -20%, rgba(255,255,255,0.06), transparent 60%);
    opacity: 1;
    transition: var(--transition-fast);
}

.product-card:hover {
    transform: translateY(-8px);
    background: var(--color-bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

/* Colored glow themes for cards */
.product-card.theme-gem:hover {
    box-shadow: 0 12px 30px rgba(0, 255, 102, 0.1);
}
.product-card.theme-pass:hover {
    box-shadow: 0 12px 30px rgba(176, 38, 255, 0.15);
}
.product-card.theme-gold:hover {
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.15);
}

.product-card.selected {
    border-color: var(--color-primary);
    box-shadow: 0 0 25px var(--color-primary-glow);
    background: rgba(0, 255, 102, 0.03);
}

.product-card.selected.theme-pass {
    border-color: var(--color-secondary);
    box-shadow: 0 0 25px var(--color-secondary-glow);
    background: rgba(176, 38, 255, 0.03);
}

.product-card.selected.theme-gold {
    border-color: var(--color-accent);
    box-shadow: 0 0 25px var(--color-accent-glow);
    background: rgba(255, 215, 0, 0.03);
}

.card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--color-primary);
    color: var(--color-bg-deep);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.card-badge.pass {
    background: var(--color-secondary);
    color: white;
}

.card-badge.gold {
    background: var(--color-accent);
    color: var(--color-bg-deep);
}

.product-img-wrapper {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.product-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.1) rotate(2deg);
}

.product-name {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
    color: var(--color-text-white);
}

.product-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 20px;
    min-height: 38px;
}

.product-price-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-text-white);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition-fast);
}

.product-card:hover .product-price {
    background: var(--color-text-white);
    color: var(--color-bg-deep);
}

/* --- Checkout panel --- */
.checkout-panel {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-bg-card);
    border: var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
}

.checkout-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(176,38,255,0.2) 50%, rgba(0,255,102,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.checkout-title {
    font-size: 1.6rem;
    margin-bottom: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.checkout-summary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

.summary-item {
    font-weight: 800;
    font-size: 1.15rem;
}

.summary-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
}

.summary-price.discounted {
    text-decoration: line-through;
    color: var(--color-text-dim);
    font-size: 1.1rem;
    margin-right: 8px;
}

.summary-price-new {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--color-primary);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 14px 16px 14px 44px;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    transition: var(--transition-fast);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6); /* Highly visible placeholder text */
}

.form-input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.15);
    background: rgba(0, 0, 0, 0.4);
}

.input-icon {
    position: absolute;
    left: 16px;
    width: 18px;
    height: 18px;
    fill: var(--color-text-muted);
    transition: var(--transition-fast);
}

.form-input:focus + .input-icon {
    fill: var(--color-secondary);
}

.promocode-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.promo-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.promo-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.promo-message {
    font-size: 0.8rem;
    margin-top: 6px;
    font-weight: 600;
}

.promo-message.success {
    color: var(--color-primary);
}

.promo-message.error {
    color: #ff3366;
}

.buy-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #00cc52 100%);
    color: var(--color-bg-deep);
    font-weight: 800;
    font-size: 1.15rem;
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px var(--color-primary-glow);
    transition: var(--transition-smooth);
    margin-top: 28px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 255, 102, 0.5);
    filter: brightness(1.05);
}

.buy-btn:disabled {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6); /* Highly legible disabled text contrast */
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.checkout-disclaimer {
    font-size: 0.8rem;
    color: #cbd5e1; /* Increased brightness for rules and agreements text */
    text-align: center;
    margin-top: 16px;
}

/* --- Review Slider Section --- */
.reviews-section {
    padding: 80px 0;
    background: rgba(10, 8, 18, 0.4);
}

.reviews-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.reviews-container {
    overflow: hidden;
    width: 100%;
}

.reviews-track {
    display: flex;
    width: 100%;
    transition: transform var(--transition-smooth);
    gap: 24px;
}

.review-card {
    width: calc(50% - 12px);
    min-width: calc(50% - 12px);
    max-width: calc(50% - 12px);
    flex-shrink: 0;
    background: var(--color-bg-card);
    border: var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-fast);
}

.review-card:hover {
    background: var(--color-bg-card-hover);
    border-color: rgba(255,255,255,0.12);
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star-icon {
    width: 16px;
    height: 16px;
    fill: var(--color-accent);
}

.review-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.review-user-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-secondary);
}

.review-user-info {
    display: flex;
    flex-direction: column;
}

.review-username {
    font-weight: 700;
    font-size: 0.95rem;
}

.review-purchase {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.slider-arrow {
    background: var(--color-bg-card);
    border: var(--border-glow);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.3);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    fill: white;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    width: 24px;
    background: var(--color-secondary);
    border-radius: 4px;
}

/* --- FAQ Accordion Section --- */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-bg-card);
    border: var(--border-glow);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    background: var(--color-bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-trigger {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    background: none;
    border: none;
    cursor: pointer;
}

.faq-icon-chevron {
    width: 18px;
    height: 18px;
    fill: var(--color-text-muted);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon-chevron {
    transform: rotate(180deg);
    fill: var(--color-primary);
}

.faq-item.active {
    border-color: rgba(176, 38, 255, 0.3);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth) ease-out;
}

.faq-content-inner {
    padding: 0 24px 24px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.faq-content-inner p {
    margin-bottom: 12px;
}
.faq-content-inner p:last-child {
    margin-bottom: 0;
}

/* --- Checkout Modal --- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 3, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    background: var(--color-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7);
    transform: translateY(20px);
    transition: transform var(--transition-fast);
    z-index: 1001;
}

.modal.active .modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(255,255,255,0.1);
}

.modal-close-icon {
    width: 14px;
    height: 14px;
    fill: var(--color-text-muted);
}

.modal-close-btn:hover .modal-close-icon {
    fill: white;
}

/* --- Checkout Wizard Stages --- */
.wizard-stage {
    display: none;
}

.wizard-stage.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.stage-title {
    font-size: 1.45rem;
    margin-bottom: 24px;
    text-align: center;
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method-card {
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glow);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.payment-method-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255,255,255,0.15);
}

.payment-method-card.selected {
    border-color: var(--color-secondary);
    background: rgba(176, 38, 255, 0.05);
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.15);
}

.payment-method-icon {
    height: 28px;
    max-width: 90px;
    object-fit: contain;
}

.payment-method-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.payment-method-card.selected .payment-method-name {
    color: white;
}

/* Loading & Success States */
.processing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(176, 38, 255, 0.15);
    border-top-color: var(--color-secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 24px;
}

.processing-status {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.processing-sub {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
}

.success-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 255, 102, 0.1);
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0,255,102,0.25);
    margin-bottom: 24px;
}

.success-icon {
    width: 36px;
    height: 36px;
    fill: var(--color-primary);
}

.receipt-card {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: var(--border-glow);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
}

.receipt-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

.receipt-value {
    font-weight: 700;
}

.receipt-value.price {
    color: var(--color-primary);
}

/* --- Secondary Pages Styles --- */
.page-header {
    padding: 60px 0 20px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 12px;
}

.page-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Guide page specific styles */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 60px 0;
}

.guide-step-card {
    background: var(--color-bg-card);
    border: var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.guide-step-card::before {
    content: attr(data-step);
    position: absolute;
    top: -24px;
    left: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 0 20px rgba(176,38,255,0.4);
}

.guide-step-card h3 {
    margin-top: 12px;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.guide-step-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Order Tracker Page */
.tracker-box {
    max-width: 600px;
    margin: 40px auto 60px;
    background: var(--color-bg-card);
    border: var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.order-search-results {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tracker-order-card {
    background: rgba(255, 255, 255, 0.02);
    border: var(--border-glow);
    border-radius: var(--radius-md);
    padding: 20px;
}

.tracker-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.tracker-order-id {
    font-weight: 800;
    font-family: var(--font-heading);
}

.tracker-order-status {
    background: rgba(0, 255, 102, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(0,255,102,0.2);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.tracker-order-status.delivering {
    background: rgba(176, 38, 255, 0.1);
    color: var(--color-secondary);
    border-color: rgba(176,38,255,0.2);
}

.tracker-order-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.tracker-order-detail {
    display: flex;
    flex-direction: column;
}

.tracker-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.tracker-value {
    font-weight: 700;
}

.progress-bar-container {
    background: rgba(255, 255, 255, 0.05);
    height: 8px;
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

/* Legal text formatting */
.legal-content {
    max-width: 800px;
    margin: 40px auto 80px;
    background: var(--color-bg-card);
    border: var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 48px;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--color-text-white);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 8px;
}

.legal-content p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.legal-content ul {
    list-style-type: disc;
    margin-left: 24px;
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.legal-content li {
    margin-bottom: 8px;
}

/* --- Footer --- */
.footer {
    background: #06040a;
    border-top: var(--border-glow);
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-nav h4, .footer-contact h4 {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-nav-link:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-contact-item a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-link:hover {
    color: var(--color-text-muted);
}

/* --- Keyframe Animations --- */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(0, 255, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 102, 0);
    }
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        max-width: 580px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-banner-wrapper {
        max-width: 580px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--color-bg-deep);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 24px;
        z-index: 99;
        transition: var(--transition-smooth);
        border-top: var(--border-glow);
    }
    
    .nav-list.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .review-card {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
        width: 100%;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
}
