:root {
    /* Crazy Cattle 3D Neon Color Scheme */
    --neon-purple: #A855F7;
    --neon-blue: #3B82F6;
    --neon-pink: #EC4899;
    --neon-cyan: #06B6D4;
    --neon-green: #10B981;
    --neon-yellow: #F59E0B;
    --neon-orange: #F97316;
    
    /* Light theme for content readability */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    
    /* Text colors */
    --text-primary: #111827;
    --text-secondary: #1f2937;
    --text-muted: #374151;
    --text-glow: #1d4ed8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #A855F7 0%, #3B82F6 50%, #06B6D4 100%);
    --gradient-secondary: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
    --gradient-tertiary: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    --gradient-hero: linear-gradient(135deg, #0F0F23 0%, #1A1A2E 30%, #16213E 100%);
    
    /* Glow effects */
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.5);
    --glow-blue: 0 0 20px rgba(59, 130, 246, 0.5);
    --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.5);
    --glow-pink: 0 0 20px rgba(236, 72, 153, 0.5);
    
    /* Spacing system */
    --section-spacing: 120px;
    --content-spacing: 80px;
    --element-spacing: 40px;
    
    /* Typography */
    --font-display: 'Orbitron', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.content-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(15, 15, 24, 0.95);
    border-bottom: 1px solid rgba(229, 231, 235, 0.2);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    color: #ffffff;
    font-family: var(--font-display);
}

.logo a {
    color: #ffffff;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 1px solid transparent;
}

.nav a:hover,
.nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    text-decoration: underline;
}

.nav a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.cta-nav {
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
    font-family: var(--font-display);
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-purple), var(--glow-blue), 0 8px 25px rgba(168, 85, 247, 0.4);
    border-color: rgba(168, 85, 247, 0.3);
}

.cta-nav:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Hero Section - Crazy Cattle 3D Style */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    background-size: cover;
    text-align: center;
    margin-top: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
    z-index: 1;
    animation: floatingGradient 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/cover.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

@keyframes floatingGradient {
    0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(1deg); }
    50% { transform: translate(-10px, 10px) rotate(-1deg); }
    75% { transform: translate(15px, -15px) rotate(0.5deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    color: var(--text-primary);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 30px rgba(168, 85, 247, 0.5); }
    100% { text-shadow: 0 0 40px rgba(168, 85, 247, 0.8), 0 0 60px rgba(59, 130, 246, 0.5); }
}

.hero p {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.cta-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: var(--font-display);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 250px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glow-purple);
}

.cta-button::before {
    content: '';
    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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--glow-purple), var(--glow-blue), 0 10px 40px rgba(168, 85, 247, 0.4);
    border-color: rgba(168, 85, 247, 0.3);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Floating particles animation */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-cyan);
    border-radius: 50%;
    opacity: 0.7;
    animation: float 15s linear infinite;
}

.particle:nth-child(odd) {
    background: var(--neon-pink);
}

.particle:nth-child(3n) {
    background: var(--neon-green);
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

.cta-button:hover {
    background: #0056D3;
    transform: scale(1.02);
}

.cta-button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.4);
}

.cta-button:active {
    transform: scale(0.98);
    background: #004BB8;
}

.cta-section {
    text-align: center;
    margin: 3rem 0;
}

.cta-subtext {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Main Layout */
.main {
    padding: 2rem 0;
}

.container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Main Layout */
.main {
    padding: 0;
    background: var(--bg-primary);
}

/* Section Modular Layout */
.section-module {
    padding: var(--section-spacing) 0;
    position: relative;
}

.section-module:nth-child(even) {
    background: var(--bg-secondary);
}

.section-content {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: var(--element-spacing);
    text-align: center;
    color: var(--text-primary);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--element-spacing);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Styles */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--element-spacing);
    margin: var(--element-spacing) 0;
}

.card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #e5e7eb;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

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

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.card-description {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--glow-purple);
}

/* Typography Updates */
h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

p {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* FAQ Card Styles */
.faq-section {
    padding: var(--section-spacing) 0;
    background: var(--bg-secondary);
}

.faq-section .section-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
    padding: 24px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    outline: none;
}

