/* ============================================
   FALCON SPORTS - Design System & Global Styles
   Fortnite Tournament & Gaming News Platform
   Colors: Red & Yellow Theme
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Colors - Red & Yellow Fortnite Theme */
    --bg-primary: #0a0608;
    --bg-secondary: #100a0c;
    --bg-card: #150e10;
    --bg-card-hover: #1e1418;
    --bg-elevated: #1a1014;
    --bg-input: #0e0809;

    --text-primary: #f4e8ec;
    --text-secondary: #b08898;
    --text-muted: #7a4a5a;

    --accent-yellow: #ffe600;
    --accent-orange: #ff6600;
    --accent-red: #cc0000;
    --accent-red-light: #ff3344;
    --accent-crimson: #ee1133;
    --accent-gold: #ffcc00;
    --accent-green: #00ff88;
    --accent-cyan: #00d4ff;
    --accent-blue: #3366ff;

    --gradient-primary: linear-gradient(135deg, #ffe600 0%, #ff6600 50%, #cc0000 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6600 0%, #cc0000 100%);
    --gradient-fortnite: linear-gradient(135deg, #ffe600 0%, #ff6600 40%, #cc0000 100%);
    --gradient-dark: linear-gradient(180deg, #0a0608 0%, #100a0c 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,230,0,0.04) 0%, rgba(204,0,0,0.04) 100%);

    --border-color: rgba(255,255,255,0.06);
    --border-glow: rgba(255,102,0,0.2);

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(255,102,0,0.12);
    --shadow-glow-strong: 0 0 60px rgba(255,102,0,0.2);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

::selection {
    background: rgba(255,102,0,0.3);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255,102,0,0.25);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,102,0,0.45);
}

/* ============================================
   Particles Canvas
   ============================================ */

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: var(--space-sm) 0;
    background: rgba(10,6,8,0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 1001;
}

.logo-img {
    width: auto;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255,102,0,0.4));
    transition: transform var(--transition-spring);
}

.nav-logo:hover .logo-img {
    transform: scale(1.1) rotate(-5deg);
}

.footer-logo-img {
    height: 36px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    position: relative;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.nav-cta {
    background: var(--gradient-primary);
    color: #000 !important;
    font-weight: 700;
    padding: var(--space-sm) var(--space-lg) !important;
    border-radius: var(--radius-full) !important;
    transition: all var(--transition-base) !important;
    box-shadow: 0 0 20px rgba(255,102,0,0.25);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(255,102,0,0.45);
}

.nav-cta.active::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: var(--space-sm);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,102,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,102,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: glowPulse 8s ease-in-out infinite alternate;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: var(--accent-red);
    opacity: 0.1;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    left: -100px;
    background: var(--accent-yellow);
    opacity: 0.08;
    animation-delay: -4s;
}

.hero-glow-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-orange);
    opacity: 0.06;
    animation-delay: -2s;
}

@keyframes glowPulse {
    from { opacity: 0.05; transform: scale(1); }
    to { opacity: 0.14; transform: scale(1.1); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: rgba(255,102,0,0.1);
    border: 1px solid rgba(255,102,0,0.25);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-yellow);
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
    animation: fadeInDown 0.8s ease both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent-green); }
    50% { opacity: 0.4; box-shadow: none; }
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease both;
}
.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-gradient {
    background: var(--gradient-fortnite);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255,102,0,0.4));
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 520px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 0.8s ease 1s both;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    animation: fadeInUp 0.8s ease 1.2s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual - Skins Showcase */
.hero-visual {
    position: relative;
    z-index: 1;
    flex: 0 0 420px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-skins-showcase {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skin-card {
    position: absolute;
    width: 180px;
    height: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(255,102,0,0.2);
    background: linear-gradient(180deg, rgba(255,102,0,0.08) 0%, rgba(10,6,8,0.95) 100%);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 30px rgba(255,102,0,0.1);
    transition: all 0.4s ease;
}

.skin-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
}

.skin-card-1 {
    z-index: 3;
    transform: translateY(0) scale(1.05);
    animation: skinFloat1 5s ease-in-out infinite;
}

.skin-card-2 {
    z-index: 2;
    left: 0;
    transform: translateX(-30px) rotate(-8deg) scale(0.9);
    animation: skinFloat2 5s ease-in-out infinite;
    opacity: 0.85;
}

.skin-card-3 {
    z-index: 2;
    right: 0;
    transform: translateX(30px) rotate(8deg) scale(0.9);
    animation: skinFloat3 5s ease-in-out infinite;
    opacity: 0.85;
}

@keyframes skinFloat1 {
    0%, 100% { transform: translateY(0) scale(1.05); }
    50% { transform: translateY(-15px) scale(1.05); }
}

@keyframes skinFloat2 {
    0%, 100% { transform: translateX(-30px) rotate(-8deg) scale(0.9); }
    50% { transform: translateX(-30px) rotate(-8deg) scale(0.9) translateY(-10px); }
}

@keyframes skinFloat3 {
    0%, 100% { transform: translateX(30px) rotate(8deg) scale(0.9); }
    50% { transform: translateX(30px) rotate(8deg) scale(0.9) translateY(-10px); }
}

.skin-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(180deg, rgba(255,102,0,0.12) 0%, rgba(10,6,8,0.95) 100%);
}

