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

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

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

/* Header */
.header {
    text-align: center;
    padding: 60px 0 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(255, 107, 107, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(78, 205, 196, 0.8)); }
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Main Content */
.main-content {
    text-align: center;
    padding: 80px 0;
}

.coming-soon {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.description {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.newsletter-signup {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.signup-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.email-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.submit-btn {
    padding: 15px 30px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
    min-width: 120px;
}

.submit-btn:hover {
    transform: scale(1.05);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mario Game Section */
.game-section {
    background: #5c94fc;
    padding: 40px 0;
    border-top: 4px solid #2b5ce6;
    position: relative;
    overflow: hidden;
}

.game-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.game-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(to bottom, #5c94fc 60%, #8b4513 60%);
    border: 4px solid #2b5ce6;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 800px;
}

.cloud {
    position: absolute;
    background: white;
    border-radius: 50px;
    animation: moveCloud 8s linear infinite;
}

.cloud1 {
    width: 60px;
    height: 30px;
    top: 20px;
    left: -60px;
}

.cloud2 {
    width: 80px;
    height: 40px;
    top: 60px;
    left: -80px;
    animation-delay: -4s;
}

@keyframes moveCloud {
    from { transform: translateX(0); }
    to { transform: translateX(calc(800px + 100px)); }
}

.ground {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, #92d050 0%, #8b4513 20%);
    border-top: 4px solid #70ad47;
}

.pipe {
    position: absolute;
    bottom: 160px;
    right: 100px;
    width: 60px;
    height: 120px;
    background: #4caf50;
    border: 3px solid #2e7d32;
    border-radius: 5px 5px 0 0;
}

.pipe::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -10px;
    width: 80px;
    height: 25px;
    background: #4caf50;
    border: 3px solid #2e7d32;
    border-radius: 10px;
}

.mario {
    position: absolute;
    bottom: 160px;
    left: 50px;
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 5;
}

.mario-sprite {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    display: block;
}

/* Fallback Mario if image doesn't load */
.mario:not(:has(.mario-sprite)) {
    background: #ff0000;
    border-radius: 2px;
    border: 1px solid #cc0000;
    box-shadow: 
        inset 2px 2px 0 rgba(255, 255, 255, 0.3),
        inset -2px -2px 0 rgba(0, 0, 0, 0.2);
}

.mario:not(:has(.mario-sprite))::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 12px;
    width: 40px;
    height: 16px;
    background: #8b4513;
    border-radius: 50%;
    border: 1px solid #654321;
}

.mario:not(:has(.mario-sprite))::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 16px;
    width: 32px;
    height: 24px;
    background: #0066cc;
    border-radius: 0 0 2px 2px;
    border: 1px solid #004499;
}

.mario.jumping {
    transform: translateY(-80px);
}

.mario.moving-right {
    transform: scaleX(1);
}

.mario.moving-left {
    transform: scaleX(-1);
}

.mario.jumping.moving-right {
    transform: translateY(-80px) scaleX(1);
}

.mario.jumping.moving-left {
    transform: translateY(-80px) scaleX(-1);
}

.coin {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffd700;
    border-radius: 50%;
    border: 2px solid #ffed4e;
    animation: spin 1s linear infinite, float 2s ease-in-out infinite;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #b8860b;
    font-size: 12px;
}

.coin::before {
    content: '$';
}

@keyframes spin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.score {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 10;
}

.game-instructions {
    text-align: center;
    margin-top: 20px;
    color: white;
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Animation keyframes for notifications */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes scorePopup {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) scale(1.2);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .coming-soon { 
        font-size: 2.5rem; 
    }
    
    .logo { 
        font-size: 2rem; 
    }
    
    .signup-form { 
        flex-direction: column; 
    }
    
    .game-container { 
        height: 300px; 
        max-width: 100%; 
    }
    
    .description {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .newsletter-signup {
        padding: 30px 20px;
        margin: 0 10px 40px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 40px 0 20px;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .coming-soon {
        font-size: 2rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .game-container {
        height: 250px;
    }
    
    .mario {
        width: 80px;
        height: 80px;
    }
}