/* Variables */
:root {
    /* Dark theme colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #141420;
    --bg-card: #1a1a2e;
    --text-primary: #e8e8f0;
    --text-secondary: #a8a8b8;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --border: #2a2a3e;
    --shadow: rgba(0, 0, 0, 0.5);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.875rem;
    --font-size-sm: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-2xl: 3rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8fc;
    --bg-card: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --border: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --section-bg: #f9fafb;
    --header-bg: rgba(255, 255, 255, 0.95);
}

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

/* Base */
html {
    scroll-behavior: smooth;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-lg);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.logo {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: var(--font-size-md);
    cursor: pointer;
    padding: var(--spacing-xs);
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--accent);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-arrow {
    font-size: 0.75em;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 0.5rem;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent);
    transform: translateX(5px);
}

.dropdown-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.dropdown-link span {
    font-weight: 500;
}

/* Mobile Responsive for Dropdown */
@media (max-width: 768px) {
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 0.5rem;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Sections */
.section {
    padding: var(--spacing-2xl) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.section:nth-child(odd) {
    background-color: var(--bg-secondary);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--spacing-2xl) + 80px);
}

/* Hero compact pour pages internes */
.hero-compact {
    padding: 1.5rem 0 !important;
    min-height: auto !important;
}

.hero-compact .hero-content {
    text-align: center;
    display: block !important;
}


.hero-compact .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
    color: var(--text-secondary) !important;
}

.hero-compact .hero-description {
    margin-bottom: 1rem !important;
}

.hero-compact .hero-description p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    color: var(--text-secondary) !important;
    max-width: 600px;
    margin: 0 auto;
}

.hero-compact .stream-buttons,
.hero-compact .hero-actions {
    margin-top: 1rem !important;
}

/* Réduire l'espace entre header et contenu principal */
main[style*="padding-top: 100px"] {
    padding-top: 80px !important;
}

/* Option pour hero ultra-compact */
.hero-compact.hero-minimal {
    padding: 1rem 0 !important;
}

.hero-compact.hero-minimal .hero-description {
    display: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideUp 0.8s ease;
}

.hero-subtitle {
    font-size: var(--font-size-md);
    color: var(--text-secondary);
    line-height: 1.8;
    animation: slideUp 0.8s ease 0.2s both;
}

.hero-avatar {
    position: relative;
    animation: slideUp 0.8s ease 0.4s both;
}

.avatar-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(40px);
    animation: pulse 3s ease-in-out infinite;
}

.avatar-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow);
}

/* Section Titles */
.section-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    text-align: center;
    position: relative;
    animation: slideUp 0.8s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 2px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.project-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: var(--transition);
    animation: slideUp 0.8s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent);
}

.project-title {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.project-description {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.stack-tag {
    background-color: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: var(--spacing-md);
}

.project-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: var(--transition);
}

.project-link:hover {
    color: var(--accent-light);
}

/* Stream Section */
.stream-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

.twitch-embed {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    animation: slideUp 0.8s ease;
}

.twitch-embed iframe {
    border: none;
    border-radius: 12px;
}

.stream-schedule {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    animation: slideUp 0.8s ease 0.2s both;
}

.schedule-title {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.schedule-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border);
}

.schedule-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.schedule-day {
    font-weight: 600;
    color: var(--accent);
}

.schedule-time {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.schedule-content {
    grid-column: 1 / -1;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Vacation Notice */
.vacation-notice {
    background-color: rgba(251, 146, 60, 0.1);
    border: 1px solid var(--warning);
    border-radius: 8px;
    padding: var(--spacing-md);
    text-align: center;
    color: var(--warning);
}

.vacation-notice i {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.vacation-notice p {
    margin: 0;
    font-size: var(--font-size-sm);
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.social-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    animation: slideUp 0.8s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent);
}

.social-card i {
    font-size: 2.5rem;
    color: var(--accent);
}

.social-card span {
    font-weight: 600;
    font-size: var(--font-size-md);
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    animation: slideUp 0.8s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.submit-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 8px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
    animation: slideUp 0.8s ease 0.2s both;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: var(--font-size-md);
}

.email-link {
    color: var(--accent);
    text-decoration: none;
    font-size: var(--font-size-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition);
}

.email-link:hover {
    color: var(--accent-light);
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: var(--spacing-lg) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-logo {
    font-size: var(--font-size-md);
    font-weight: 700;
    color: var(--accent);
}

.footer-year {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.footer-right {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-light);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

/* Scroll animations */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about-section {
    background-color: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.about-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: var(--transition);
    animation: slideUp 0.8s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent);
}

.about-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.about-card h3 {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Skills Section */
.skills-section {
    background-color: var(--bg-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.skill-category {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    animation: slideUp 0.8s ease;
}

.skill-title {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--accent);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.skill-tag {
    background-color: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 500;
    transition: var(--transition);
}

.skill-tag:hover {
    background-color: var(--accent);
    color: white;
}

/* Hobbies Section */
.hobbies-section {
    background-color: var(--bg-secondary);
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.hobby-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: var(--transition);
    animation: slideUp 0.8s ease;
}

.hobby-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent);
}

.hobby-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
}

.hobby-card h3 {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.hobby-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Hero description */
.hero-description {
    margin-top: var(--spacing-lg);
    animation: slideUp 0.8s ease 0.4s both;
}

.hero-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.hero-description p:last-child {
    margin-bottom: 0;
}

/* Navigation active state */
.nav-link.active {
    color: var(--accent);
}

.nav-link.active::after {
    width: 100%;
}

/* Projects Section */
.projects-section {
    background-color: var(--bg-secondary);
}

.project-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    animation: slideUp 0.8s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.project-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, var(--bg-card) 100%);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: var(--spacing-lg);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.project-badge {
    background-color: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-title {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.project-header .project-title {
    margin-bottom: 0;
}

.project-description {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* Tech Section */
.tech-section {
    background-color: var(--bg-primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.tech-category {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    animation: slideUp 0.8s ease;
}

.tech-title {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--accent);
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.tech-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background-color: var(--bg-secondary);
    border-radius: 8px;
    transition: var(--transition);
}

.tech-item:hover {
    background-color: rgba(124, 58, 237, 0.1);
    transform: translateX(5px);
}

.tech-item i {
    font-size: 1.25rem;
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.tech-item span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Stats Section */
.stats-section {
    background-color: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: var(--transition);
    animation: slideUp 0.8s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    animation: slideUp 0.8s ease 0.6s both;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: 8px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.3);
}

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

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

/* Overview Section */
.overview-section {
    background-color: var(--bg-secondary);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.overview-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: var(--transition);
    animation: slideUp 0.8s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent);
}

.overview-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.overview-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.overview-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.overview-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: var(--transition);
}

.overview-link:hover {
    color: var(--accent-light);
    transform: translateX(5px);
}

/* Contact Quick Section */
.contact-quick-section {
    background-color: var(--bg-primary);
    text-align: center;
}

.contact-quick-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-md);
    margin-bottom: var(--spacing-lg);
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Social Main Section */
.social-main-section {
    background-color: var(--bg-secondary);
}

.social-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.social-main-card {
    background-color: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: var(--spacing-xl);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.8s ease;
}

.social-main-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow);
}

.social-main-card.twitch:hover {
    border-color: #9146ff;
}

.social-main-card.github:hover {
    border-color: #24292e;
}

.social-main-card.discord:hover {
    border-color: #5865f2;
}

.social-main-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.social-main-header i {
    font-size: 2.5rem;
}

.social-main-card.twitch i {
    color: #9146ff;
}

.social-main-card.github i {
    color: #24292e;
}

.social-main-card.discord i {
    color: #5865f2;
}

.social-main-header h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.social-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    flex: 1;
}

.social-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.social-stats .stat-item {
    text-align: center;
}

.social-stats .stat-number {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--accent);
}

.social-stats .stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.social-action {
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* Social Other Section */
.social-other-section {
    background-color: var(--bg-primary);
}

.social-other-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.social-other-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    animation: slideUp 0.8s ease;
}

.social-other-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent);
}

.social-other-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
}

.social-other-card h4 {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.social-other-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--bg-secondary);
}

.newsletter-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

