@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #e9e5dc;
}

body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: url('../push-gang-bg.png') center center/cover no-repeat fixed;
    background-size: 100% 100%;
    /*
    background-position: center center;
    */
    background-repeat: no-repeat;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.25);
    /* Black overlay, lower opacity for slight darkening */
    z-index: 0;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #3e2c19;
    letter-spacing: 2px;
}

.wood-title {
    font-family: 'Pacifico', cursive;
    font-size: 3rem;
    color: #8b5c2a;
    /* Match button base color */
    text-shadow:
        2px 2px 0 #a67c52,
        4px 4px 8px #3e2c19;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: scale(0.7);
    animation: popout 0.5s cubic-bezier(.68, -0.55, .27, 1.55) forwards;
}

@keyframes popout {
    to {
        opacity: 1;
        transform: scale(1.15);
    }
}

.letter {
    opacity: 0;
    display: inline-block;
    transform: translateY(30px);
    animation: letterIn 0.4s cubic-bezier(.68, -0.55, .27, 1.55) forwards;
    text-shadow:
        0 0 0 #fff,
        /* base layer for crispness */
        1px 1px 0 #e3c08d,
        2px 2px 6px #3e2c19,
        0 0 2px #a67c52;
    font-smooth: always;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    filter: contrast(1.2) brightness(1.1);
}

@keyframes letterIn {
    to {
        opacity: 1;
        transform: translateY(0);
        /* Removed scale for crispness */
    }
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    padding: 18px 0;
    margin: 10px;
    font-size: 1.3rem;
    color: #fff;
    background: url('https://www.transparenttextures.com/patterns/wood-pattern.png'), linear-gradient(135deg, #8b5c2a 0%, #a67c52 100%);
    border: none;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(60, 40, 20, 0.12);
    text-decoration: none;
    transition:
        box-shadow 0.4s,
        transform 1.2s cubic-bezier(.68, -0.55, .27, 1.55),
        background 0.3s;
    will-change: transform;
    perspective: 600px;
    /* For 3D effect */
    position: relative;
    overflow: hidden;
}

.button i {
    margin-right: 12px;
    font-size: 1.5rem;
}

.button:hover {
    background: url('https://www.transparenttextures.com/patterns/wood-pattern.png'), linear-gradient(135deg, #a67c52 0%, #c19a6b 100%);
    box-shadow: 0 16px 40px rgba(60, 40, 20, 0.30), 0 0 40px #e3c08d inset;
    transform: rotateX(360deg) scale(1.07);
    color: #3e2c19;
}

.button:active {
    transform: scale(0.98);
}

.icon {
    margin-right: 8px;
}

@media (max-width: 500px) {
    .button {
        width: 90%;
        font-size: 1rem;
        padding: 14px 0;
    }

    .wood-title {
        font-size: 2rem;
    }
}