.hero-card-stack {
    position: relative;
    width: 300px;
    height: 300px;
    z-index: 4;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(21,14,16,0.92);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    animation: floatCard 6s ease-in-out infinite;
}

.card-game-icon {
    font-size: 1.2rem;
}

.card-1 { top: 5%; left: 60%; animation-delay: 0s; }
.card-2 { top: 30%; left: -10%; animation-delay: -1.5s; }
.card-3 { bottom: 25%; right: -5%; animation-delay: -3s; }
.card-4 { bottom: 0%; left: 20%; animation-delay: -4.5s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-5px) rotate(-1deg); }
    75% { transform: translateY(-12px) rotate(0.5deg); }
}

/* ============================================
   Skins Banner (Scrolling Gallery)
   ============================================ */

.skins-banner {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255,102,0,0.08);
    border-bottom: 1px solid rgba(255,102,0,0.08);
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.skins-banner-inner {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.skins-scroll {
    display: flex;
    gap: var(--space-2xl);
    animation: skinScroll 30s linear infinite;
    width: max-content;
}

@keyframes skinScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.skin-gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.skin-gallery-item img {
    width: 120px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(255,102,0,0.15));
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
}

.skin-gallery-item:hover img {
    transform: scale(1.1) translateY(-5px);
    filter: drop-shadow(0 10px 25px rgba(255,102,0,0.35));
}

.skin-gallery-item span {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skins-banner-label {
    text-align: center;
    margin-top: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: rgba(255,102,0,0.25);
    text-transform: uppercase;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: 0 0 20px rgba(255,102,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 30px rgba(255,102,0,0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,102,0,0.3);
    transform: translateY(-2px);
}

.btn-ghost {
    color: var(--text-secondary);
    padding: 12px 20px;
}

.btn-ghost:hover {
    color: var(--text-primary);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-danger {
    background: rgba(255,51,68,0.15);
    color: var(--accent-red-light);
    border: 1px solid rgba(255,51,68,0.2);
}

.btn-danger:hover {
    background: rgba(255,51,68,0.25);
    transform: translateY(-2px);
}

/* ============================================
   Sections
   ============================================ */

.section {
    position: relative;
    z-index: 1;
    padding: var(--space-4xl) var(--space-lg);
}

.section-dark {
    background: var(--bg-secondary);
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--accent-yellow);
    margin-bottom: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    border: 1px solid rgba(255,230,0,0.2);
    border-radius: var(--radius-full);
    background: rgba(255,230,0,0.05);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

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

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

/* ============================================
   Filters
   ============================================ */

.filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255,102,0,0.3);
    background: rgba(255,102,0,0.06);
}

.filter-btn.active {
    color: #000;
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(255,102,0,0.25);
    font-weight: 700;
}

/* ============================================
   Tournament Cards
   ============================================ */

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: var(--space-lg);
}

.tournament-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
    animation: cardFadeIn 0.5s ease both;
}

.tournament-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

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

.tc-banner {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.tc-banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tc-banner-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,230,0,0.12), rgba(204,0,0,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-banner-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

.tc-status {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.status-abierto {
    background: rgba(0,255,136,0.15);
    color: var(--accent-green);
    border: 1px solid rgba(0,255,136,0.3);
}

.status-en-curso {
    background: rgba(255,230,0,0.15);
    color: var(--accent-yellow);
    border: 1px solid rgba(255,230,0,0.3);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-finalizado {
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,230,0,0.2); }
    50% { box-shadow: 0 0 0 6px rgba(255,230,0,0); }
}

.tc-body {
    padding: var(--space-lg);
}

.tc-game {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-xs);
}

.tc-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.tc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

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

.tc-meta-icon {
    color: var(--accent-orange);
    opacity: 0.7;
}

.tc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.tc-prize {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.tc-actions {
    display: flex;
    gap: var(--space-sm);
}

.tc-action-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tc-action-btn:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,102,0,0.3);
}

.tc-action-btn.delete:hover {
    color: var(--accent-red-light);
    background: rgba(255,51,68,0.1);
    border-color: rgba(255,51,68,0.3);
}

/* ============================================
   Tournament Form
   ============================================ */

