* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.4;
    color: #00ff00;
    background: #0a0a0a;
    padding: 15px;
    font-size: 14px;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 15px;
    border: 1px solid #333;
}
h1 {
    margin-bottom: 15px;
    color: #00ff00;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    font-size: 1.2em;
}
.lottery-group {
    margin-bottom: 20px;
}
.lottery-group h2 {
    color: #00aaff;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 1em;
}
.draw-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.draw-link:hover .draw-item {
    background: #222;
}
.draw-item {
    padding: 6px 8px;
    margin-bottom: 2px;
    background: #1a1a1a;
    border-left: 2px solid #555;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.draw-item.jackpot-won {
    border-left-color: #27ae60;
}
.draw-item.no-jackpot {
    border-left-color: #e74c3c;
}
.draw-main {
    display: flex;
    gap: 15px;
    align-items: baseline;
}
.draw-date {
    color: #FFFAFA;
    font-weight: normal;
}
.draw-count {
    color: #666;
}
.draw-right {
    display: flex;
    gap: 15px;
    align-items: baseline;
}
.jackpot-amount {
    color: #27ae60;
    font-weight: bold;
}
.jackpot-status {
    font-size: 0.9em;
}
.jackpot-won .jackpot-status {
    color: #27ae60;
}
.no-jackpot .jackpot-status {
    color: #e74c3c;
}
.summary-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}
.summary-col {
    flex: 1;
    padding: 12px 10px;
    border: 1px solid #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
}
.summary-col.won {
    border-color: #27ae60;
}
.summary-col.lost {
    border-color: #e74c3c;
}
.summary-title {
    color: #00aaff;
    text-transform: uppercase;
    font-size: 0.9em;
    text-decoration: none;
    display: block;
}
.summary-jackpot {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.1em;
}
.summary-status {
    font-size: 0.85em;
}
.next-draw {
    color: #666;
    font-size: 0.8em;
}
.next-draw-title {
    color: #666;
    font-size: 0.75em;
    font-weight: normal;
    text-transform: none;
}
@keyframes colorCycle {
    0%, 100% {
        color: #ff6b6b;
    }
    33% {
        color: #ffd93d;
    }
    66% {
        color: #6bcf7f;
    }
}
.draw-today-text {
    animation: colorCycle 20s ease-in-out infinite;
    font-weight: bold;
}

.summary-col.draw-today {
    border-width: 3px;
    padding: 10px 8px;
}

.summary-col.won .summary-status {
    color: #27ae60;
}
.summary-col.lost .summary-status {
    color: #e74c3c;
}
.summary-link {
    color: #666;
    text-decoration: none;
    font-size: 0.85em;
}
.summary-link:hover {
    color: #00aaff;
}
.breadcrumb {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}
.breadcrumb-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9em;
}
.breadcrumb-link:hover {
    color: #00aaff;
}
.detail-header {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    padding: 10px;
    background: #0a0a0a;
    border: 1px solid #333;
}
.detail-info {
    display: flex;
    gap: 8px;
    align-items: baseline;
}
.detail-label {
    color: #666;
    font-size: 0.9em;
}
.detail-value {
    color: #00ff00;
}
.jackpot-won-text {
    color: #27ae60;
}
.no-jackpot-text {
    color: #e74c3c;
}
.draws-table {
    margin-top: 20px;
}
.draws-table table {
    width: 100%;
    border-collapse: collapse;
}
.draws-table th {
    background: #0a0a0a;
    color: #00aaff;
    padding: 8px;
    text-align: left;
    border: 1px solid #333;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 0.9em;
}
.draws-table td {
    padding: 6px 8px;
    border: 1px solid #333;
}
.match-cell {
    color: #FFFAFA;
}
.winners-cell {
    color: #00ff00;
}
.prize-cell {
    color: #27ae60;
}
.fund-cell {
    color: #666;
}
.prize-compact {
    display: none;
}
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
.breadcrumb-link.disabled {
    color: #333;
    cursor: not-allowed;
    pointer-events: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        padding: 8px;
        font-size: 12px;
    }

    .container {
        padding: 10px;
    }

    h1 {
        font-size: 1.1em;
        margin-bottom: 10px;
    }

    .summary-row {
        flex-direction: column;
        gap: 8px;
        padding: 8px 0;
    }

    .summary-col {
        padding: 12px 10px;
    }

    .lottery-group h2 {
        font-size: 0.95em;
    }

    .draw-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 8px;
    }

    .draw-main {
        gap: 10px;
        width: 100%;
    }

    .draw-right {
        gap: 10px;
        width: 100%;
        justify-content: space-between;
    }

    .detail-header {
        flex-direction: column;
        gap: 10px;
        padding: 8px;
    }

    .detail-info {
        gap: 6px;
    }

    .draws-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .draws-table table {
        font-size: 0.85em;
    }

    .draws-table th,
    .draws-table td {
        padding: 6px 4px;
        white-space: nowrap;
    }

    .navigation-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .navigation-buttons .breadcrumb-link {
        display: block;
        text-align: center;
        padding: 8px;
        border: 1px solid #333;
        background: #1a1a1a;
    }

    .navigation-buttons .breadcrumb-link:hover {
        background: #222;
    }

    .prize-full {
        display: none;
    }

    .prize-compact {
        display: inline;
    }
}
