/* ========================================
   FLUORITE THEME - Premium Gaming Store
   Purple gradient design inspired by fluorite.store
   ======================================== */

:root {
    /* Fluorite Purple Theme */
    --primary: #805AD5;
    --primary-hover: #6B46C1;
    --primary-light: rgba(128, 90, 213, 0.1);
    --primary-glow: rgba(128, 90, 213, 0.4);

    --secondary: #6366F1;
    --secondary-hover: #4F46E5;

    --accent: #A855F7;
    --accent-glow: rgba(168, 85, 247, 0.4);

    /* Dark Background */
    --bg-dark: #0a0a0b;
    --bg-card: #141417;
    --bg-elevated: #1a1a1f;
    --bg-input: rgba(20, 20, 23, 0.8);

    /* Borders */

    /* Borders */
    --border-color: rgba(128, 90, 213, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.06);

    /* Text */
    --text-main: #fafafa;
    --text-muted: #a1a1aa;
    --text-subtle: #71717a;

    /* Status Colors */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;

    /* Spacing & Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ========================================
   BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(128, 90, 213, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(99, 102, 241, 0.1), transparent),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(168, 85, 247, 0.08), transparent);
    pointer-events: none;
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-purple {
    color: var(--primary);
}

.text-muted {
    color: var(--text-muted);
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* ========================================
   NAVBAR - Fluorite Style
   ======================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    color: var(--text-main);
}

.logo-accent {
    color: var(--primary);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
    background: var(--primary-light);
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 9999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-weight: 500;
}

.mobile-menu a:hover {
    background: var(--primary-light);
    color: var(--text-main);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

@media (min-width: 768px) {
    .hero {
        padding: 120px 0 80px;
        text-align: left;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero h1 {
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero-subtitle {
        margin: 0 auto 2rem;
    }
}

/* Trust Badge */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.trust-badge strong {
    color: var(--text-main);
}

.trust-badge span {
    color: var(--text-muted);
    font-size: 14px;
}

.trust-badge .counter {
    color: var(--primary);
    font-weight: 700;
}

.trust-badge .global-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, rgba(128, 90, 213, 0.2), rgba(99, 102, 241, 0.2));
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

/* Feature Tags */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .feature-tags {
        justify-content: flex-start;
    }
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary-light), rgba(99, 102, 241, 0.1));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* ========================================
   PRODUCT CARDS - Fluorite Style with Video
   ======================================== */
.products-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: linear-gradient(to bottom right, var(--bg-card), rgba(20, 20, 23, 0.5));
    border: 2px solid rgba(128, 90, 213, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    border-color: rgba(128, 90, 213, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(128, 90, 213, 0.2);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), rgba(99, 102, 241, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.product-image video,
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: rgba(128, 90, 213, 0.9);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid rgba(128, 90, 213, 0.5);
    z-index: 10;
}

.product-badge.popular {
    background: rgba(128, 90, 213, 0.9);
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-badge.undetected {
    position: absolute;
    top: auto;
    bottom: 12px;
    left: 12px;
    right: auto;
    background: rgba(16, 185, 129, 0.8);
    border-color: rgba(16, 185, 129, 0.5);
}

.product-badge.price-badge {
    position: absolute;
    top: auto;
    bottom: 12px;
    right: 12px;
    left: auto;
    background: rgba(128, 90, 213, 0.8);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.product-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 1rem;
}

.product-features h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-features .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-features .tag {
    padding: 4px 10px;
    background: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-main);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.product-buttons {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.product-buttons .btn {
    flex: 1;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
    padding: 60px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--border-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.testimonial-info h4 {
    font-size: 14px;
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 12px;
    color: var(--text-subtle);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 0.75rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 300px;
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.footer-links a {
    display: block;
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 12px;
    color: var(--text-subtle);
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-input,
.glass-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-size: 16px;
    transition: all 0.2s ease;
}

.form-input:focus,
.glass-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-input::placeholder,
.glass-input::placeholder {
    color: var(--text-subtle);
}

select.form-input,
select.glass-input {
    cursor: pointer;
}

/* ========================================
   CARDS (Generic)
   ======================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

/* ========================================
   BADGES
   ======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.w-full {
    width: 100%;
}

.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-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:hidden {
        display: none;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ========================================
   GLOBAL UI ELEMENTS (Search, Language, etc)
   ======================================== */

/* Google Translate Customization */
.goog-te-gadget {
    font-family: inherit !important;
}

.goog-te-gadget-simple {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 13px !important;
}

.goog-te-gadget-simple .goog-te-menu-value {
    color: var(--text-muted) !important;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    color: var(--text-muted) !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-banner-frame,
.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Ensure it renders for DOM access but remains invisible */
#google_translate_element {
    width: 0;
    height: 0;
    overflow: hidden;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.goog-tooltip,
.goog-te-spinner-pos {
    display: none !important;
}

/* Navbar Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-action-btn {
    width: 38px;
    height: 38px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s;
}

.nav-action-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--text-main);
}

@media (max-width: 768px) {
    .nav-actions {
        gap: 6px;
    }

    .nav-action-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

/* Search Modal / Language Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-modal.active {
    display: flex;
}

.search-box {
    width: 90%;
    max-width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    padding: 14px;
    gap: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.search-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 15px;
    outline: none;
}

.search-results {
    max-height: 250px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.search-result-item:hover {
    background: var(--primary-light);
    color: var(--text-main);
}

/* Language Dropdown Items */
.lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px;
    font-size: 14px;
}

.lang-item:hover {
    background: var(--primary-light);
    color: var(--text-main);
}

.lang-item.selected {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}