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

/* --- Modern Glass Morphism Styles for Public Page --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.left-section, .right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.center-section {
    flex: 2;
    text-align: center;
}

.section-image {
    /* width: 100px;
    height: auto; */
    animation: floatSection 4s ease-in-out infinite;
}

@keyframes floatSection {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}



body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a0033, #4a0080, #7a00cc, #aa00ff);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: -1;
}

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

/* --- Header Flex Layout for GIF Images and Title --- */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}
.left-section, .right-section {
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.center-section {
    flex: 1;
    text-align: center;
}
.section-image {
    max-width: auto;
    max-height: 260px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 10px;
    }
    .left-section, .right-section {
        width: 100%;
        justify-content: center;
    }
    .section-image {
        max-width: 100px;
        max-height: 120px;
    }
}

.header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcf7f, #4ecdc4);
    border-radius: 2px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(255, 107, 107, 0.7); }
    to { box-shadow: 0 0 30px rgba(255, 217, 61, 0.9); }
}

.title {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ffd700, #ffb347, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.floating-cards, .floating-cards-right {
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    animation: cardFloat 6s ease-in-out infinite;
}
.floating-cards-right { right: 50px; left: auto; animation-direction: reverse; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.card {
    width: 60px;
    height: 90px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin: 10px;
    font-size: 24px;
    color: #ff0000;
    font-weight: bold;
}

.game-symbols {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.symbol {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffd700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    animation: symbolGlow 2s ease-in-out infinite alternate;
}

@keyframes symbolGlow {
    from { box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    to { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
}

.date-section {
    text-align: center;
    margin-bottom: 40px;
}

.date-label {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffd700;
    font-weight: bold;
}

.date-input {
    padding: 16px 28px;
    font-size: 1.2rem;
    border: 2px solid #ffd700;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.date-input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

.submit-btn {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
    transition: all 0.3s ease;
    font-weight: bold;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.5);
    background: linear-gradient(45deg, #44a08d, #4ecdc4);
}

.results-section {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 40px 30px 30px 30px;
    margin-top: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.results-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 30px;
    background: rgba(255,255,255,0.03);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.results-table th {
    background: linear-gradient(90deg, #6a8cff, #a084ee);
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 18px 0;
    border: none;
    text-align: center;
    letter-spacing: 1px;
}

.results-table td {
    color: #44e3c4;
    font-size: 1.15rem;
    font-weight: bold;
    padding: 16px 0;
    border: none;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
}

.results-table tr:last-child td {
    border-bottom: none;
}

.winning-number {
    color: #ffd700;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.2s, transform 0.2s;
}

.time-slot {
    color: #44e3c4;
    font-weight: bold;
    font-size: 1.1rem;
}

.results-table tr:hover td {
    background: rgba(255,255,255,0.07);
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    animation: particleFloat 10s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.time-slots {
    margin-top: 40px;
    text-align: center;
}

.slot-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .results-section {
        padding: 20px 5px;
    }
    .results-table th, .results-table td {
        font-size: 1rem;
        padding: 10px 0;
    }
    .title {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 5px;
    }
    .results-section {
        padding: 10px 2px;
    }
    .results-table th, .results-table td {
        font-size: 0.95rem;
        padding: 7px 0;
    }
    .date-input, .submit-btn {
        font-size: 1rem;
        padding: 10px 18px;
    }
}

.footer-menu {
    background: rgba(30,0,60,0.98);
    padding: 10px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    box-shadow: 0 -2px 12px #0005;
    margin-top: 40px;
}
@media (max-width: 600px) {
    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .footer-menu a {
        width: 90%;
        max-width: 320px;
        text-align: center;
        margin: 0 auto;
        display: block;
    }
}