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

body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    background: linear-gradient(110deg, #0B1A38 0%, #0D234D 100%);
    min-height: 100vh;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Background Glow Effect */
.background-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(40, 150, 243, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Header */
header {
    text-align: center;
    padding: 60px 20px 40px;
    position: relative;
    z-index: 1;
}

.logo-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(40, 150, 243, 0.2);
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #a7cfff;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Buttons Grid */
.buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    width: 100%;
}

/* Button Styles */
.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.14), rgba(165, 243, 252, 0.10));
    border: 2px solid rgba(147, 197, 253, 0.45);
    border-radius: 16px;
    color: #ffffff;
    text-decoration: none;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;

    /* Animation on load */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
    animation-delay: calc(var(--delay) * 0.1s);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 30px rgba(147, 197, 253, 0.45),
                0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(147, 197, 253, 0.7);
}

.btn:hover::before {
    opacity: 1;
}

.btn-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {
    width: 100%;
    height: 100%;
    stroke: #a7cfff;
    transition: stroke 0.3s ease;
}

.btn:hover .btn-icon svg {
    stroke: #ffffff;
}

.btn-text {
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

/* Fade Up Animation */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 20, 48, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(135deg, rgba(11, 26, 56, 0.95), rgba(13, 35, 77, 0.95));
    border: 1px solid rgba(147, 197, 253, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    padding: 0;
}

.modal-close svg {
    width: 100%;
    height: 100%;
    stroke: #a7cfff;
    transition: stroke 0.3s ease;
}

.modal-close:hover svg {
    stroke: #ffffff;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff;
}

.modal-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.08), rgba(165, 243, 252, 0.05));
    border: 1px solid rgba(147, 197, 253, 0.25);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modal-link:hover {
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.15), rgba(165, 243, 252, 0.10));
    border-color: rgba(147, 197, 253, 0.5);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(147, 197, 253, 0.2);
}

.link-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-icon svg {
    width: 100%;
    height: 100%;
    stroke: #a7cfff;
    transition: stroke 0.3s ease;
}

.modal-link:hover .link-icon svg {
    stroke: #ffffff;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    color: rgba(167, 207, 255, 0.5);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .buttons-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .btn {
        padding: 30px 25px;
    }

    .btn-icon {
        width: 40px;
        height: 40px;
    }

    header {
        padding: 40px 20px 30px;
    }

    .modal {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 200px;
    }

    .subtitle {
        font-size: 0.875rem;
    }

    .btn {
        padding: 25px 20px;
    }
}