.newsletter-text h2 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.newsletter-text p {
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

.newsletter-form input {
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    width: 300px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Community Stats Section */
.community-stats-section {
    background-color: var(--bg-primary);
}

.community-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.community-stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    transition: var(--transition);
    animation: slideUp 0.8s ease;
}

.community-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow);
}

.community-stat-card i {
    font-size: 2.5rem;
    color: var(--accent);
}

.stat-content {
    flex: 1;
}

.stat-content .stat-number {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
}

.stat-content .stat-label {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Contact Page Section */
.contact-page-section {
    background-color: var(--bg-secondary);
}

.contact-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.contact-page-form {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.alert {
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: start;
    gap: var(--spacing-md);
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

.alert strong {
    display: block;
    margin-bottom: var(--spacing-xs);
}

.alert p {
    margin: 0;
    font-size: var(--font-size-sm);
}

.contact-info-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    margin-bottom: var(--spacing-md);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent);
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: var(--spacing-md);
}

.contact-info-card h3 {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.contact-info-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent-light);
}

.contact-response-time {
    background-color: rgba(124, 58, 237, 0.1);
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.contact-response-time i {
    color: var(--accent);
}

.contact-response-time p {
    margin: 0;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow);
}

.faq-item h3 {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--accent);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stream Schedule Cards */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.schedule-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    transition: var(--transition);
    animation: slideUp 0.8s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent);
}

.schedule-date {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border);
}

.schedule-day {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--accent);
    display: block;
}

.schedule-time {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.schedule-title {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.schedule-description {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
}

.schedule-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.schedule-type.type-dev {
    background-color: rgba(124, 58, 237, 0.1);
    color: var(--accent-light);
}

.schedule-type.type-gaming {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.schedule-type.type-chatting {
    background-color: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

.schedule-type.type-stream {
    background-color: rgba(167, 139, 250, 0.1);
    color: var(--accent-light);
}

.schedule-type.type-special {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Content Types Section */
.content-types-section {
    background-color: var(--bg-secondary);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.content-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-xl);
    transition: var(--transition);
    animation: slideUp 0.8s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
    border-color: var(--accent);
}

.content-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.content-card h3 {
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.content-card p {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.content-features {
    list-style: none;
    padding: 0;
}

.content-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    position: relative;
    padding-left: var(--spacing-lg);
}

.content-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Community Section */
.community-section {
    background-color: var(--bg-primary);
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.community-text h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.community-text p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.community-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.community-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--text-primary);
}

.community-feature i {
    color: var(--accent);
    font-size: 1.25rem;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.community-stats .stat-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: var(--transition);
}

.community-stats .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow);
}

.community-stats .stat-number {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.community-stats .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-avatar {
        order: -1;
        margin-bottom: var(--spacing-xl);
    }
    
    .stream-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-page-content {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .community-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .footer-right {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .hero-title {
        font-size: clamp(3rem, 12vw, 5rem);
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Live Status */
.live-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff0000;
    font-size: 0.9rem;
    font-weight: 500;
    animation: pulse 2s infinite;
}

.live-status i {
    font-size: 0.7rem;
}

/* Stream Stats */
.stream-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stream-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stream-stats .stat i {
    color: var(--primary-color);
}

/* Pulse Button Animation */
.btn-primary.pulse {
    animation: pulse 2s infinite;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(138, 43, 226, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0);
    }
}

/* Highlights Section */
.highlights-section {
    background: var(--bg-secondary);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.highlight-card {
    background: var(--bg-primary);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.2);
}

.highlight-thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.highlight-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.highlight-info {
    padding: var(--spacing-md);
}

.highlight-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.highlight-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.highlight-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.highlights-action {
    text-align: center;
}

/* Stream Buttons */
.stream-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Twitch Embed */
.twitch-embed-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--spacing-lg);
    background: var(--bg-primary);
    border-radius: var(--radius);
    overflow: hidden;
    height: 600px;
}

.twitch-player,
.twitch-chat {
    position: relative;
    width: 100%;
    height: 100%;
}

.twitch-player iframe,
.twitch-chat iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Stream Stats Section */
.stream-stats-section {
    background: var(--bg-secondary);
}

.stream-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    margin: 0.5rem 0;
    color: var(--text-primary);
}

.stat-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* Stream Categories */
.stream-categories {
    text-align: center;
}

.stream-categories h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.category-tags .tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.category-tags .tag:hover {
    transform: scale(1.05);
}

/* Responsive Twitch Embed */
@media (max-width: 1024px) {
    .twitch-embed-wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .twitch-player {
        height: 400px;
    }
    
    .twitch-chat {
        height: 300px;
    }
    
    .stream-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stream-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Carousel System */
.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-track {
    display: flex;
    gap: var(--spacing-lg);
}

.carousel-item {
    flex: 0 0 auto;
    width: calc(33.333% - var(--spacing-lg));
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 1rem;
}

.carousel-btn {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-btn i {
    font-size: 1.2rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* Responsive carousel items */
@media (max-width: 1200px) {
    .carousel-item {
        width: calc(50% - var(--spacing-lg));
    }
}

@media (max-width: 768px) {
    .carousel-item {
        width: 100%;
    }
    
    .carousel-controls {
        display: none;
    }
}

/* Specific carousel adjustments */
.highlights-grid.carousel .carousel-item {
    width: 380px;
}

.projects-grid.carousel .carousel-item {
    width: 350px;
}

.tech-grid.carousel .carousel-item {
    width: 280px;
}

@media (max-width: 768px) {
    .highlights-grid.carousel .carousel-item,
    .projects-grid.carousel .carousel-item,
    .tech-grid.carousel .carousel-item {
        width: 100%;
    }
}

/* Community Home Section */
.community-home-section {
    background: var(--bg-secondary);
}

.community-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.community-home-card {
    background: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius);
    text-align: center;
    transition: transform 0.3s ease;
}

.community-home-card:hover {
    transform: translateY(-4px);
}

.community-home-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.community-home-card h3 {
    font-size: 2rem;
    margin: 0.5rem 0;
    color: var(--text-primary);
}

.community-home-card p {
    color: var(--text-secondary);
    margin: 0;
}

.community-cta {
    text-align: center;
}

.community-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.community-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .community-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Personnage Page Styles */
.lore-section {
    padding: 4rem 0;
    position: relative;
}

.lore-section::before {
    content: '🌙';
    position: absolute;
    top: 2rem;
    right: 10%;
    font-size: 4rem;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.lore-content {
    max-width: 800px;
    margin: 0 auto;
}

.lore-chapter {
    margin-bottom: 1.5rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    border-left: 3px solid transparent;
    background-image: linear-gradient(var(--card-bg), var(--card-bg)), 
                      linear-gradient(135deg, var(--primary), var(--accent));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    font-style: italic;
    position: relative;
    overflow: hidden;
}

.lore-chapter::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.lore-chapter:nth-child(even) {
    text-align: right;
    border-left: none;
    border-right: 3px solid transparent;
}

.lore-chapter h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.lore-chapter p {
    color: var(--text-secondary);
    line-height: 2;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
}

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

.caracteristique-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.caracteristique-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.caracteristique-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    font-size: 2rem;
    color: white;
}

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

.caracteristique-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.caracteristique-level {
    text-align: left;
}

.caracteristique-level span {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

.level-bar {
    margin-top: 0.5rem;
    height: 8px;
    background: rgba(124, 58, 237, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.level-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    transition: width 1s ease;
}

.artefacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.artefact-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artefact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.artefact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
}

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

.artefact-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.artefact-rarity {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.artefact-rarity.legendary {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
}

.artefact-rarity.mythic {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
}

.artefact-rarity.epic {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    color: white;
}

.artefact-rarity.rare {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary), var(--accent), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 200px;
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.timeline-content {
    flex: 1;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 0 2rem;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
}

.timeline-item.active .timeline-content {
    border: 2px solid var(--primary);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.ally-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.ally-card:hover {
    transform: translateY(-5px);
}

.ally-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, var(--primary), transparent);
    border-radius: 50%;
    font-size: 3rem;
    color: white;
    position: relative;
}

.ally-avatar::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, transparent 30%, var(--primary) 70%, transparent);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.ally-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.ally-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-date {
        margin-bottom: 1rem;
        text-align: left;
        padding-left: 3rem;
    }
    
    .timeline-content {
        margin-left: 3rem;
        margin-right: 0;
    }
    
    .timeline-content::before {
        left: -33px !important;
    }
}

/* Ambiances Section */
.ambiances-section {
    padding: 4rem 0;
}

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

.ambiance-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.ambiance-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.ambiance-card.night {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(59, 130, 246, 0.1));
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
}

.ambiance-card.chaos {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(251, 146, 60, 0.1));
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.1);
}

