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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2C4A87 0%, #465E9E 50%, #7A93C9 100%);
    color: #333;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.logo-container {
    background: linear-gradient(135deg, #2C4A87 0%, #465E9E 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(44, 74, 135, 0.3);
}

.construction-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.title {
    font-size: 2.5em;
    color: #E6E9F1;
    margin-bottom: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: bold;
    letter-spacing: 1px;
}

.subtitle-main {
    font-size: 1.8em;
    color: #2C4A87;
    margin-bottom: 15px;
    font-weight: bold;
}

.subtitle {
    font-size: 1.2em;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.game-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out 0.3s both;
}

.game-container h2 {
    text-align: center;
    color: #2C4A87;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: bold;
}

.game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.score-board {
    display: flex;
    gap: 30px;
    font-size: 1.3em;
    font-weight: bold;
    color: #2C4A87;
}

.timer {
    font-size: 1.3em;
    font-weight: bold;
    color: #ff6b6b;
}

#gameCanvas {
    display: block;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    height: auto;
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #2C4A87 0%, #465E9E 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 74, 135, 0.4);
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 74, 135, 0.6);
    background: linear-gradient(135deg, #465E9E 0%, #7A93C9 100%);
}

.btn:active:not(:disabled) {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.instructions {
    background: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.instructions h3 {
    color: #2C4A87;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.instructions p {
    margin: 8px 0;
    font-size: 1.05em;
    color: #555;
}

.notification-form {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.6s both;
}

.notification-form h3 {
    color: #2C4A87;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: bold;
}

#notifyForm {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

#email {
    padding: 12px 20px;
    font-size: 1em;
    border: 2px solid #2C4A87;
    border-radius: 25px;
    min-width: 250px;
    outline: none;
    transition: all 0.3s ease;
}

#email:focus {
    border-color: #465E9E;
    box-shadow: 0 0 10px rgba(44, 74, 135, 0.3);
}

.submit-btn {
    background: linear-gradient(135deg, #465E9E 0%, #7A93C9 100%);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #7A93C9 0%, #465E9E 100%);
}

.form-message {
    margin-top: 10px;
    font-weight: bold;
    min-height: 20px;
}

.form-message.success {
    color: #4caf50;
}

.form-message.error {
    color: #f44336;
}

.social-links {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out 0.9s both;
}

.social-links p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.8em;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.facebook .icon-text {
    font-family: Arial, sans-serif;
    font-weight: bold;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

footer {
    text-align: center;
    color: #999;
    font-size: 0.9em;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    margin: 15% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease-out;
}

.modal-content h2 {
    color: #2C4A87;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: bold;
}

.modal-content p {
    font-size: 1.3em;
    color: #666;
    margin: 15px 0;
}

#finalScore {
    color: #f5576c;
    font-weight: bold;
    font-size: 1.5em;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes scaleIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .title {
        font-size: 1.6em;
    }

    .subtitle-main {
        font-size: 1.4em;
    }

    .subtitle {
        font-size: 1em;
    }

    .logo-container {
        padding: 20px;
    }

    .game-container h2 {
        font-size: 1.5em;
    }

    .game-info {
        flex-direction: column;
        align-items: center;
    }

    #gameCanvas {
        width: 100%;
    }

    .score-board {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    #email {
        width: 100%;
    }
}
