/* Reset Basic */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* overflow-y จะถูกคุมโดย inline style ใน index.php แล้ว */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.float-logo {
    animation: float 4s ease-in-out infinite;
    will-change: transform;
}

/* Custom Utilities */
.text-shadow {
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

/* 3D Button Styles */
.button-82-pushable {
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    outline-offset: 4px;
    transition: filter 250ms;
    -webkit-tap-highlight-color: transparent;
}

.button-82-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: hsl(0deg 0% 0% / 0.25);
    transform: translateY(2px);
    transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
}

.button-82-edge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(to left, #1e3a8a 0%, #2563eb 8%, #2563eb 92%, #1e3a8a 100%);
}

.button-82-front {
    display: block;
    position: relative;
    border-radius: 12px;
    color: white;
    background: #3b82f6;
    transform: translateY(-4px);
    transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
    text-decoration: none;
}

.button-82-pushable:hover { filter: brightness(110%); }
.button-82-pushable:hover .button-82-front { transform: translateY(-6px); }
.button-82-pushable:active .button-82-front { transform: translateY(-2px); }
.button-82-pushable:hover .button-82-shadow { transform: translateY(4px); }
.button-82-pushable:active .button-82-shadow { transform: translateY(1px); }