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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.title {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.5rem;
    color: #f8f9fa;
    font-weight: 300;
    font-style: italic;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.birthday-message {
    display: flex;
    justify-content: center;
    animation: fadeIn 1.5s ease-out 0.5s both;
}

.message-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.message-card h2 {
    font-size: 2rem;
    color: #764ba2;
    margin-bottom: 20px;
    font-weight: 600;
}

.message-card p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.terminal-section {
    display: flex;
    justify-content: center;
    animation: fadeIn 1.5s ease-out 1s both;
}

.terminal {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 600px;
    width: 100%;
}

.terminal-header {
    background: #3c3c3c;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.button.red { background: #ff5f56; }
.button.yellow { background: #ffbd2e; }
.button.green { background: #27c93f; }

.terminal-title {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.8;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier New', monospace;
}

.terminal-line {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.prompt {
    color: #27c93f;
    margin-right: 10px;
}

.command {
    color: #fff;
    font-size: 1.1rem;
}

.password-hint {
    opacity: 0.7;
}

.comment {
    color: #6a9955;
    font-size: 0.9rem;
    font-style: italic;
}

.car-windows {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    height: 300px;
    margin: 20px 0;
}

.car-window {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.car-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.celebration {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

.balloon {
    position: absolute;
    font-size: 3rem;
    pointer-events: auto;
    animation: floatUp 8s linear infinite;
}

.balloon-1 { left: 5%; animation-delay: 0s; }
.balloon-2 { left: 15%; animation-delay: 2s; }
.balloon-3 { left: 25%; animation-delay: 4s; }
.balloon-4 { left: 35%; animation-delay: 6s; }
.balloon-5 { left: 45%; animation-delay: 8s; }
.balloon-6 { left: 55%; animation-delay: 10s; }
.balloon-7 { left: 65%; animation-delay: 12s; }
.balloon-8 { left: 75%; animation-delay: 14s; }
.balloon-9 { left: 85%; animation-delay: 16s; }
.balloon-10 { left: 95%; animation-delay: 18s; }
.balloon-11 { left: 12%; animation-delay: 20s; }
.balloon-12 { left: 88%; animation-delay: 22s; }

.footer {
    text-align: center;
    padding: 20px 0;
    color: white;
    font-size: 1.2rem;
    animation: fadeInUp 1s ease-out 1.5s both;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatUp {
    0% {
        bottom: -100px;
        transform: translateX(0) rotate(-5deg);
    }
    25% {
        transform: translateX(20px) rotate(5deg);
    }
    50% {
        transform: translateX(-10px) rotate(-3deg);
    }
    75% {
        transform: translateX(15px) rotate(3deg);
    }
    100% {
        bottom: 110vh;
        transform: translateX(0) rotate(-5deg);
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .message-card {
        padding: 30px 20px;
    }
    
    .message-card h2 {
        font-size: 1.5rem;
    }
    
    .message-card p {
        font-size: 1rem;
    }
    
    .balloon {
        font-size: 2rem;
    }
}
