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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Language Toggler */
.language-toggler {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.language-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.current-flag {
    font-size: 18px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-option:hover {
    background: #f8f9fa;
}

.language-option.active {
    background: #667eea;
    color: white;
}

/* Custom scrollbar for language dropdown */
.language-dropdown::-webkit-scrollbar {
    width: 6px;
}

.language-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.language-dropdown::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 3px;
}

.language-dropdown::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.odds-highlight {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    display: inline-block;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.odds-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b6b;
}

.odds-text {
    font-size: 1rem;
    opacity: 0.8;
}

/* Floating Numbers Animation */
.floating-numbers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.number-ball {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    animation: float 6s ease-in-out infinite;
}

.number-ball:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.number-ball:nth-child(2) { top: 60%; left: 85%; animation-delay: 1s; }
.number-ball:nth-child(3) { top: 30%; left: 80%; animation-delay: 2s; }
.number-ball:nth-child(4) { top: 70%; left: 15%; animation-delay: 3s; }
.number-ball:nth-child(5) { top: 10%; left: 60%; animation-delay: 4s; }

/* Sections */
section {
    background: white;
    margin: 40px 0;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #2c3e50;
}

/* Odds Section */
.odds-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
}

.odds-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #667eea;
}

.visual-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 3px solid #667eea;
    border-left: 8px solid #ff6b6b;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    transform: scale(1.02);
}

.odds-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.odds-list {
    list-style: none;
}

.odds-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.odds-list span {
    font-weight: 600;
    color: #667eea;
}

/* Pixel Grid Visualization */
.pixel-grid {
    width: 100%;
    height: 400px;
    background: #f0f0f0;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 3px solid #e0e0e0;
    box-shadow: inset 0 4px 8px rgba(0,0,0,0.1);
}

.pixel-explanation {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.odds-multiplier {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    border-radius: 10px;
    text-align: center;
}

/* Odds Comparisons */
.odds-comparisons {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    color: white;
}

.odds-comparisons h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.comparison-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.highlight-odds {
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.3), rgba(254, 202, 87, 0.3));
    border: 2px solid rgba(255, 107, 107, 0.5);
    grid-column: span 2;
}

.comparison-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
    display: block;
}

.comparison-text {
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Extreme Comparisons */
.extreme-comparisons {
    margin-top: 30px;
    padding: 25px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.extreme-comparisons h4 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: #feca57;
}

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

.extreme-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid #ff6b6b;
}

.extreme-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.extreme-number {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.extreme-item p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Results Section */
.latest-draw {
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 40px;
    border-radius: 20px;
}

.draw-date {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.numbers-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.main-numbers, .euro-numbers {
    display: flex;
    gap: 10px;
}

.number {
    width: 50px;
    height: 50px;
    background: white;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    animation: bounceIn 0.6s ease-out;
}

.euro-number {
    background: #feca57;
    color: white;
}

.jackpot-amount {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 20px;
}

.draw-disclaimer {
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
}

.draw-disclaimer small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.draw-disclaimer a {
    color: #feca57;
    text-decoration: none;
}

.draw-disclaimer a:hover {
    text-decoration: underline;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.stat-card h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Fun Facts */
.fun-facts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fact-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.fact-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Reality Check Section */
.reality-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

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

.reality-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-reality {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(192, 57, 43, 0.2));
    border: 2px solid rgba(231, 76, 60, 0.5);
}

.reality-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

/* Winner Breakdown */
.winner-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.winner-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(46, 204, 113, 0.5);
}

.winner-item.loser {
    border-color: rgba(231, 76, 60, 0.7);
    background: rgba(231, 76, 60, 0.1);
}

.winner-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.winner-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.winner-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.winner-text p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Marketing Facts */
.marketing-facts {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.fact-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.fact-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #feca57;
}

.fact-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.marketing-truth {
    background: rgba(255, 107, 107, 0.2);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ff6b6b;
    font-style: italic;
    margin: 0;
}

/* House Edge Visual */
.money-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.money-in, .money-split {
    text-align: center;
}

.money-split {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.split-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    min-width: 100px;
}

.split-item.profit {
    background: rgba(231, 76, 60, 0.3);
    border: 2px solid #e74c3c;
}

.amount {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #feca57;
}

.label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.arrow {
    font-size: 2rem;
    color: #feca57;
    margin: 0 20px;
}

.house-truth {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    font-style: italic;
    text-align: center;
    margin: 0;
}

/* Interactive Section */
.number-generator {
    text-align: center;
}

.generate-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.generated-numbers {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.generated-number {
    animation: bounceIn 0.6s ease-out;
    cursor: pointer;
    transition: all 0.3s ease;
}

.generated-number:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.simulation-results {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    animation: fadeIn 0.5s ease-out;
}

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

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 20px;
}

.disclaimer {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .odds-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .visual-card {
        order: -1; /* Show visual first on mobile */
        transform: scale(1);
    }
    .pixel-grid {
        height: 300px;
    }
    .stats-grid { grid-template-columns: 1fr; }
    .numbers-display { flex-direction: column; }
    section { padding: 40px 20px; }
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .highlight-odds {
        grid-column: span 2;
    }
    .extreme-grid {
        grid-template-columns: 1fr;
    }
    .extreme-comparisons {
        margin-top: 20px;
        padding: 20px;
    }
    .winner-breakdown {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .marketing-facts {
        flex-direction: column;
        gap: 15px;
    }
    .money-flow {
        flex-direction: column;
        gap: 15px;
    }
    .arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    .language-toggler {
        position: fixed;
        top: 10px;
        right: 10px;
    }
    .language-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    .language-dropdown {
        min-width: 180px;
        max-height: 300px;
    }
    .language-option {
        padding: 10px 15px;
        font-size: 13px;
    }
}