.tournament-form {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255,102,0,0.5);
    box-shadow: 0 0 0 3px rgba(255,102,0,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

/* ============================================
   News Section
   ============================================ */

.news-actions-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--space-xl);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
}

.news-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
    animation: cardFadeIn 0.5s ease both;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.nc-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.nc-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, rgba(255,230,0,0.06) 0%, rgba(204,0,0,0.08) 100%);
}

.nc-category {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.cat-esports { background: rgba(255,230,0,0.2); color: var(--accent-yellow); border: 1px solid rgba(255,230,0,0.3); }
.cat-lanzamientos { background: rgba(0,255,136,0.2); color: var(--accent-green); border: 1px solid rgba(0,255,136,0.3); }
.cat-actualizaciones { background: rgba(255,102,0,0.2); color: var(--accent-orange); border: 1px solid rgba(255,102,0,0.3); }
.cat-hardware { background: rgba(0,212,255,0.2); color: var(--accent-cyan); border: 1px solid rgba(0,212,255,0.3); }
.cat-reviews { background: rgba(204,0,0,0.2); color: var(--accent-red-light); border: 1px solid rgba(204,0,0,0.3); }
.cat-rumores { background: rgba(255,204,0,0.2); color: var(--accent-gold); border: 1px solid rgba(255,204,0,0.3); }
.cat-comunidad { background: rgba(255,255,255,0.1); color: var(--text-primary); border: 1px solid rgba(255,255,255,0.15); }

.nc-body {
    padding: var(--space-lg);
}

.nc-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nc-summary {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.nc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.nc-author {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.nc-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.nc-actions {
    display: flex;
    gap: var(--space-sm);
}

/* ============================================
   Modals
   ============================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--space-2xl);
    transform: scale(0.95) translateY(20px);
    transition: transform var(--transition-spring);
    box-shadow: var(--shadow-lg);
}

.modal-lg {
    max-width: 800px;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

/* News Detail */
.news-detail-body {
    line-height: 1.8;
}

.news-detail-body .detail-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.news-detail-body .detail-image-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
}

.news-detail-body .detail-meta {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.news-detail-body .detail-category {
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-detail-body .detail-content {
    white-space: pre-wrap;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Tournament Detail */
.tournament-detail-body .detail-banner {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, rgba(255,230,0,0.08) 0%, rgba(204,0,0,0.1) 100%);
}

.tournament-detail-body .detail-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tournament-detail-body .detail-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.tournament-detail-body .detail-info-item {
    padding: var(--space-md);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.tournament-detail-body .detail-info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.tournament-detail-body .detail-info-value {
    font-weight: 600;
    color: var(--text-primary);
}

.tournament-detail-body .detail-description {
    padding: var(--space-lg);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    white-space: pre-wrap;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Empty States
   ============================================ */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-3xl);
    text-align: center;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.empty-state p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   Toast Notifications
   ============================================ */

.toast-container {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    animation: toastIn 0.4s var(--transition-spring) both;
    min-width: 280px;
}

.toast.toast-out {
    animation: toastOut 0.3s ease both;
}

.toast-success { border-left: 3px solid var(--accent-green); }
.toast-error { border-left: 3px solid var(--accent-red-light); }
.toast-info { border-left: 3px solid var(--accent-yellow); }

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

.toast-message {
    font-size: 0.9rem;
    flex: 1;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100px) scale(0.9); }
}

/* ============================================
   Footer
   ============================================ */

.footer {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255,102,0,0.08);
    padding: var(--space-3xl) var(--space-lg) var(--space-lg);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    flex: 1;
    max-width: 350px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: var(--space-md);
    line-height: 1.6;
}

.footer-links-grid {
    display: flex;
    gap: var(--space-3xl);
    flex: 1;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        margin: 0 auto var(--space-xl);
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .footer-top {
        flex-direction: column;
        gap: var(--space-2xl);
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-elevated);
        flex-direction: column;
        align-items: stretch;
        padding: 100px var(--space-lg) var(--space-lg);
        transition: right var(--transition-base);
        border-left: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-link {
        padding: var(--space-md);
        font-size: 1rem;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-cta {
        text-align: center;
        justify-content: center;
        margin-top: var(--space-md);
    }

    .tournament-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: auto;
    }

    .tournament-form {
        padding: var(--space-lg);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-links-grid {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .modal {
        padding: var(--space-lg);
    }

    .tournament-detail-body .detail-info-grid {
        grid-template-columns: 1fr;
    }

    .toast-container {
        left: var(--space-md);
        right: var(--space-md);
    }

    .skin-gallery-item img {
        width: 80px;
        height: 110px;
    }

    .skins-scroll {
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--space-2xl) var(--space-md);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
