/**
 * SpongeBob Guesser - Home Page Styles
 */

@font-face {
    font-family: 'SpongeBoy';
    src: url('SpongeboyRegular.otf') format('opentype');
}

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

body {
    min-height: 100vh;
    font-family: 'SpongeBoy', 'Comic Sans MS', cursive, sans-serif;
    background: url('home-background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

.home-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.home-title {
    font-size: clamp(2rem, 6vw, 4rem);
    color: #fff;
    text-shadow:
        3px 3px 0 #017df0,
        -1px -1px 0 #017df0,
        1px -1px 0 #017df0,
        -1px 1px 0 #017df0,
        4px 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.home-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 400px;
}

.home-btn {
    display: block;
    padding: 1.25rem 2.5rem;
    font-family: inherit;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(180deg, #ffcc00 0%, #ff9900 100%);
    border: 4px solid #fff;
    border-radius: 16px;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow:
        0 4px 0 #cc7700,
        0 6px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.15s ease;
    cursor: pointer;
}

.home-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 0 #cc7700,
        0 8px 16px rgba(0, 0, 0, 0.35);
    background: linear-gradient(180deg, #ffdd33 0%, #ffaa22 100%);
}

.home-btn:active {
    transform: translateY(2px);
    box-shadow:
        0 2px 0 #cc7700,
        0 3px 8px rgba(0, 0, 0, 0.25);
}

.home-footer {
    padding: 1rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.credits {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.credits:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .home-container {
        padding: 1.5rem;
    }

    .home-title {
        margin-bottom: 2rem;
    }

    .home-buttons {
        gap: 1rem;
        max-width: 280px;
    }

    .home-btn {
        padding: 1rem 2rem;
        font-size: 1.25rem;
        border-radius: 12px;
    }
}

/* Landscape mode on small screens */
@media (max-height: 500px) and (orientation: landscape) {
    .home-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .home-buttons {
        flex-direction: row;
        max-width: 500px;
    }

    .home-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1.1rem;
    }
}

