/*
Theme Name: TikTrendsOnline Child
Theme URI: https://tiktrendsonline.davlyrs.com
Description: Child theme moderne pour TikTrendsOnline - Aesthetic Gen Z avec gradients TikTok
Author: Davlyrs
Author URI: https://davlyrs.com
Template: ttomedia
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tiktrendsonline-child
*/

/* ===================================
   VARIABLES TIKTOK
   ================================= */
:root {
    /* TikTok Brand Colors */
    --tiktok-teal: #00F2EA;
    --tiktok-pink: #FF0050;
    --tiktok-purple: #A855F7;
    
    /* Neutrals */
    --dark-slate: #0F172A;
    --medium-slate: #1E293B;
    --light-slate: #334155;
    --white: #FFFFFF;
    
    /* Accents */
    --lime-green: #84CC16;
    --hot-pink: #EC4899;
    
    /* Gradients */
    --gradient-tiktok: linear-gradient(135deg, var(--tiktok-teal) 0%, var(--tiktok-pink) 100%);
    --gradient-purple: linear-gradient(135deg, var(--tiktok-purple) 0%, var(--tiktok-pink) 100%);
    --gradient-neon: linear-gradient(135deg, var(--tiktok-teal) 0%, var(--tiktok-purple) 50%, var(--tiktok-pink) 100%);
}

/* ===================================
   TYPOGRAPHIE
   ================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=Roboto+Mono:wght@400;500&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-slate);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; font-weight: 900; }
h2 { font-size: 2.5rem; font-weight: 800; }
h3 { font-size: 2rem; font-weight: 700; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* ===================================
   HEADER & NAVIGATION
   ================================= */
.site-header {
    background: var(--dark-slate);
    border-bottom: 3px solid transparent;
    border-image: var(--gradient-tiktok) 1;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 242, 234, 0.15);
}

.site-title {
    background: var(--gradient-tiktok);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.main-navigation a {
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    color: var(--tiktok-teal);
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.5);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-tiktok);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* ===================================
   HERO SECTION
   ================================= */
.hero-section {
    background: var(--dark-slate);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-neon);
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(0, 242, 234, 0.3);
}

.hero-title span {
    background: var(--gradient-tiktok);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    font-weight: 500;
}

/* ===================================
   BUTTONS & CTAs
   ================================= */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-tiktok);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 242, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 242, 234, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--tiktok-teal);
}

.btn-secondary:hover {
    background: var(--tiktok-teal);
    color: var(--dark-slate);
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.6);
}

/* ===================================
   CARDS & SECTIONS
   ================================= */
.card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-tiktok);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 242, 234, 0.2);
}

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

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    color: var(--white);
}

/* ===================================
   TREND CARDS
   ================================= */
.trend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.trend-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.trend-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 242, 234, 0.3);
}

.trend-thumbnail {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    background: var(--gradient-neon);
}

.trend-content {
    padding: 1.5rem;
}

.trend-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient-tiktok);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.trend-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--dark-slate);
}

.trend-metrics {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--light-slate);
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metric-value {
    font-weight: 700;
    color: var(--tiktok-teal);
}

/* ===================================
   BADGES & LABELS
   ================================= */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-new {
    background: var(--lime-green);
    color: var(--dark-slate);
}

.badge-fire {
    background: var(--tiktok-pink);
    color: var(--white);
}

.badge-trending {
    background: var(--gradient-purple);
    color: var(--white);
}

/* ===================================
   SECTIONS
   ================================= */
.section {
    padding: 5rem 2rem;
}

.section-dark {
    background: var(--dark-slate);
    color: var(--white);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title span {
    background: var(--gradient-tiktok);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   FOOTER
   ================================= */
.site-footer {
    background: var(--dark-slate);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    border-top: 3px solid transparent;
    border-image: var(--gradient-tiktok) 1;
}

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

.footer-column h4 {
    color: var(--tiktok-teal);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.3rem 0;
}

.footer-column a:hover {
    color: var(--tiktok-teal);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   ANIMATIONS
   ================================= */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 242, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 242, 234, 0.6);
    }
}

.glow-effect {
    animation: glow 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* ===================================
   RESPONSIVE
   ================================= */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .trend-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ===================================
   UTILITIES
   ================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: var(--gradient-tiktok);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.neon-text {
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.8);
}