.ambiance-card.night::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    animation: float 15s ease-in-out infinite;
}

.ambiance-card.chaos::before {
    content: '';
    position: absolute;
    bottom: -100%;
    right: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.1) 0%, transparent 50%);
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.ambiance-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.ambiance-card.night .ambiance-icon {
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: white;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.3);
}

.ambiance-card.chaos .ambiance-icon {
    background: linear-gradient(135deg, #ef4444, #fb923c);
    color: white;
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
}

.ambiance-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    background: inherit;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(15px);
    z-index: -1;
}

.ambiance-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ambiance-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.ambiance-mood {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.ambiance-mood span {
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Philosophie Section */
.philosophie-section {
    padding: 4rem 0;
    background: var(--section-bg);
}

.philosophie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.philo-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.philo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(124, 58, 237, 0.05));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.philo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
}

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

.philo-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    font-size: 1.75rem;
    color: white;
    position: relative;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

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

.philo-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Likes Section Compact */
.likes-section-compact {
    padding: 4rem 0;
}

.likes-container {
    max-width: 700px;
    margin: 0 auto;
}

.likes-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.tab-button.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.tab-button:hover:not(.active) {
    background: rgba(124, 58, 237, 0.05);
}

.likes-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    min-height: 400px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.compact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.list-item {
    padding: 0.75rem 1rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.tab-content:nth-child(2) .list-item {
    background: rgba(239, 68, 68, 0.05);
}

.list-item:hover {
    background: rgba(124, 58, 237, 0.1);
    transform: translateX(3px);
}

.tab-content:nth-child(2) .list-item:hover {
    background: rgba(239, 68, 68, 0.1);
}

.list-item i {
    font-size: 0.875rem;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.list-item i.fa-check {
    color: #10b981;
}

.list-item i.fa-times {
    color: #ef4444;
}

@media (max-width: 640px) {
    .compact-list {
        grid-template-columns: 1fr;
    }
    
    .likes-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-button {
        width: 100%;
        justify-content: center;
    }
}

/* Old Likes Section - keep for reference */
.likes-section {
    padding: 4rem 0;
}

.likes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.like-category {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.like-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.like-category:nth-child(2)::before {
    background: linear-gradient(90deg, #ef4444, #fb923c);
}

.like-category h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.like-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.like-list li {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    background: rgba(124, 58, 237, 0.05);
    border-radius: 10px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.like-list.dislike li {
    background: rgba(239, 68, 68, 0.05);
}

.like-list li:hover {
    background: rgba(124, 58, 237, 0.1);
    transform: translateX(3px);
}

.like-list.dislike li:hover {
    background: rgba(239, 68, 68, 0.1);
}

.like-list li i {
    font-size: 0.875rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    flex-shrink: 0;
}

.like-list li i.fa-check {
    color: #10b981;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
}

.like-list.dislike li i.fa-times {
    color: #ef4444;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.2);
}

/* Quote Section */
.quote-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.03), rgba(167, 139, 250, 0.03));
    position: relative;
    overflow: hidden;
}

.quote-section::before,
.quote-section::after {
    content: '"';
    position: absolute;
    font-size: 15rem;
    color: var(--primary);
    opacity: 0.05;
    font-family: serif;
}

.quote-section::before {
    top: -3rem;
    left: 10%;
}

.quote-section::after {
    bottom: -3rem;
    right: 10%;
    transform: rotate(180deg);
}

.quote-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.quote-content blockquote {
    margin: 0;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.quote-content blockquote::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 24px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
}

.quote-content blockquote p {
    font-size: 2.25rem;
    font-style: italic;
    color: var(--primary);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.quote-decoration {
    margin-top: 3rem;
    font-size: 4rem;
    animation: moonPulse 3s ease-in-out infinite;
}

@keyframes moonPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Personnage Hero Simple */
.personnage-hero-simple .hero-content {
    min-height: 60vh;
    align-items: center;
}

.hero-subtitle-inline {
    font-size: 0.5em;
    font-weight: 300;
    color: var(--text-secondary);
    opacity: 0.8;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.badge-item i {
    color: var(--primary);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .hero-badges {
        gap: 0.5rem;
    }
    
    .badge-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}


/* Section Titles Enhancement */
.personnage-hero ~ section .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.personnage-hero ~ section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
}

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

@media (max-width: 768px) {
    .ambiances-grid,
    .philosophie-grid {
        grid-template-columns: 1fr;
    }
    
    .likes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 500px;
    }
    
    .like-category {
        padding: 1.25rem;
    }
    
    .like-list li {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    .quote-content blockquote p {
        font-size: 1.5rem;
    }
    
    .quote-section::before,
    .quote-section::after {
        font-size: 8rem;
    }
}

/* Light Mode Specific Styles */
[data-theme="light"] .header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .card,
[data-theme="light"] .overview-card,
[data-theme="light"] .highlight-card,
[data-theme="light"] .schedule-card,
[data-theme="light"] .content-card,
[data-theme="light"] .project-card,
[data-theme="light"] .skill-tag,
[data-theme="light"] .philo-card,
[data-theme="light"] .like-category,
[data-theme="light"] .artefact-card,
[data-theme="light"] .ally-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .contact-info-card {
    background: var(--card-bg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

[data-theme="light"] .hero {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

[data-theme="light"] .avatar-glow {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent 70%);
}

[data-theme="light"] .btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 4px rgba(124, 58, 237, 0.2);
}

[data-theme="light"] .btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 8px rgba(124, 58, 237, 0.3);
}

[data-theme="light"] .btn-secondary {
    background: var(--bg-secondary);
    color: var(--primary);
    border: 1px solid var(--primary);
}

[data-theme="light"] .btn-secondary:hover {
    background: var(--primary);
    color: white;
}

[data-theme="light"] .section {
    background: var(--bg-primary);
}

[data-theme="light"] .section:nth-child(even) {
    background: var(--section-bg);
}

[data-theme="light"] .live-status {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

[data-theme="light"] .schedule-type {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
}

[data-theme="light"] .footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

[data-theme="light"] .tag {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--primary);
}

[data-theme="light"] .theme-toggle {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

[data-theme="light"] .theme-toggle:hover {
    background: var(--primary);
    color: white;
}

[data-theme="light"] .lore-chapter {
    background: var(--card-bg);
    border: 1px solid var(--border);
}

[data-theme="light"] .ambiance-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
}

[data-theme="light"] .ambiance-card.night {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(59, 130, 246, 0.05));
}

[data-theme="light"] .ambiance-card.chaos {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(251, 146, 60, 0.05));
}

[data-theme="light"] .tab-button {
    background: var(--bg-secondary);
}

[data-theme="light"] .tab-button.active {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--primary);
}

[data-theme="light"] .likes-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
}

[data-theme="light"] .list-item {
    background: var(--bg-secondary);
}

[data-theme="light"] .quote-content blockquote {
    background: var(--card-bg);
    border: 1px solid var(--border);
}

[data-theme="light"] .badge-item {
    background: rgba(124, 58, 237, 0.1);
    color: var(--text-primary);
}

[data-theme="light"] .form-control {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

[data-theme="light"] .form-control:focus {
    border-color: var(--primary);
    background: white;
}

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: white;
    border: 1px solid var(--border);
    color: var(--text-primary);
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .highlight-thumbnail {
    background: var(--bg-secondary);
}

[data-theme="light"] .twitch-embed-wrapper {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

[data-theme="light"] .stream-stats-grid {
    background: transparent;
}

[data-theme="light"] .stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
}

[data-theme="light"] .content-icon {
    background: rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .social-main-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
}

[data-theme="light"] .social-other-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
}

