:root {
    --primary: #FF6B6B;
    --primary-dark: #E74C3C;
    --secondary: #FF9966;
    --accent: #FFA07A;
    --bg-dark: #0A0A0F;
    --bg-card: #12121A;
    --bg-card-hover: #1A1A25;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B0;
    --border: rgba(255, 255, 255, 0.1);
    --success: #2ECC71;
    --warning: #F39C12;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: rgba(18, 18, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-brand img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1.2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.user-name {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Hero */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    margin-bottom: 4rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 4rem 0;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

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

.product-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-4px);
}

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

.product-header {
    padding: 2rem;
    position: relative;
}

.free-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success);
    color: var(--bg-dark);
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-stats {
    display: flex;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-body {
    padding: 0 2rem 2rem 2rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: var(--warning);
    font-size: 1.1rem;
}

.rating span:last-child {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000000;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-success {
    background: var(--success);
    color: #000000;
    font-weight: 700;
}

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

.btn-logout {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-logout:hover {
    background: var(--bg-card);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 4rem 0 2rem 0;
    color: var(--text-primary);
}

/* Search */
.search-bar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.search-bar input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 1rem;
    background: var(--glass);
    color: var(--text-primary);
    transition: all 0.3s;
}

.search-bar input::placeholder {
    color: var(--text-secondary);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card-hover);
}

.filters {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--border);
    background: var(--glass);
    border-radius: 100px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.filter-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000000;
    border-color: transparent;
    font-weight: 700;
}

/* Product Detail */
.product-detail {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
}

.product-detail h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

/* Reviews */
.reviews-section {
    margin-top: 4rem;
}

.reviews-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.review-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviewer-name {
    font-weight: 600;
    font-size: 1rem;
}

.review-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.review-form {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.review-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.review-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.95rem;
    min-height: 120px;
    font-family: inherit;
    resize: vertical;
}

.review-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    font-size: 2rem;
    margin: 1.5rem 0;
}

.star-rating span {
    cursor: pointer;
    color: var(--border);
    transition: all 0.2s;
}

.star-rating span:hover,
.star-rating span.active {
    color: var(--warning);
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    border: 1px solid;
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    border-color: var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    border-color: #E74C3C;
    color: #E74C3C;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-detail h1 {
        font-size: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}



/* ============================================ */
/*           FOOTER - VISUAL BAR STYLE          */
/* ============================================ */

.site-footer {
    margin-top: 8rem;
    width: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5));
}

/* MAIN FOOTER BAR - The visible bar with buttons */
.footer-bar {
    background: #1a1d2e;
    border-top: 3px solid #ff6b6b;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    padding: 2rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* NAVIGATION BUTTONS */
.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* BUTTON STYLING */
.footer-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.footer-btn span:first-child {
    font-size: 1.5rem;
}

.footer-btn:hover {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

/* DISCORD BUTTON - Special styling */
.discord-btn {
    background: #5865F2;
    border-color: #5865F2;
    color: white;
}

.discord-btn:hover {
    background: #4752C4;
    border-color: #4752C4;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.5);
}

/* CREDITS SECTION */
.footer-credits {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-credits .copyright {
    color: #b0b0b0;
    font-size: 0.85rem;
    margin: 0.3rem 0;
    font-weight: 500;
}

.footer-credits .tagline {
    color: #808080;
    font-size: 0.8rem;
    margin: 0.3rem 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-bar {
        padding: 1.5rem 0;
    }
    
    .footer-nav {
        gap: 1rem;
    }
    
    .footer-btn {
        padding: 0.8rem 1.5rem;
        min-width: 100px;
        font-size: 0.85rem;
    }
    
    .footer-btn span:first-child {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        margin-top: 4rem;
    }
    
    .footer-bar {
        padding: 1.5rem 0;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .footer-btn {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        padding: 1rem;
    }
    
    .footer-btn span:first-child {
        font-size: 1.2rem;
    }
}
