/* Crazy Time Italia - Modern CSS Styles */

/* CSS Variables - Italian Theme Colors */
:root {
    --primary-green: #009639;
    --primary-red: #ce2b37;
    --primary-white: #ffffff;
    --accent-gold: #ffd700;
    --accent-blue: #2196F3;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #666666;
    --text-muted: #9e9e9e;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, #009639 0%, #ce2b37 100%);
    --bg-gradient-light: linear-gradient(135deg, rgba(0, 150, 57, 0.1) 0%, rgba(206, 43, 55, 0.1) 100%);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 5px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-colored: 0 8px 32px rgba(0, 150, 57, 0.3);
    --border-radius: 16px;
    --border-radius-small: 8px;
    --border-radius-large: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Poppins', 'Inter', sans-serif;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-red);
}

strong {
    font-weight: 600;
    color: var(--text-dark);
}

.highlight {
    color: var(--primary-red);
    font-weight: 700;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--bg-gradient);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--bg-gradient);
    color: var(--primary-white);
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    color: var(--primary-white);
}

.btn-secondary {
    background: var(--primary-white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    box-shadow: var(--shadow-light);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--primary-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
    border-radius: var(--border-radius-large);
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 150, 57, 0.1);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 70px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 150, 57, 0.3));
}

.site-title {
    font-size: 1.5rem;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-weight: 800;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover {
    background: var(--bg-gradient-light);
    color: var(--primary-green);
    transform: translateY(-1px);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: var(--bg-gradient-light);
    color: var(--primary-green);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: var(--bg-gradient-light);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 150, 57, 0.08) 0%, transparent 70%);
    animation: heroFloat 25s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    33% { transform: translateY(-30px) rotate(120deg) scale(1.1); }
    66% { transform: translateY(-15px) rotate(240deg) scale(0.9); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: rgba(0, 150, 57, 0.1);
    color: var(--primary-green);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid rgba(0, 150, 57, 0.2);
    display: inline-block;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 900;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.key-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stat-box {
    background: var(--primary-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 150, 57, 0.1);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    text-align: center;
}

.live-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-red);
    color: var(--primary-white);
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-medium);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-white);
    border-radius: 50%;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.wheel-visual {
    background: var(--primary-white);
    border-radius: 50%;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow-heavy);
    border: 8px solid var(--accent-gold);
}