[data-theme="light"] .newsletter-form input {
    background: white;
    border: 1px solid var(--border);
}

[data-theme="light"] .alert {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

[data-theme="light"] .alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #059669;
}

[data-theme="light"] .alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #dc2626;
}

/* Light mode for new sections */
[data-theme="light"] .github-info-card,
[data-theme="light"] .github-stats-card,
[data-theme="light"] .org-card,
[data-theme="light"] .language-chart,
[data-theme="light"] .tech-metrics {
    background: #ffffff;
    border-color: #e5e7eb;
}

[data-theme="light"] .repo-card {
    background: #f9fafb;
    border-color: #e5e7eb;
}

[data-theme="light"] .repo-card:hover,
[data-theme="light"] .org-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .activity-icon {
    background: rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .repo-language {
    background: rgba(124, 58, 237, 0.1);
    color: #6b28d9;
}


[data-theme="light"] .metric-item {
    border-color: #e5e7eb;
}

/* Professional Stream Page Styles */

/* Stream Hero Section */
.stream-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
    overflow: hidden;
    padding-top: 120px; /* Espace pour le header */
}

.stream-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

.stream-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.hero-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.live-badge.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.offline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(107, 114, 128, 0.2);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.viewer-count, .next-stream {
    color: var(--text-secondary);
    font-size: 14px;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    margin: 0;
    display: flex;
    flex-direction: column;
    line-height: 0.85;
}

.title-main {
    background: linear-gradient(135deg, var(--primary), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(124, 58, 237, 0.4);
    letter-spacing: 0.05em;
}

.title-sub {
    font-size: 0.35em;
    color: var(--text-secondary);
    letter-spacing: 0.3em;
    margin-top: 5px;
    font-weight: 400;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0;
    letter-spacing: 0.05em;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-stream {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(45deg, #9146ff, #6441a5);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(145, 70, 255, 0.3);
}

.btn-stream:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(145, 70, 255, 0.4);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: glow 3s ease-in-out infinite;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.hero-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-stats .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.hero-stats .stat-data {
    text-align: left;
}

.hero-stats .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Compact inline stats */
.hero-stats-inline {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.stat-item-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 30px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
}

.stat-item-compact:hover {
    background: rgba(124, 58, 237, 0.15);
    transform: translateY(-2px);
}

.stat-item-compact i {
    color: var(--primary);
    font-size: 1.2rem;
}

.stat-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-name {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Stream Player Section */
.stream-player-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.stream-player-wrapper {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.player-info h2 {
    color: var(--text-primary);
    margin: 0 0 5px 0;
    font-size: 20px;
}

.current-game, .offline-message {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.player-controls {
    display: flex;
    gap: 10px;
}

.player-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.stream-embed-container {
    position: relative;
    display: flex;
    height: 600px;
}

.stream-player {
    flex: 1;
    background: #000;
}

.stream-chat {
    width: 350px;
    background: var(--bg-primary);
    border-left: 1px solid var(--border);
    position: relative;
}

.chat-header {
    padding: 15px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
}

/* Content Categories Section */
.content-categories-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header .section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.content-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.content-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: var(--bg-primary);
    border-radius: 20px;
    border: 2px solid var(--border);
    transition: all 0.4s ease;
    opacity: 0.7;
}

.content-item.active {
    opacity: 1;
    border-color: var(--primary);
    box-shadow: 0 20px 40px var(--shadow);
}

.content-visual {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content-icon {
    font-size: 40px;
    color: var(--primary);
    z-index: 2;
}

.content-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), transparent);
    opacity: 0.1;
}

.content-details {
    flex: 1;
}

.content-details h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.content-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.content-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.content-tags .tag {
    padding: 6px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.content-stats {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: var(--text-secondary);
}

.content-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Stream Stats Wide Section */
.stream-stats-wide-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.stats-wide-container {
    width: 100%;
    max-width: none;
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-header .section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.stats-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.stats-wide-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0 40px;
    margin-bottom: 60px;
    overflow-x: auto;
}

.stat-wide-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    overflow: hidden;
    flex: 1;
    min-width: 250px;
    flex-shrink: 0;
}

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

.stat-wide-card.live-card {
    border-color: #ef4444;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.live-pulse {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.stat-wide-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 28px;
    flex-shrink: 0;
}

.live-card .stat-wide-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.stat-wide-content {
    flex: 1;
}

.stat-wide-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 5px 0;
    line-height: 1;
}

.stat-wide-label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.stream-categories {
    padding: 60px 40px 0;
}

.categories-header {
    text-align: center;
    margin-bottom: 50px;
}

.categories-header h3 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.categories-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.categories-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.category-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 2px solid var(--border);
    transition: all 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow);
    border-color: var(--category-color);
}

.category-card:hover .category-glow {
    opacity: 0.1;
}

.category-card:hover .category-icon {
    background: var(--category-color);
    color: white;
    transform: scale(1.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--category-color);
    font-size: 24px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-content {
    flex: 1;
}

.category-name {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    font-weight: 600;
}

.category-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.category-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--category-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.categories-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.categories-footer p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-style: italic;
}

.categories-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(45deg, #9146ff, #6441a5);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(145, 70, 255, 0.3);
}

.categories-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(145, 70, 255, 0.4);
}

.categories-cta i {
    font-size: 16px;
}

/* Weekly Schedule Section */

/* Responsive pour stats wide */
@media (max-width: 1200px) {
    .stats-wide-grid {
        gap: 15px;
        padding: 0 20px;
    }
    
    .stat-wide-card {
        min-width: 220px;
    }
    
    .categories-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .stats-wide-grid {
        gap: 15px;
        padding: 0 20px;
    }
    
    .stat-wide-card {
        padding: 20px;
        min-width: 200px;
    }
    
    .stat-wide-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .stat-wide-number {
        font-size: 1.8rem;
    }
    
    .stream-categories {
        padding: 60px 20px 0;
    }
    
    .categories-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes glow {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 0 30px rgba(239, 68, 68, 0.6); }
    100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.3); }
}

/* Responsive */
@media (max-width: 1200px) {
    .stream-chat {
        width: 300px;
    }
    
    .hero-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .stream-hero {
        min-height: 80vh;
        padding: 140px 20px 40px 20px; /* Plus d'espace en haut sur mobile */
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-stats-inline {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .stat-item-compact {
        width: 100%;
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-actions .btn-stream,
    .hero-actions .btn-explore {
        width: 100%;
        max-width: 300px;
    }
    
    .stream-embed-container {
        flex-direction: column;
        height: auto;
    }
    
    .stream-chat {
        width: 100%;
        height: 400px;
    }
    
    .content-item {
        flex-direction: column;
        text-align: center;
    }
    
    .content-visual {
        width: 100px;
        height: 100px;
    }
}

/* GitHub Profile Section */
.github-profile-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.github-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.github-info-card {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.github-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.github-header i {
    font-size: 40px;
    color: var(--primary);
}

.github-header h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin: 0;
}

.github-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.github-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.meta-item i {
    color: var(--primary);
    width: 20px;
}

.meta-item a {
    color: var(--primary);
    text-decoration: none;
}

.meta-item a:hover {
    text-decoration: underline;
}

.github-stats-card {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.github-stats-card h3 {
    margin-bottom: 30px;
    color: var(--text-primary);
}

.activity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.activity-item {
    display: flex;
    gap: 15px;
}

.activity-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.activity-data {
    display: flex;
    flex-direction: column;
}

.activity-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.activity-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Top Repositories Section */
.top-repos-section {
    padding: 100px 0;
}

.repos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.repo-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.repo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.repo-name {
    font-size: 20px;
    color: var(--text-primary);
    margin: 0;
}

.repo-language {
    font-size: 14px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 20px;
}

.repo-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.repo-stats {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.repo-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 14px;
}

.repo-stat i {
    color: var(--primary);
}

/* Organizations Section V2 - New Modern Design */
.organizations-section-v2 {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.org-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.org-slider-container {
    position: relative;
    margin: 0 -20px;
    padding: 0 60px;
}

.org-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.org-slider::-webkit-scrollbar {
    display: none;
}

.org-card-v2 {
    flex: 0 0 360px;
    opacity: 0;
    animation: slideIn 0.6s ease forwards;
    animation-delay: calc(var(--index) * 0.1s);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.org-card-link {
    display: block;
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    height: 100%;
}

.org-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.org-card-header {
    position: relative;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, transparent 100%);
}

.org-logo-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.org-logo-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.org-logo-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
    filter: blur(20px);
}

.org-card-link:hover .org-logo-glow {
    opacity: 0.3;
}

.org-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
}

.org-card-body {
    padding: 0 30px 30px;
}

.org-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    transition: color 0.3s ease;
}

.org-card-link:hover .org-title {
    color: var(--primary);
}

.org-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    min-height: 3rem;
}

.org-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.org-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.org-meta-item i {
    color: var(--primary);
    font-size: 0.875rem;
}

.org-card-footer {
    padding: 20px 30px;
    background: rgba(124, 58, 237, 0.05);
    border-top: 1px solid var(--border);
}

.org-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.org-cta i {
    transition: transform 0.3s ease;
}

.org-card-link:hover .org-cta i {
    transform: translateX(5px);
}

/* Navigation Buttons */
.org-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--text-primary);
}

