/* ==========================================================================
   Hawkkdown Development — Tebex-Style E-Commerce Storefront
   Ultra-Premium Dark Glassmorphism, Neon Cyan & Indigo Design System
   ========================================================================== */

:root {
    --bg-main: #06070a;
    --bg-card: rgba(16, 18, 28, 0.85);
    --bg-card-hover: rgba(24, 27, 42, 0.95);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(56, 189, 248, 0.35);
    --border-glow: rgba(129, 140, 248, 0.5);
    
    --primary: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.4);
    --accent: #818cf8;
    --accent-glow: rgba(129, 140, 248, 0.4);
    --cashapp-green: #00D632;
    --cashapp-glow: rgba(0, 214, 50, 0.4);
    
    --danger: #f43f5e;
    --success: #10b981;
    --warning: #f59e0b;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, rgba(56, 189, 248, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(129, 140, 248, 0.1) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(0, 214, 50, 0.05) 0px, transparent 60%);
    background-attachment: fixed;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, rgba(56,189,248,0.15), rgba(129,140,248,0.2), rgba(0,214,50,0.15));
    border-bottom: 1px solid var(--border-accent);
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.announcement-badge {
    background: var(--cashapp-green);
    color: #000;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    text-transform: uppercase;
}

/* Navigation Header */
.store-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 7, 10, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    animation: logoFloat 3s infinite ease-in-out alternate;
}

@keyframes logoFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-5px); }
}

.brand-text h1 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-badge {
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

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

.btn-discord {
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.4);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

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

.btn-cart {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.btn-cart:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.cart-count-badge {
    background: var(--primary);
    color: #000;
    font-weight: 900;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Store Hero Banner */
.hero-banner {
    padding: 60px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 30%, #38bdf8 70%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.hero-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-tag strong { color: var(--cashapp-green); }

/* Category Navigation Filter Tabs */
.category-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-tab:hover {
    color: var(--text-main);
    border-color: var(--border-accent);
}

.category-tab.active {
    background: linear-gradient(135deg, rgba(56,189,248,0.2), rgba(129,140,248,0.2));
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Products Grid Container */
.store-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* Script Product Card */
.script-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.script-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.script-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 30px var(--primary-glow);
    background: var(--bg-card-hover);
}

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

.script-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.script-icon {
    font-size: 28px;
    background: rgba(255, 255, 255, 0.05);
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.script-category-badge {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
}

.script-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-main);
}

.script-description {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.script-features-list {
    list-style: none;
    margin-bottom: 24px;
}

.script-features-list li {
    font-size: 12.5px;
    color: var(--text-dim);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.script-features-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: 900;
}

.script-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    pt-4;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.script-price {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: var(--cashapp-green);
    display: flex;
    align-items: center;
    gap: 4px;
}

.script-price span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-sm {
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--text-main);
}

.btn-buy {
    background: linear-gradient(135deg, var(--cashapp-green), #059669);
    color: #000;
    font-weight: 900;
    box-shadow: 0 0 15px var(--cashapp-glow);
}

.btn-buy:hover {
    transform: scale(1.04);
    box-shadow: 0 0 25px var(--cashapp-glow);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(6, 7, 10, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 580px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    overflow: hidden;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

.modal-body {
    padding: 24px;
}

.cashapp-box {
    background: rgba(0, 214, 50, 0.08);
    border: 1px solid rgba(0, 214, 50, 0.3);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.cashapp-tag {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    color: var(--cashapp-green);
    margin: 8px 0;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: var(--radius-md);
    outline: none;
    font-size: 14px;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-lg {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    border: none;
}
