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

/* Body - Common Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    padding: 20px;
}

/* Container - Common */
.container {
    text-align: center;
    max-width: 1500px;
    width: 100%;
    padding: 4vw;
}

/* Logo - Common */
.logo {
    display: block;
    max-width: 400px;
    width: 50%;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
}

/* Replay Logo - Common */
.replay-logo {
    margin-top: 5rem;
    max-width: 72px;
    opacity: 0.7;
}

/* Loading State - Index Page Only */
.loading {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #666666;
    margin-top: 2rem;
    font-weight: 400;
}

/* Buttons - Index Page Only */
.buttons {
    display: none; /* Hidden by default, shown when iOS detected */
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    transition: opacity 0.3s ease;
}

.buttons.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.btn {
    display: inline-block;
    padding: clamp(16px, 3vw, 30px) clamp(32px, 6vw, 60px);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(1.3rem, 4vw, 4rem);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.btn-secondary {
    background: linear-gradient(180deg, #F4D03F 0%, #E6B82E 100%);
    color: white;
    border: none;
    border-radius: 50px;
    box-shadow: 0 0 0 4px white, 0 12px 0 0 #4A4A4A, 0 16px 20px rgba(0,0,0,0.3);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 4px white, 0 14px 0 0 #4A4A4A, 0 18px 25px rgba(0,0,0,0.4);
}

.btn-secondary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 4px white, 0 8px 0 0 #4A4A4A, 0 10px 15px rgba(0,0,0,0.3);
}

/* Android Device Image - Android Page Only */
.android-device {
    display: block;
    max-width: 300px;
    width: 40%;
    margin: 1rem auto 2.5rem;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.1));
}

/* Message - Unsupported & Android Pages */
.message {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    line-height: 1.4;
    color: #1a1a1a;
    margin: 2.5rem 0 1.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Info - Unsupported & Android Pages */
.info {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #666666;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.info a {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info a:hover {
    color: #a78bfa;
    text-decoration: underline;
}

/* Contact - Unsupported & Android Pages */
.contact {
    margin-top: 4rem;
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: #999999;
}

.contact a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: #8b5cf6;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 8vw;
    }

    .logo {
        width: 70%;
        max-width: 320px;
    }

    .android-device {
        width: 55%;
        max-width: 240px;
    }
}