.org-nav-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.org-nav-btn.prev {
    left: 0;
}

.org-nav-btn.next {
    right: 0;
}

/* Dots Navigation */
.org-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
}

.org-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.org-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

/* Light Theme */
[data-theme="light"] .org-card-link {
    background: #ffffff;
}

[data-theme="light"] .org-nav-btn {
    background: #ffffff;
}

[data-theme="light"] .org-card-footer {
    background: rgba(124, 58, 237, 0.03);
}

/* Responsive */
@media (max-width: 768px) {
    .org-slider-container {
        padding: 0 40px;
    }
    
    .org-card-v2 {
        flex: 0 0 300px;
    }
    
    .org-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .org-card-header {
        padding: 30px 20px 20px;
    }
    
    .org-card-body {
        padding: 0 20px 20px;
    }
    
    .org-card-footer {
        padding: 15px 20px;
    }
}

.org-website {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 13px;
}

.org-website i {
    font-size: 11px;
}

.org-arrow {
    color: var(--primary);
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* Technologies Overview Section */
.tech-overview-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.tech-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.language-chart {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.language-chart h3 {
    margin-bottom: 30px;
    color: var(--text-primary);
}

/* Simple Pie Chart Styles */
.simple-chart-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.pie-chart-area {
    flex-shrink: 0;
}

#languagePieChart {
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.chart-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.chart-legend::-webkit-scrollbar {
    width: 4px;
}

.chart-legend::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.chart-legend::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
}

.lang-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-primary);
}

.lang-percent {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.875rem;
}

.language-name {
    color: var(--text-primary);
    font-weight: 500;
}

.language-percentage {
    color: var(--text-secondary);
    font-size: 14px;
}


.tech-metrics {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.tech-metrics h3 {
    margin-bottom: 30px;
    color: var(--text-primary);
}

.metrics-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.metric-item:last-child {
    border-bottom: none;
}

.metric-label {
    color: var(--text-secondary);
}

.metric-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 1200px) {
    .repos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .github-profile-grid,
    .tech-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .repos-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-grid {
        grid-template-columns: 1fr;
    }
    
    .simple-chart-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .pie-chart-area {
        margin: 0 auto;
    }
    
    .chart-legend {
        max-height: none;
        width: 100%;
    }
}

/* Tech Section Redesign */
.tech-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.tech-tab {
    padding: 0.75rem 2rem;
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 30px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tech-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tech-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tech-content {
    margin-top: 3rem;
}

.tech-panel {
    display: none;
}

.tech-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
}

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

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
}

.tech-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
}

.tech-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.tech-level {
    margin-top: 0.5rem;
}

.tech-level .level-bar {
    height: 6px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.tech-level .level-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    transition: width 1s ease;
}

[data-theme="light"] .tech-tab {
    background: var(--bg-secondary);
}

[data-theme="light"] .tech-tab.active {
    background: var(--primary);
    color: white;
}

[data-theme="light"] .tech-card {
    border: 1px solid var(--border);
}

[data-theme="light"] .tech-icon {
    background: rgba(124, 58, 237, 0.08);
}

@media (max-width: 768px) {
    .tech-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tech-tab {
        width: 100%;
        max-width: 300px;
    }
    
    .tech-list {
        grid-template-columns: 1fr;
    }
}

/* Full Width Stats Section */
.full-width-stats-section {
    padding: 100px 0 0;
    background: var(--bg-primary);
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.stats-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 40px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* Stats Banner - FULL WIDTH */
.stats-banner {
    width: 100%;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(124, 58, 237, 0.03) 100%);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-bottom: 60px;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat-visual {
    position: relative;
}

.stat-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    z-index: 2;
}

.stat-progress-ring {
    width: 100px;
    height: 100px;
}

.progress-ring {
    transition: stroke-dashoffset 2s ease;
    transform-origin: center;
}

.stat-data h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: 'Space Grotesk', monospace;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: rgba(124, 58, 237, 0.2);
}

/* Sub Stats */
.sub-stats-container {
    background: rgba(124, 58, 237, 0.02);
    padding: 40px;
}

