/* Euro Millioners - Modern Lottery Website Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.x-button {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.x-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.x-button svg {
    width: 20px;
    height: 20px;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Results Section */
.results-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.results-section h1 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: 700;
}

.lottery-description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Contract Info Styles */
.contract-info {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.contract-info h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contract-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contract-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contract-row .label {
    font-weight: 600;
    color: #4a5568;
}

.contract-row .value {
    font-family: 'Courier New', monospace;
    background: #e2e8f0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.copy-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background: #2563eb;
}

.contract-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.link-btn {
    background: #10b981;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.link-btn:hover {
    background: #059669;
}

/* Draw Results */
.draw-results h2 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.lottery-balls {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.main-numbers, .lucky-stars {
    display: flex;
    gap: 0.5rem;
}

.ball, .star {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.ball {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.star {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.draw-note {
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
}

/* Jackpot Section */
.jackpot-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.jackpot-label {
    color: #666;
    margin-bottom: 0.5rem;
}

.jackpot-title {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-weight: 700;
}

.jackpot-instruction {
    color: #666;
    margin-bottom: 2rem;
}

.number-grid {
    margin-bottom: 2rem;
}

.main-numbers-grid, .lucky-stars-grid {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.main-numbers-grid {
    grid-template-columns: repeat(10, 1fr);
    max-width: 500px;
    margin: 0 auto 1rem;
}

.lucky-stars-grid {
    grid-template-columns: repeat(6, 1fr);
    max-width: 300px;
    margin: 0 auto;
}

.number-option, .star-option {
    width: 40px;
    height: 40px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    background: white;
}

.number-option:hover, .star-option:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.number-option.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.star-option.selected {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-color: #f093fb;
}

.jackpot-amount {
    margin-bottom: 2rem;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3c72;
    display: block;
}

/* Bottom Cards */
.bottom-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ticket-image {
    margin: 1rem 0;
}

.ticket-image img {
    max-width: 100px;
    height: auto;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.footer-info p {
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer-info a {
    color: #63b3ed;
    text-decoration: none;
}

.footer-info a:hover {
    color: #90cdf4;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.link-group h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: #a0aec0;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .header-content {
        justify-content: center;
    }
    
    .results-section h1 {
        font-size: 2rem;
    }
    
    .jackpot-title {
        font-size: 1.5rem;
    }
    
    .amount {
        font-size: 2rem;
    }
    
    .lottery-balls {
        justify-content: center;
        gap: 1rem;
    }
    
    .main-numbers-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .lucky-stars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contract-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .contract-links {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .results-section, .jackpot-section, .card {
        padding: 1.5rem;
    }
    
    .ball, .star {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .number-option, .star-option {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .main-numbers-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.25rem;
    }
    
    .lucky-stars-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.25rem;
    }
}

/* Animation Enhancements */
.ball, .star {
    transition: all 0.3s ease;
}

.ball:hover, .star:hover {
    transform: scale(1.1);
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success/Error States */
.success {
    border-left: 4px solid #10b981;
    background-color: #f0fdf4;
}

.error {
    border-left: 4px solid #ef4444;
    background-color: #fef2f2;
} 