.wheel-segments {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.segment {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    color: white;
    box-shadow: var(--shadow-light);
}

.segment.num-1 { background: #2196F3; top: 10%; left: 50%; transform: translateX(-50%); }
.segment.num-2 { background: #4CAF50; top: 25%; right: 15%; }
.segment.num-5 { background: #FF9800; right: 10%; top: 50%; transform: translateY(-50%); }
.segment.num-10 { background: #9C27B0; bottom: 25%; right: 15%; }
.segment.bonus-coin { background: var(--accent-gold); color: var(--text-dark); bottom: 10%; left: 50%; transform: translateX(-50%); }
.segment.bonus-cash { background: var(--primary-red); bottom: 25%; left: 15%; }
.segment.bonus-pachinko { background: #E91E63; left: 10%; top: 50%; transform: translateY(-50%); }
.segment.bonus-crazy { background: var(--bg-gradient); top: 25%; left: 15%; }

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.1;
    box-shadow: var(--shadow-medium);
}

.current-stats {
    margin-top: 2rem;
    background: var(--primary-white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    color: var(--text-medium);
    font-weight: 500;
}

/* Facts Section */
.facts-section {
    padding: 80px 0;
    background: var(--primary-white);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.fact-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 150, 57, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.fact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.fact-card:hover::before {
    transform: scaleX(1);
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.fact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.fact-content p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Wheel Distribution Section */
.wheel-distribution-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.distribution-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.stats-table {
    width: 100%;
    background: var(--primary-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.stats-table th,
.stats-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 150, 57, 0.1);
}

.stats-table th {
    background: var(--bg-gradient-light);
    font-weight: 600;
    color: var(--text-dark);
}

.stats-table tbody tr:hover {
    background: rgba(0, 150, 57, 0.05);
}

.bonus-row {
    background: rgba(206, 43, 55, 0.05);
}

.bonus-row.featured {
    background: rgba(255, 215, 0, 0.1);
}

.segment-label {
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    color: white;
    font-size: 0.85rem;
}

.segment-label.num-1 { background: #2196F3; }
.segment-label.num-2 { background: #4CAF50; }
.segment-label.num-5 { background: #FF9800; }
.segment-label.num-10 { background: #9C27B0; }
.segment-label.bonus { background: var(--primary-red); }

.probability-chart {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.probability-chart h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar {
    height: 30px;
    border-radius: 15px;
    min-width: 60px;
    transition: var(--transition);
    position: relative;
}

.bar-label {
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 80px;
}

.bar-value {
    font-weight: bold;
    color: var(--primary-green);
    min-width: 60px;
}

/* Bonus Rounds Section */
.bonus-rounds-section {
    padding: 80px 0;
    background: var(--primary-white);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.bonus-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 150, 57, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.bonus-card.featured::before {
    background: var(--accent-gold);
}

.bonus-card:hover::before {
    transform: scaleX(1);
}

.bonus-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.bonus-card.featured {
    border: 2px solid var(--accent-gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 215, 0, 0.02) 100%);
}

.bonus-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bonus-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.bonus-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.frequency {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.bonus-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat {
    text-align: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: var(--border-radius-small);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-green);
}

.bonus-link {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.bonus-link:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

/* Quick Access Section */
.quick-access-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: var(--transition);
    transform: scaleX(0);
    transform-origin: left;
}

.quick-card.live-card::before { background: var(--primary-red); }
.quick-card.demo-card::before { background: var(--primary-green); }
.quick-card.stats-card::before { background: var(--accent-blue); }
.quick-card.strategy-card::before { background: var(--accent-gold); }

.quick-card:hover::before {
    transform: scaleX(1);
}

.quick-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    color: var(--text-dark);
}

.quick-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.quick-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.quick-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.quick-badge {
    background: var(--bg-gradient);
    color: var(--primary-white);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
}

/* Final CTA Section */
.final-cta-section {
    padding: 80px 0;
    background: var(--bg-gradient);
    color: var(--primary-white);
    text-align: center;
}

.cta-content h2 {
    color: var(--primary-white);
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stat {
    text-align: center;
}

.cta-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--primary-white);
}

.cta-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    background: var(--primary-white);
    color: var(--primary-green);
    border: 2px solid var(--primary-white);
}

.cta-buttons .btn-secondary:hover {
    background: transparent;
    color: var(--primary-white);
    border-color: var(--primary-white);
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: var(--primary-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-white);
    transform: translateX(5px);
}

.footer-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-stats span {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge.italian { background: rgba(0, 150, 57, 0.2); }
.badge.evolution { background: rgba(206, 43, 55, 0.2); }
.badge.secure { background: rgba(255, 215, 0, 0.2); }
.badge.mobile { background: rgba(33, 150, 243, 0.2); }

/* Responsible Gaming */
.responsible-gaming {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.responsible-gaming h4 {
    color: var(--primary-white);
    margin-bottom: 1rem;
    text-align: center;
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.responsible-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.responsible-links a:hover {
    color: var(--primary-white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.responsible-gaming p {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate.slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate.slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .distribution-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-white);
        box-shadow: var(--shadow-medium);
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }
    
    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .key-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .wheel-visual {
        width: 250px;
        height: 250px;
    }
    
    .facts-grid,
    .bonus-grid,
    .quick-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-table {
        font-size: 0.9rem;
    }
    
    .stats-table th,
    .stats-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .responsible-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .wheel-visual {
        width: 200px;
        height: 200px;
    }
    
    .segment {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .wheel-center {
        width: 60px;
        height: 60px;
        font-size: 0.6rem;
    }
    
    .cta-stat-number {
        font-size: 2rem;
    }
    
    .footer-badges {
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .mobile-toggle,
    .hero-buttons,
    .cta-buttons,
    .quick-card,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section-title::after {
        background: black !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 5px 25px rgba(0, 0, 0, 0.4);
        --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.5);
    }
    
    .btn-primary {
        border: 2px solid var(--primary-white);
    }
    
    .btn-secondary {
        border: 3px solid var(--primary-green);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-section::before {
        animation: none;
    }
    
    .live-dot {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #ffffff;
        --text-medium: #e0e0e0;
        --text-light: #b0b0b0;
        --bg-light: #121212;
        --bg-white: #1e1e1e;
    }
    
    .site-header {
        background: rgba(30, 30, 30, 0.95);
    }
    
    .fact-card,
    .bonus-card,
    .quick-card,
    .stats-table {
        background: var(--bg-white);
        border-color: rgba(255, 255, 255, 0.1);
    }
}