* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: white;
    overflow-x: hidden;
    line-height: 1.4;
    background: #0a192f;
    font-size: 14px;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/school.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(10, 25, 47, 0.9) 0%, 
        rgba(19, 49, 94, 0.85) 50%, 
        rgba(30, 144, 255, 0.8) 100%);
}

.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.1) 0%, rgba(30, 144, 255, 0) 70%);
    animation: pulse 20s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    padding: 20px 0;
    text-align: center;
    animation: slideDown 0.8s ease-out;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 6px;
    position: relative;
    display: inline-block;
    font-family: 'Inter', sans-serif;
}

.logo-decoration {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, #1e90ff, #64b5f6, #1e90ff);
    margin: 0 auto;
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out;
}

@keyframes expandWidth {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.content {
    text-align: center;
    max-width: 800px;
    animation: fadeUp 0.8s ease-out 0.2s both;
}

/* Countdown Styles */
.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(30, 144, 255, 0.4);
    border-radius: 12px;
    padding: 18px 12px;
    min-width: 90px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
    background: rgba(30, 144, 255, 0.5);
}

.countdown-item span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 0.75rem;
    margin-top: 5px;
    color: #b3e0ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Message Section */
.message {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.8s ease-out 0.4s both;
}

.message h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: white;
    font-weight: 600;
}

.message p {
    margin-bottom: 18px;
    color: #e3f2fd;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Portal Info */
.portal-info {
    text-align: left;
    background: rgba(49, 82, 143, 0.85);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.portal-info p {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: white;
}

.portal-info ul {
    list-style-type: none;
    padding-left: 0;
}

.portal-info li {
    padding: 8px 0;
    position: relative;
    padding-left: 22px;
    color: #f0f8ff;
    font-weight: 400;
    font-size: 0.82rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s ease;
}

.portal-info li:last-child {
    border-bottom: none;
}

.portal-info li:hover {
    color: white;
}

.portal-info li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #64ffda;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.contact-info p {
    margin: 4px 0;
    color: #b3e0ff;
    font-size: 0.8rem;
    font-weight: 400;
}

/* Animations */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(35px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 13px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .countdown {
        gap: 10px;
        margin: 25px 0;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 15px 8px;
    }
    
    .countdown-item span {
        font-size: 1.6rem;
    }
    
    .message {
        padding: 20px;
        margin-top: 25px;
    }

    .message p {
        font-size: 0.85rem;
    }

    .message h3 {
        font-size: 1.1rem;
    }

    .portal-info {
        padding: 18px 15px;
    }

    .contact-info p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .countdown {
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 65px;
        padding: 12px 6px;
    }
    
    .countdown-item span {
        font-size: 1.4rem;
    }
    
    .logo-decoration {
        width: 60px;
    }
    
    .message {
        padding: 18px 15px;
    }
    
    .portal-info li {
        font-size: 0.78rem;
        padding: 6px 0 6px 20px;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
}