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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

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

/* Header */
.header {
    background-color: #1e3a8a;
    color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255,255,255,0.1);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language {
    background-color: #e74c3c;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Main Content */
.main-content {
    padding: 30px 0;
}

.breadcrumb {
    margin-bottom: 30px;
    color: #666;
}

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

/* Lottery Result */
.lottery-result {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.logo-section {
    margin-bottom: 20px;
}

.logo-section img {
    width: 80px;
    height: 80px;
}

.lottery-result h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.draw-info {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.winning-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.number-ball {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.number-ball.bonus {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.bonus-separator {
    font-size: 2rem;
    color: #ccc;
}

.lottery-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.lottery-info p {
    margin-bottom: 10px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Prize Table */
.prize-table {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.prize-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 20px;
    text-align: center;
}

.prize-header h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.jackpot-amount {
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.prizes {
    width: 100%;
    border-collapse: collapse;
}

.prizes th {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #e9ecef;
}

.prizes td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
}

.prizes tr:nth-child(even) {
    background-color: #f8f9fa;
}

.prizes tr:hover {
    background-color: #e3f2fd;
}

.prize-numbers {
    font-family: monospace;
    font-weight: bold;
    color: #e74c3c;
    background-color: #fff5f5;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.prize-amount {
    font-weight: bold;
    color: #27ae60;
}

.table-footer {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.table-footer a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

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

    .winning-numbers {
        flex-wrap: wrap;
        gap: 10px;
    }

    .number-ball {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prizes th,
    .prizes td {
        padding: 8px;
        font-size: 0.9rem;
    }

    .table-footer {
        flex-direction: column;
        gap: 10px;
    }
}

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

.lottery-result,
.prize-table {
    animation: fadeIn 0.6s ease-out;
}

.number-ball {
    animation: fadeIn 0.8s ease-out;
}

.number-ball:nth-child(1) { animation-delay: 0.1s; }
.number-ball:nth-child(2) { animation-delay: 0.2s; }
.number-ball:nth-child(3) { animation-delay: 0.3s; }
.number-ball:nth-child(4) { animation-delay: 0.4s; }
.number-ball:nth-child(5) { animation-delay: 0.5s; }
.number-ball.bonus { animation-delay: 0.6s; }

/* Hover Effects */
.number-ball:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.prize-table:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: box-shadow 0.3s ease;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #e74c3c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* analysis */
h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1.2em;
}

.period-info {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.1em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 5px solid #3498db;
}

.stat-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3em;
    text-align: center;
}

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

.number-item {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    position: relative;
    transition: all 0.3s ease;
}

.number-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.frequency {
    font-size: 0.8em;
    opacity: 0.9;
}

.hot-numbers .number-item {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.cold-numbers .number-item {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.bonus-numbers .number-item {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.weekly-breakdown {
    margin-top: 30px;
}

.week-section {
    background: white;
    margin-bottom: 25px;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.week-header {
    background: linear-gradient(135deg, #16a085, #27ae60);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
}

.draw-list {
    display: grid;
    gap: 15px;
}

.draw-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.draw-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.draw-date {
    font-weight: bold;
    color: #2c3e50;
}

.draw-number {
    background: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
}

.winning-numbers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.winning-number {
    background: #e74c3c;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    min-width: 35px;
    text-align: center;
}

.bonus-number {
    background: #9b59b6;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    min-width: 35px;
    text-align: center;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-item {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.summary-value {
    font-size: 2em;
    font-weight: bold;
    display: block;
}

.summary-label {
    font-size: 0.9em;
    opacity: 0.9;
}