.faq-item summary:hover {
    background: #f9fafb;
    color: #2563eb;
    text-decoration: underline;
}

.faq-item[open] summary {
    border-bottom-color: var(--border-color);
}

.faq-item-content {
    padding: 24px;
    color: #1a1a1a;
    line-height: 1.8;
    background: #ffffff;
    border-radius: 0 0 15px 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Table of Contents */
.toc {
    display: none;
}

/* Content */
.content-wrapper {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    margin-bottom: var(--section-spacing);
}

.section:last-child {
    margin-bottom: 0;
}

h1, h2, h3, h4 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
    color: #006847;
    border-bottom: 3px solid #ffc72c;
    padding-bottom: 0.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.4rem;
    color: #006847;
}

h4 {
    font-size: 1.2rem;
    color: #333;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Formation Cards */
.formation-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid #006847;
    border-right: 4px solid #ffc72c;
    box-shadow: 0 4px 20px rgba(0, 104, 71, 0.1);
}

.formation-visual {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #006847 0%, #004d34 100%);
    border-radius: 10px;
    border: 2px solid #ffc72c;
}

.player-position {
    font-size: 2rem;
    padding: 1rem;
    border-radius: 50%;
    background: #667eea;
    color: white;
}

.formation-visual .defender {
    background: #28a745;
}

.formation-visual .midfielder {
    background: #ffc107;
    color: #333;
}

.formation-visual .attacker {
    background: #dc3545;
}

/* Controls Grid */
.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.control-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8f0 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #006847;
    border-right: 4px solid #ffc72c;
    box-shadow: 0 4px 15px rgba(0, 104, 71, 0.1);
}

.control-card h3 {
    color: #006847;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* FAQ Styles */
details {
    background: #f8f9fa;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

summary {
    font-weight: bold;
    cursor: pointer;
    color: #2c2c2c;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    display: block;
    outline: none;
}

summary:hover {
    color: #A855F7;
    text-decoration: underline;
}

summary:visited {
    color: #2c2c2c;
}

details[open] {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

details[open] summary {
    color: #1a1a1a;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1rem;
}

details > *:not(summary) {
    color: #1a1a1a;
    line-height: 1.6;
    padding: 0 0.5rem;
}

/* Matchup Table */
.matchup-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.matchup-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.matchup-table th,
.matchup-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.matchup-table th {
    background: #667eea;
    color: white;
    font-weight: bold;
}

.matchup-table tr:hover {
    background: #f5f5f5;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    color: var(--text-secondary);
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.footer a {
    color: var(--accent-blue);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-spacing: 80px;
        --element-spacing: 30px;
    }
    
    .hero {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 7vw, 3rem);
    }
    
    .hero p {
        font-size: clamp(1.125rem, 4vw, 1.5rem);
    }
    
    .cta-button {
        padding: 14px 32px;
        font-size: 16px;
        min-width: 180px;
    }
    
    .section-content {
        padding: 0 16px;
    }
    
    .card {
        padding: 30px 20px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-spacing: 60px;
        --element-spacing: 20px;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .cta-button {
        padding: 12px 28px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
    }
    
    .section-content {
        padding: 0 16px;
    }
    
    .card {
        padding: 24px 16px;
    }
    
    .header .container {
        padding: 0 16px;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .nav a {
        padding: 0.5rem 0.75rem;
        font-size: 14px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Accessibility Improvements */
.hero .cta-button:focus-visible {
    outline: 2px solid #007AFF;
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .hero .cta-button,
    .hero h1,
    .hero p {
        transition: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero::before {
        background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(0, 0, 0, 0.9) 100%
        );
    }
    
    .hero h1,
    .hero p {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Card Styling */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    padding: 16px;
}

.content-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px;
}

/* Subpage Content Centering */
.content-wrapper article {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper .section {
    margin-bottom: var(--element-spacing);
}

.content-wrapper .card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #e5e7eb;
    margin-bottom: var(--element-spacing);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Google AdSense Placeholder */
.ad-placeholder {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    padding: 2rem;
    text-align: center;
    color: #666;
    margin: 2rem 0;
    border-radius: 5px;
}