/*
Theme Name: TransL8 Pro
Theme URI: https://velocitydjstreamer.co.uk
Author: TransL8
Author URI: https://velocitydjstreamer.co.uk
Description: Modern, responsive theme for TransL8 Bot with WooCommerce support. Features: dark mode, gradient accents, smooth animations, mobile-first design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: transl8-theme
Tags: e-commerce, one-column, two-columns, right-sidebar, custom-colors, custom-menu, featured-images, theme-options, translation-ready, woocommerce

This theme, like WordPress, is licensed under the GPL.
*/

/* ============================================
   CSS Variables (Custom Properties)
   ============================================ */
:root {
    --primary-color: #9146FF;
    --secondary-color: #18E1B8;
    --accent-color: #FF6B6B;
    --dark-bg: #0E0E10;
    --darker-bg: #18181B;
    --card-bg: #1F1F23;
    --text-primary: #EFEFF1;
    --text-secondary: #ADADB8;
    --border-color: #2C2C30;
    --success: #00F593;
    --warning: #FFC800;
    --error: #FF4444;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', var(--font-main);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 32px rgba(145, 70, 255, 0.3);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--secondary-color);
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    background: rgba(14, 14, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo:hover {
    color: var(--primary-color);
}

.site-navigation {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.primary-menu {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.primary-menu li {
    margin: 0;
}
    margin: 0;
    padding: 0;
    align-items: center;
}

.primary-menu li {
    margin: 0;
}
    display: flex;
    gap: 2rem;
    align-items: center;
}

.site-navigation a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.site-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.site-navigation a:hover::after,
.site-navigation a.current::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(145, 70, 255, 0.15), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #7c3aed);
    color: white;
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: white;
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: var(--darker-bg);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   Cards & Sections
   ============================================ */
.section {
    padding: 3rem 0;
}

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

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-description {
    color: var(--text-secondary);
}

/* ============================================
   Grid Layouts
   ============================================ */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-widget h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 0.5rem;
}

.footer-widget a {
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .site-navigation {

.primary-menu {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.primary-menu li {
    margin: 0;
}

.primary-menu {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.primary-menu li {
    margin: 0;
}
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--darker-bg);
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .site-navigation.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        min-height: 60vh;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .section {
        padding: 3rem 0;
    }
}

/* ============================================
   Utilities
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

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

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-primary {
    background: rgba(145, 70, 255, 0.2);
    color: var(--primary-color);
}

.badge-success {
    background: rgba(0, 245, 147, 0.2);
    color: var(--success);
}

/* Cart Icon Styling */
.btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: #9146FF;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.btn-cart:hover {
    background: #7d3ce4;
    transform: translateY(-2px);
}

.btn-cart .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Smaller Logout button */
.btn-logout {
    padding: 6px 12px !important;
    font-size: 14px !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.btn-logout:hover {
    border-color: #ff4444 !important;
    color: #ff4444 !important;
}

/* Pricing Cards */
.pricing-card {
    background: rgba(30, 30, 30, 0.95);
    border: 2px solid rgba(145, 70, 255, 0.2);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card.highlighted {
    border-color: #9146FF;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(145, 70, 255, 0.3);
}

.pricing-card h3 {
    color: #9146FF;
    font-size: 24px;
    margin-bottom: 16px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: bold;
    color: white;
    margin-bottom: 24px;
}

.pricing-card .price span {
    font-size: 18px;
    color: #b3b3b3;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
}

.pricing-card .features li {
    color: #b3b3b3;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: #9146FF;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

/* ============================================
   Mobile Menu Fixes
   ============================================ */
@media (max-width: 768px) {
    .site-navigation {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--background-primary);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .site-navigation.active {
        display: block;
    }
    
    .primary-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .primary-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .primary-menu li:last-child {
        border-bottom: none;
    }
    
    .primary-menu a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ============================================
   Mobile Navigation - Burger Menu
   ============================================ */
@media (max-width: 768px) {
    /* Hide desktop navigation */
    .primary-menu {
        display: none;
    }
    
    /* Show and style mobile toggle button */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--text-primary, #ffffff);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    /* Animated hamburger to X */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Mobile navigation menu */
    .site-navigation {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--background-primary, #0a0a0f);
        border-bottom: 2px solid var(--primary-color, #9146FF);
        padding: 1rem 0;
        z-index: 1000;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .site-navigation.active {
        display: block !important;
    }
    
    .site-navigation.active .primary-menu {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .primary-menu li {
        border-bottom: 1px solid rgba(145, 70, 255, 0.2);
    }
    
    .primary-menu li:last-child {
        border-bottom: none;
    }
    
    .primary-menu a {
        display: block;
        padding: 1rem 2rem;
        color: var(--text-primary, #ffffff);
        text-decoration: none;
        font-size: 1.1rem;
        transition: all 0.2s ease;
    }
    
    .primary-menu a:hover {
        background: rgba(145, 70, 255, 0.1);
        padding-left: 2.5rem;
    }
}

/* Featured Streamer Section */
.featured-streamer-card {
    max-width: 1200px;
    margin: 2rem auto 0;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.streamer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.streamer-info {
    color: var(--text-primary);
}

.streamer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-icon {
    font-size: 1.2rem;
}

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

.streamer-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

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

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.streamer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.streamer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.streamer-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.streamer-link.twitch {
    background: #9146FF;
    color: white;
}

.streamer-link.kick {
    background: #53FC18;
    color: #000;
}

.link-icon {
    font-size: 1.2rem;
}

.streamer-visual {
    position: relative;
}

.stream-preview {
    background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.preview-placeholder {
    color: var(--text-primary);
}

.preview-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.preview-text {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.preview-subtext {
    font-size: 1.1rem;
    opacity: 0.8;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .featured-streamer {
        padding: 2rem 1.5rem;
    }
    
    .streamer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .streamer-name {
        font-size: 2rem;
    }
    
    .streamer-stats {
        grid-template-columns: 1fr;
    }
    
    .streamer-links {
        flex-direction: column;
    }
    
    .streamer-link {
        width: 100%;
        justify-content: center;
    }
}
