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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.background-logos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.12;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 120"><path d="M10 20 L50 10 L90 20 L90 70 Q90 85 50 100 Q10 85 10 70 Z" fill="rgb(0,50,98)" stroke="rgb(253,181,21)" stroke-width="2"/><text x="50" y="45" font-family="serif" font-size="12" font-weight="bold" text-anchor="middle" fill="rgb(253,181,21)">UC</text><text x="50" y="65" font-family="serif" font-size="8" text-anchor="middle" fill="rgb(253,181,21)">Berkeley</text></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 120"><path d="M10 20 L50 10 L90 20 L90 70 Q90 85 50 100 Q10 85 10 70 Z" fill="rgb(39,116,174)" stroke="rgb(255,209,0)" stroke-width="2"/><text x="50" y="45" font-family="serif" font-size="12" font-weight="bold" text-anchor="middle" fill="rgb(255,209,0)">UC</text><text x="50" y="65" font-family="serif" font-size="8" text-anchor="middle" fill="rgb(255,209,0)">UCLA</text></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 120"><path d="M10 20 L50 10 L90 20 L90 70 Q90 85 50 100 Q10 85 10 70 Z" fill="rgb(24,43,73)" stroke="rgb(198,146,20)" stroke-width="2"/><text x="50" y="45" font-family="serif" font-size="12" font-weight="bold" text-anchor="middle" fill="rgb(198,146,20)">UC</text><text x="50" y="65" font-family="serif" font-size="7" text-anchor="middle" fill="rgb(198,146,20)">San Diego</text></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 120"><path d="M10 20 L50 10 L90 20 L90 70 Q90 85 50 100 Q10 85 10 70 Z" fill="rgb(0,60,108)" stroke="rgb(255,191,0)" stroke-width="2"/><text x="50" y="45" font-family="serif" font-size="12" font-weight="bold" text-anchor="middle" fill="rgb(255,191,0)">UC</text><text x="50" y="65" font-family="serif" font-size="8" text-anchor="middle" fill="rgb(255,191,0)">Davis</text></svg>'),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 120"><path d="M10 20 L50 10 L90 20 L90 70 Q90 85 50 100 Q10 85 10 70 Z" fill="rgb(79,38,131)" stroke="rgb(255,210,0)" stroke-width="2"/><text x="50" y="45" font-family="serif" font-size="12" font-weight="bold" text-anchor="middle" fill="rgb(255,210,0)">UC</text><text x="50" y="65" font-family="serif" font-size="8" text-anchor="middle" fill="rgb(255,210,0)">Irvine</text></svg>');
    background-repeat: repeat;
    background-size: 160px 160px;
    background-position: 0 0, 80px 80px, 160px 0, 240px 80px, 80px 160px;
    animation: float 50s ease-in-out infinite;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -20px) rotate(1deg); }
    66% { transform: translate(20px, -10px) rotate(-1deg); }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.countdown-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.countdown-section.special {
    background: rgba(255, 248, 220, 0.95);
    border: 2px solid #ffd700;
}

.countdown-section h2 {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.time-unit {
    background: #1e3a8a;
    color: white;
    padding: 1rem;
    border-radius: 15px;
    min-width: 80px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.time-unit.big {
    min-width: 120px;
    background: #ffd700;
    color: #1e3a8a;
}

.time-unit span {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.time-unit.big span {
    font-size: 3rem;
}

.time-unit label {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-date {
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

.hearts {
    font-size: 2rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .time-unit {
        min-width: 70px;
        padding: 0.8rem;
    }
    
    .time-unit span {
        font-size: 1.5rem;
    }
    
    .time-unit.big span {
        font-size: 2rem;
    }
}