.sub-stats-grid {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

.sub-stat {
    text-align: center;
}

.sub-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.sub-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stat-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    flex: 1;
    min-width: 0;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.stat-card.primary-stat {
    flex: 1.5;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: 'Space Grotesk', monospace;
}

.stat-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.stat-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.stat-trend {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(34, 197, 94, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
}

.trend-icon {
    color: #22c55e;
    font-weight: 700;
}

.trend-text {
    color: #22c55e;
}

/* Skills Section */
.skills-section {
    padding: 80px 40px;
}

.skills-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
    text-align: center;
}

/* Skills Overview */
.skills-overview {
    max-width: 1400px;
    margin: 0 auto;
}

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

.skill-item {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
    border-color: var(--primary);
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.skill-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.skill-level {
    width: 100%;
}

.level-bar {
    height: 8px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.level-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 4px;
    transition: width 2s ease;
    transform: scaleX(0);
    transform-origin: left;
}

.skill-circle {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.skill-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.skill-circle-progress {
    transition: stroke-dashoffset 2s ease;
}

.skill-circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.skill-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.skill-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Light mode */
[data-theme="light"] .stats-banner {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(124, 58, 237, 0.05) 100%);
}

[data-theme="light"] .stat-icon-wrapper {
    background: var(--bg-secondary);
}

[data-theme="light"] .sub-stats-container {
    background: rgba(124, 58, 237, 0.03);
}

[data-theme="light"] .skill-item {
    background: var(--bg-secondary);
    border-color: var(--border);
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-banner {
        flex-wrap: wrap;
        gap: 3rem;
        padding: 40px 20px;
    }
    
    .stat-item {
        min-width: 180px;
    }
    
    .stat-divider {
        display: none;
    }
}

@media (max-width: 900px) {
    .stats-banner {
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 2rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .stat-item {
        flex-shrink: 0;
    }
}

@media (max-width: 900px) {
    .main-stats-grid {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .main-stats-grid::-webkit-scrollbar {
        height: 6px;
    }
    
    .main-stats-grid::-webkit-scrollbar-track {
        background: rgba(124, 58, 237, 0.1);
        border-radius: 3px;
    }
    
    .main-stats-grid::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 3px;
    }
    
    .stat-card {
        min-width: 200px;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .stats-container {
        padding: 0 20px;
    }
    
    .main-stats-grid {
        gap: 1rem;
        margin-bottom: 60px;
    }
    
    .stat-card {
        padding: 1.25rem;
        min-width: 180px;
    }
    
    .stat-content h3 {
        font-size: 1.75rem;
    }
    
    .stat-title {
        font-size: 1rem;
    }
    
    .stat-description {
        font-size: 0.75rem;
    }
    
    .skill-circle {
        width: 120px;
        height: 120px;
    }
    
    .skills-section {
        padding: 40px 20px;
    }
}

/* Epic Stats Section - FULL WIDTH */
.epic-stats-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0;
    overflow: hidden;
    background: #0a0a0a;
    min-height: 100vh;
}

/* Background Effects */
.stats-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.particle-field {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Content Wrapper */
.stats-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 80px 40px;
}

/* Mega Header */
.stats-mega-header {
    text-align: center;
    margin-bottom: 80px;
}

.cyber-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.2em;
    margin: 0;
    display: inline-flex;
    perspective: 1000px;
}

.cyber-letter {
    position: relative;
    display: inline-block;
    color: transparent;
    text-shadow: 
        0 0 1px rgba(255, 255, 255, 0.8),
        0 0 3px rgba(124, 58, 237, 0.8),
        0 0 5px rgba(124, 58, 237, 0.6),
        0 0 10px rgba(124, 58, 237, 0.4);
    animation: cyber-flicker 2s infinite;
    transform-style: preserve-3d;
    transition: all 0.3s;
}

.cyber-letter:hover {
    transform: rotateY(360deg) scale(1.2);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 1),
        0 0 20px rgba(124, 58, 237, 1),
        0 0 30px rgba(124, 58, 237, 0.8),
        0 0 40px rgba(124, 58, 237, 0.6);
}

.cyber-letter::before {
    content: attr(data-letter);
    position: absolute;
    top: 0;
    left: 0;
    color: #00ffff;
    opacity: 0.8;
    animation: glitch-1 0.5s infinite;
}

.cyber-letter::after {
    content: attr(data-letter);
    position: absolute;
    top: 0;
    left: 0;
    color: #ff00ff;
    opacity: 0.8;
    animation: glitch-2 0.5s infinite;
}

@keyframes cyber-flicker {
    0%, 100% { opacity: 1; }
    5%, 95% { opacity: 0.95; }
    10%, 90% { opacity: 1; }
}

.subtitle-matrix {
    margin-top: 20px;
    font-size: 1.5rem;
    font-family: 'Courier New', monospace;
    color: #0f0;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Stats Dashboard - FULL WIDTH */
.stats-dashboard {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    max-width: 1800px;
    margin: 0 auto 80px;
    height: 600px;
}

.dashboard-panel {
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.dashboard-panel::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #00ffff);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
}

.dashboard-panel:hover::before {
    opacity: 0.5;
    animation: border-rotate 3s linear infinite;
}

@keyframes border-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.panel-header {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    color: #00ffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

/* Left Panel - Metrics */
.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.metric-card {
    background: rgba(124, 58, 237, 0.1);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.metric-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: rgba(124, 58, 237, 0.5);
}

.metric-data {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 10px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Space Grotesk', monospace;
}

.metric-unit {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
}

.metric-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.metric-bars {
    display: flex;
    gap: 5px;
    margin-top: 15px;
    height: 40px;
    align-items: flex-end;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, #00ffff, #0080ff);
    border-radius: 2px;
    animation: bar-dance 1s ease-in-out infinite;
}

.bar:nth-child(1) { height: 60%; animation-delay: 0s; }
.bar:nth-child(2) { height: 80%; animation-delay: 0.1s; }
.bar:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.bar:nth-child(4) { height: 90%; animation-delay: 0.3s; }
.bar:nth-child(5) { height: 70%; animation-delay: 0.4s; }

@keyframes bar-dance {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

/* Center Panel - 3D Hologram */
.hologram-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.hologram-base {
    position: relative;
    width: 400px;
    height: 400px;
    transform-style: preserve-3d;
    animation: hologram-rotate 20s linear infinite;
}

@keyframes hologram-rotate {
    0% { transform: rotateY(0deg) rotateX(10deg); }
    100% { transform: rotateY(360deg) rotateX(10deg); }
}

.hologram-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(0, 255, 255, 0.5);
    border-radius: 50%;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.5),
        inset 0 0 20px rgba(0, 255, 255, 0.3);
}

.ring-1 {
    width: 300px;
    height: 300px;
    animation: ring-pulse 3s ease-in-out infinite;
}

.ring-2 {
    width: 350px;
    height: 350px;
    animation: ring-pulse 3s ease-in-out infinite 0.5s;
}

.ring-3 {
    width: 400px;
    height: 400px;
    animation: ring-pulse 3s ease-in-out infinite 1s;
}

@keyframes ring-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hologram-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-data {
    text-align: center;
}

.data-point {
    margin: 20px 0;
    opacity: 0;
    animation: data-fade-in 1s forwards;
}

.data-point:nth-child(1) { animation-delay: 0.5s; }
.data-point:nth-child(2) { animation-delay: 1s; }
.data-point:nth-child(3) { animation-delay: 1.5s; }

@keyframes data-fade-in {
    to { opacity: 1; transform: translateY(0); }
    from { opacity: 0; transform: translateY(20px); }
}

.dp-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.dp-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

/* Right Panel - Achievements */
.achievement-matrix {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.matrix-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.achievement-cell {
    aspect-ratio: 1;
    background: rgba(124, 58, 237, 0.1);
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.achievement-cell.unlocked {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.5);
    color: #00ffff;
}

.achievement-cell.legendary {
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.2));
    border-color: gold;
    color: gold;
    animation: legendary-glow 2s ease-in-out infinite;
}

@keyframes legendary-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.8); }
}

.achievement-cell:hover {
    transform: scale(1.1);
    z-index: 10;
}

.achievement-cell[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.achievement-cell:hover[data-tooltip]::after {
    opacity: 1;
}

.achievement-progress {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 15px;
}

.progress-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.progress-track {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    border-radius: 5px;
    transition: width 2s ease;
}

.progress-percent {
    text-align: right;
    font-size: 0.875rem;
    color: #00ffff;
}

/* Bottom Stats Bar */
.stats-bottom-bar {
    background: rgba(10, 10, 10, 0.95);
    border-top: 2px solid rgba(124, 58, 237, 0.3);
    padding: 30px 0;
}

.stat-ticker {
    display: flex;
    justify-content: space-around;
    max-width: 1400px;
    margin: 0 auto;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ticker-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.ticker-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.ticker-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Space Grotesk', monospace;
}

/* Light mode adjustments */
[data-theme="light"] .epic-stats-section {
    background: #f5f5f5;
}

[data-theme="light"] .dashboard-panel {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(124, 58, 237, 0.5);
}

[data-theme="light"] .cyber-letter {
    text-shadow: 
        0 0 1px rgba(0, 0, 0, 0.8),
        0 0 3px rgba(124, 58, 237, 0.8);
}

[data-theme="light"] .metric-value,
[data-theme="light"] .ticker-value {
    color: #333;
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-dashboard {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .hologram-base {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .cyber-title {
        font-size: 3rem;
    }
    
    .stats-content-wrapper {
        padding: 40px 20px;
    }
    
    .stat-ticker {
        flex-direction: column;
        gap: 20px;
    }
}

/* Matrix Stats Section */
.matrix-stats-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(124, 58, 237, 0.02) 50%, var(--bg-primary) 100%);
}

.stats-header {
    text-align: center;
    margin-bottom: 4rem;
}

.glitch-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    position: relative;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-title::before {
    animation: glitch-1 0.3s infinite;
    color: #00ffff;
    z-index: -1;
}

.glitch-title::after {
    animation: glitch-2 0.3s infinite;
    color: #ff00ff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 0 0); }
    20% { clip-path: inset(20% 0 60% 0); }
    40% { clip-path: inset(40% 0 20% 0); }
    60% { clip-path: inset(60% 0 10% 0); }
    80% { clip-path: inset(80% 0 5% 0); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 2px); }
    40% { clip-path: inset(40% 0 20% 0); transform: translate(2px, -2px); }
    60% { clip-path: inset(60% 0 10% 0); transform: translate(-2px, -2px); }
    80% { clip-path: inset(80% 0 5% 0); transform: translate(2px, 2px); }
}

