:root {
    --napoli-blue: #13214C;
    --napoli-light-blue: #00A1E1;
    --white: #ffffff;
    --instagram-purple: #C13584;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--napoli-blue);
    color: var(--white);
    min-height: 100vh;
    overflow: auto;
    position: relative;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: url('../images/mctominay.jpg') center center/cover no-repeat;
    opacity: 0.18;
    filter: grayscale(0.2) blur(1px) brightness(0.9);
}

.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.content {
    text-align: center;
    max-width: 1200px;
    padding: 40px 20px;
    background: rgba(19, 33, 76, 0.0);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 161, 225, 0.1);
    animation: fadeIn 1.5s ease-out;
}

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

.logo-container {
    margin-bottom: 30px;
}

.circle-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 4px solid var(--napoli-light-blue);
    box-shadow: 0 0 20px rgba(0, 161, 225, 0.3);
    object-fit: cover;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--napoli-light-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--white);
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    color: var(--napoli-blue);
    background: var(--white);
    text-decoration: none;
    width: 70px;
    height: 70px;
    border: 2px solid var(--napoli-light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 2.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
    position: relative;
    overflow: visible;
}

.social-link:hover {
    background: var(--napoli-light-blue);
    color: var(--white);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 5px 20px rgba(0, 161, 225, 0.25);
}

.social-link.instagram:hover {
    background: var(--white);
    color: var(--instagram-purple);
    border-color: var(--instagram-purple);
    box-shadow: 0 5px 20px rgba(193, 53, 132, 0.25);
}

.social-link.instagram:hover .social-text {
    color: var(--instagram-purple);
}

.social-link .social-text {
    display: none;
}

/* Portrait orientation on larger screens: show text next to icon */
@media (orientation: portrait) and (min-width: 769px) {
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .social-link {
        width: auto;
        min-width: 70px;
        padding-right: 24px;
        padding-left: 8px;
        border-radius: 35px;
        justify-content: flex-start;
    }
    .social-link .social-text {
        display: inline-block;
        margin-left: 18px;
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--napoli-blue);
        letter-spacing: 1px;
    }
    .social-link:hover .social-text {
        color: var(--white);
    }
}

/* App Store Badges */
.app-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.app-tagline {
    font-size: 1rem;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--white);
    opacity: 0.85;
}

.badge-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 180px;
    height: 60px;
}

.badge-link:hover {
    transform: translateY(-2px) scale(1.05);
    opacity: 0.9;
}

.app-badge {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
}

.badge-link.play-store {
    width: 195px;
    height: 58px;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .circle-image {
        width: 120px;
        height: 120px;
    }
    
    .social-link {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .social-links {
        flex-direction: row;
        gap: 15px;
    }
    
    .content {
        padding: 30px 15px;
    }
    
    .badge-link {
        width: 150px;
        height: 50px;
    }
    
    .badge-link.play-store {
        width: 170px;
        height: 57px;
    }
    
    .app-badges {
        gap: 15px;
        margin-top: 30px;
    }
}