.stats-subtitle {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.typed-text {
    font-family: 'Courier New', monospace;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Stats Universe */
.stats-universe {
    position: relative;
    height: 600px;
    margin-bottom: 4rem;
    border-radius: 24px;
    background: var(--card-bg);
    border: 1px solid rgba(124, 58, 237, 0.2);
    overflow: hidden;
}

.code-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
}

/* Stats Constellation */
.stats-constellation {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding: 4rem;
    gap: 2rem;
}

.stat-node {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.stat-node:nth-child(2) { animation-delay: 1.5s; }
.stat-node:nth-child(3) { animation-delay: 3s; }
.stat-node:nth-child(4) { animation-delay: 4.5s; }

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

.node-core {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.2), rgba(124, 58, 237, 0.05));
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.stat-node:hover .node-core {
    transform: scale(1.1);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

.node-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Space Grotesk', monospace;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.8);
}

.node-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.node-orbit {
    position: absolute;
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.orbit-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(124, 58, 237, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--primary);
    animation: rotate 10s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connection {
    stroke: rgba(124, 58, 237, 0.2);
    stroke-width: 1;
    stroke-dasharray: 5, 10;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to { stroke-dashoffset: -1000; }
}

/* Terminal Output */
.terminal-output {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #2d2d2d;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.red { background: #ff5f56; }
.terminal-btn.yellow { background: #ffbd2e; }
.terminal-btn.green { background: #27c93f; }

.terminal-title {
    font-size: 0.75rem;
    color: #999;
    font-family: 'Courier New', monospace;
}

.terminal-content {
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.terminal-line {
    margin-bottom: 0.5rem;
    color: #0f0;
}

.prompt { color: #00ffff; }
.success { color: #27c93f; }
.info { color: #ffbd2e; }

.terminal-progress {
    margin-top: 1rem;
    height: 4px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    width: 0;
    animation: progress 3s ease-out forwards;
}

@keyframes progress {
    to { width: 100%; }
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.achievement {
    background: var(--card-bg);
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.achievement.unlocked {
    border-color: var(--primary);
}

.achievement.locked {
    opacity: 0.5;
    filter: grayscale(100%);
}

.achievement:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    position: relative;
}

.achievement.unlocked .achievement-icon {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(124, 58, 237, 0); }
}

.achievement-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.achievement-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.achievement-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement:hover .achievement-glow {
    opacity: 1;
}

/* Light mode adjustments */
[data-theme="light"] .matrix-stats-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(124, 58, 237, 0.05) 50%, var(--bg-primary) 100%);
}

[data-theme="light"] .stats-universe {
    background: var(--bg-secondary);
}

[data-theme="light"] .terminal-output {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .terminal-header {
    background: #f0f0f0;
}

[data-theme="light"] .terminal-content {
    color: #333;
}

[data-theme="light"] .terminal-line {
    color: #333;
}

[data-theme="light"] .achievement {
    background: var(--bg-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .glitch-title {
        font-size: 2rem;
    }
    
    .stats-universe {
        height: 400px;
    }
    
    .stats-constellation {
        padding: 2rem;
    }
    
    .node-core {
        width: 100px;
        height: 100px;
    }
    
    .node-value {
        font-size: 1.5rem;
    }
    
    .terminal-output {
        width: 95%;
        font-size: 0.75rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

.footer-text p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Networks Page Styles */
.networks-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.networks-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.network-grid-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.network-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.network-particles::before,
.network-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: float-network 15s infinite ease-in-out;
}

.network-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.network-particles::after {
    top: 60%;
    right: 20%;
    animation-delay: 7s;
}

@keyframes float-network {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, -50px) scale(1.2); }
    50% { transform: translate(-50px, 100px) scale(0.8); }
    75% { transform: translate(50px, 50px) scale(1.1); }
}

.networks-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-badge-network {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero-title-network {
    margin-bottom: 1.5rem;
}

.title-gradient {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.title-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-primary);
    font-weight: 300;
    display: block;
}

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

.hero-stats-network {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item-network {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon-pulse {
    width: 60px;
    height: 60px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    position: relative;
}

.stat-icon-pulse::before,
.stat-icon-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary);
    animation: pulse-ring 3s infinite;
}

.stat-icon-pulse::after {
    animation-delay: 1.5s;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.stat-info {
    text-align: left;
}

.stat-info .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.stat-info .stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--primary);
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Main Platforms Section */
.main-platforms-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.section-tag-gradient {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title-modern {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.platforms-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-card-modern {
    position: relative;
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    transition: opacity 0.3s ease;
}

.platform-card-modern.twitch .card-background {
    background: linear-gradient(135deg, #9146ff, #6441a5);
}

.platform-card-modern.github .card-background {
    background: linear-gradient(135deg, #333, #000);
}

.platform-card-modern.discord .card-background {
    background: linear-gradient(135deg, #7289da, #5865f2);
}

.platform-card-modern:hover .card-background {
    opacity: 0.1;
}

.card-content {
    position: relative;
    padding: 3rem;
}

.platform-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-card-modern.twitch .icon-glow {
    background: radial-gradient(circle, rgba(145, 70, 255, 0.5), transparent);
}

.platform-card-modern.github .icon-glow {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent);
}

.platform-card-modern.discord .icon-glow {
    background: radial-gradient(circle, rgba(114, 137, 218, 0.5), transparent);
}

.platform-card-modern:hover .icon-glow {
    opacity: 1;
}

.platform-icon-container i {
    font-size: 3rem;
    position: relative;
    z-index: 1;
}

.platform-card-modern.twitch i { color: #9146ff; }
.platform-card-modern.github i { color: var(--text-primary); }
.platform-card-modern.discord i { color: #7289da; }

.live-indicator-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff0000;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: #43b581;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
}

.online-indicator span {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #43b581;
    border-radius: 50%;
    animation: ping 1.5s infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.platform-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.platform-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.platform-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    background: rgba(124, 58, 237, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-box i {
    font-size: 1rem;
    color: var(--primary);
}

.platform-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.platform-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.platform-cta:hover {
    gap: 1rem;
    color: var(--primary);
}

.platform-cta i {
    transition: transform 0.3s ease;
}

.platform-cta:hover i {
    transform: translateX(5px);
}

.footer-right {
    display: flex;
    gap: 20px;
}

.footer-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid;
}

.footer-btn.primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.footer-btn.secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.footer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.footer-btn.primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.footer-btn:hover .btn-shine {
    left: 100%;
}

/* Animations */
@keyframes card-entrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-particles {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

@keyframes gradient-shift {
    0%, 100% { background: linear-gradient(135deg, transparent 0%, rgba(0, 210, 255, 0.02) 50%, transparent 100%); }
    50% { background: linear-gradient(135deg, transparent 0%, rgba(124, 58, 237, 0.02) 50%, transparent 100%); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Responsive */
@media (max-width: 1400px) {
    .schedule-days {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .schedule-title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .schedule-days {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .schedule-day-card {
        padding: 30px 20px;
        min-height: 350px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-right {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-btn {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .schedule-days {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .schedule-title {
        font-size: 2.5rem;
    }
    
    .schedule-timeline {
        padding: 0 20px;
    }
    
    .timeline-line {
        left: 20px;
        right: 20px;
    }
    
    .timeline-dots {
        left: 20px;
        right: 20px;
    }
    
    .schedule-footer-modern {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .schedule-days {
        grid-template-columns: 1fr;
    }
    
    .schedule-day-card {
        padding: 25px 20px;
        min-height: 300px;
    }
    
    .day-name-modern {
        font-size: 1.5rem;
    }
    
    .day-icon-modern {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Network Ecosystem Section */
.network-ecosystem-section {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.ecosystem-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.ecosystem-card {
    text-decoration: none;
    transition: all 0.3s ease;
}

.eco-card-inner {
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ecosystem-card:hover .eco-card-inner {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.eco-icon {
    width: 60px;
    height: 60px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.ecosystem-card.twitter .eco-icon { color: #1DA1F2; }
.ecosystem-card.tiktok .eco-icon { color: #000; }
.ecosystem-card.youtube .eco-icon { color: #FF0000; }
.ecosystem-card.instagram .eco-icon { color: #E4405F; }
.ecosystem-card.linkedin .eco-icon { color: #0A66C2; }
.ecosystem-card.devto .eco-icon { color: #000; }
.ecosystem-card.reddit .eco-icon { color: #FF4500; }
.ecosystem-card.email .eco-icon { color: var(--primary); }

.ecosystem-card:hover .eco-icon {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

.eco-card-inner h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.eco-card-inner p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.eco-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.active { background: #10b981; }
.status-dot.moderate { background: #f59e0b; }
.status-dot.low { background: #6b7280; }

.ecosystem-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.center-logo {
    width: 120px;
    height: 120px;
    position: relative;
}

.center-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: ecosystem-pulse 3s infinite;
}

.pulse-ring.delay-1 { animation-delay: 1s; }
.pulse-ring.delay-2 { animation-delay: 2s; }

@keyframes ecosystem-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Connection Section */
.connection-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.connection-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.connection-header {
    margin-bottom: 2rem;
}

.icon-stack {
    display: flex;
    gap: -10px;
    margin-bottom: 1rem;
}

.icon-stack i {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
    animation: icon-float 3s ease-in-out infinite;
}

.icon-stack i:nth-child(1) { animation-delay: 0s; z-index: 3; }
.icon-stack i:nth-child(2) { animation-delay: 0.5s; z-index: 2; transform: rotate(-10deg); }
.icon-stack i:nth-child(3) { animation-delay: 1s; z-index: 1; transform: rotate(10deg); }

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

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

.connection-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.connection-form {
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.form-features {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-features i {
    color: #10b981;
}

.connection-alternatives {
    text-align: center;
}

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

.quick-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.quick-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
    color: white;
    transition: all 0.3s ease;
}

.quick-link.twitch { background: #9146ff; }
.quick-link.discord { background: #7289da; }
.quick-link.twitter { background: #1DA1F2; }
.quick-link.github { background: #333; }

.quick-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.connection-visual {
    position: relative;
}

.visual-content {
    position: relative;
}

.notification-preview {
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slide-in 1s ease-out;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notif-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.notif-body strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.notif-body p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.notif-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(124, 58, 237, 0.1);
    transform: translateX(10px);
}

.benefit-item i {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1rem;
}

.benefit-item span {
    color: var(--text-primary);
    font-weight: 600;
}

/* Impact Stats Section */
.impact-stats-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.impact-stat-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.impact-stat-card.large {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.impact-stat-card:not(.large):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-container i {
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-stat-card:not(.large) .stat-icon-container i {
    color: var(--primary);
}

.impact-stat-card.large .stat-icon-container i {
    color: white;
}

.icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.impact-stat-card:not(.large) .icon-bg {
    background: rgba(124, 58, 237, 0.1);
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.impact-stat-card:not(.large) .stat-content h3 {
    color: var(--text-primary);
}

.stat-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.875rem;
    opacity: 0.8;
}

.impact-stat-card:not(.large) .stat-description {
    color: var(--text-secondary);
}

.stat-growth {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.stat-growth i {
    color: #10b981;
}

.impact-timeline {
    text-align: center;
}

.impact-timeline h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.timeline-graph {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.growth-chart {
    width: 100%;
    height: auto;
}

.timeline-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Platform Breakdown Section */
.platform-breakdown {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.platform-breakdown h3 {
    text-align: center;
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

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

.breakdown-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.breakdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.breakdown-card.twitch-stats::before { background: #9146ff; }
.breakdown-card.github-stats::before { background: #333; }
.breakdown-card.discord-stats::before { background: #7289da; }

.breakdown-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.breakdown-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.breakdown-header i {
    font-size: 2rem;
}

.breakdown-card.twitch-stats i { color: #9146ff; }
.breakdown-card.github-stats i { color: var(--text-primary); }
.breakdown-card.discord-stats i { color: #7289da; }

.breakdown-header h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0;
}

.breakdown-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mini-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mini-stat:hover {
    background: rgba(124, 58, 237, 0.1);
    transform: scale(1.05);
}

.mini-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.mini-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Timeline Graph Styles */
.timeline-graph {
    position: relative;
    margin: 2rem 0;
}

.timeline-graph canvas {
    width: 100%;
    height: 200px;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

.timeline-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.legend-item .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot.twitch { background: #9146ff; }
.dot.github { background: #333; }
.dot.total { background: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
    .platforms-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .connection-wrapper {
        grid-template-columns: 1fr;
    }
    
    .impact-stat-card.large {
        grid-column: span 1;
    }
    
    .hero-stats-network {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .form-features {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .breakdown-stats {
        grid-template-columns: 1fr;
    }
    
    .timeline-legend {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}/* Calendrier Section */
.calendar-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.calendar-header {
    text-align: center;
    margin-bottom: 60px;
}

.calendar-title {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.calendar-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.calendar-widget {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.calendar-month {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calendar-month i {
    color: var(--primary);
    font-size: 1.1em;
}

.calendar-legend {
    display: flex;
    gap: 20px;
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.legend-dot {
    width: 12px;
    height: 12px;
    display: inline-block;
}

.legend-dot.coding { background: #3b82f6; }
.legend-dot.gaming { background: #ef4444; }
.legend-dot.chat { background: #8b5cf6; }
.legend-dot.music { background: #f59e0b; }
.legend-dot.off { background: #6b7280; }

.calendar-grid {
    background: var(--bg-primary);
    overflow: hidden;
    border: 1px solid var(--border);
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.day-header {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: var(--border);
}

.schedule-day {
    background: var(--bg-primary);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.schedule-day:hover {
    background: var(--bg-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.schedule-day.today {
    background: var(--primary);
    color: white;
}

.schedule-day.today .day-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.schedule-day.today .day-name {
    color: white;
}

.schedule-day.today .schedule-time,
.schedule-day.today .schedule-type {
    color: white;
}

.schedule-day.today .schedule-desc {
    color: rgba(255, 255, 255, 0.9);
}

.schedule-day-header {
    padding: 15px 15px 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-day.today .schedule-day-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.day-number {
    width: 28px;
    height: 28px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.day-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-day-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.schedule-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    margin-bottom: 15px;
    align-self: flex-start;
}

.schedule-day.coding .schedule-icon { background: #3b82f6; }
.schedule-day.gaming .schedule-icon { background: #ef4444; }
.schedule-day.chat .schedule-icon { background: #8b5cf6; }
.schedule-day.music .schedule-icon { background: #f59e0b; }
.schedule-day.off .schedule-icon { background: #6b7280; }
.schedule-day.surprise .schedule-icon { background: #06b6d4; }

.schedule-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-time {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
}

.schedule-type {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.schedule-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-top: auto;
    opacity: 0.8;
}

.calendar-footer {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-style: italic;
}

.footer-note i {
    color: var(--primary);
    font-size: 1.1em;
}

.footer-actions {
    display: flex;
    gap: 15px;
}

.cal-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid;
}

.cal-btn.primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cal-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.cal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cal-btn.primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.cal-btn.secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .calendar-widget {
        padding: 30px;
    }
    
    .calendar-nav {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .calendar-legend {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .calendar-days {
        grid-template-columns: 1fr;
    }
    
    .calendar-days-header {
        display: none;
    }
    
    .calendar-day {
        padding: 25px;
        min-height: auto;
        border-radius: 12px;
        margin-bottom: 10px;
    }
    
    .day-date {
        position: static;
        width: auto;
        height: auto;
        background: none;
        border-radius: 0;
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .day-content {
        margin-bottom: 20px;
    }
    
    .calendar-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cal-btn {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .calendar-widget {
        padding: 20px;
        margin: 0 20px;
    }
    
    .calendar-legend {
        gap: 15px;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
    
    .day-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}/* Modal popup styles */
.day-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.day-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
}

.modal-day-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-day-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.modal-day-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 25px;
}

.modal-stream-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-primary);
    border-left: 4px solid var(--primary);
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.modal-icon.coding { background: #3b82f6; }
.modal-icon.gaming { background: #ef4444; }
.modal-icon.chat { background: #8b5cf6; }
.modal-icon.music { background: #f59e0b; }
.modal-icon.off { background: #6b7280; }
.modal-icon.surprise { background: #06b6d4; }

.modal-details {
    flex: 1;
}

.modal-time {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-family: 'Courier New', monospace;
}

.modal-type {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-description {
    margin-bottom: 25px;
}

.modal-description h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.modal-desc-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.modal-extra-info {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-primary);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--primary);
    width: 16px;
    font-size: 14px;
}

.modal-actions {
    display: flex;
    gap: 15px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
    flex: 1;
    background: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.modal-btn.primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.modal-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-btn.primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.modal-btn.secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        max-width: none;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-stream-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-btn {
        justify-content: center;
    }
}