html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    animation: fadeInPage 1s ease-in-out;
}
@keyframes fadeInPage {
    from { opacity: 0; }
    to { opacity: 1; }
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
}
nav { display: flex; justify-content: space-between; align-items: center; }
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    transition: color 0.3s ease;
}
.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    transition: transform 0.4s ease;
}
.logo:hover .logo-img {
    transform: rotate(360deg);
}
.logo:hover {
    color: #ff0000;
}

nav ul { list-style: none; display: flex; }
nav ul li { margin-left: 2rem; }
nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff0000;
    transition: width 0.3s ease;
}
nav ul li a:hover::after {
    width: 100%;
}
nav ul li a:hover {
    color: #ff0000;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
    border-radius: 3px;
}
/* Hamburger to X animation */
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}
@keyframes iconFloat {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-12px) scale(1.15); }
}

.about-hero { /* Renamed from payment-hero to match legacy.html's hero style */
    padding: 140px 0 20px;
    text-align: center;
    background: #000;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}
.about-hero h1 {
    font-size: 3rem;
    color: #ff0000;
    margin-bottom: 1rem;
    text-shadow:
        0 0 10px #ff0000,
        0 0 20px #ff0000,
        0 0 40px #660000;
}

.payment-card {
    max-width: 500px;
    margin: 10px auto 80px;
    background: #222;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    animation: fadeInUp 1s ease-out; /* Added animation */
}
.payment-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, #ff0000, #990000);
}
.gcash-logo { width: 120px; margin-bottom: 20px; }
.account-details { margin: 25px 0; }
.qr-container {
    width: 220px;
    height: 220px;
    margin: 0 auto 30px;
    background: #1a1a1a;
    border: 2px dashed #444;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.3s ease;
}
.qr-container img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.qr-placeholder { color: #666; font-size: 0.9rem; }
.qr-placeholder i { font-size: 2.5rem; color: #333; display: block; margin-bottom: 10px; }
.qr-container:hover { border-color: #ff0000; background: rgba(255, 0, 0, 0.05); }

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.4);
    border-color: #ff0000;
}
.detail-item { margin-bottom: 20px; }
.detail-label { font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 2px; }
.detail-value { font-size: 1.5rem; color: #fff; font-weight: 600; display: block; }
.masked-name { color: #ff0000; font-style: italic; font-size: 1.1rem; }

.copy-btn {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: 0.3s;
}
.copy-btn:hover { background: #ff0000; color: #000; }

footer { background: #000; color: #fff; text-align: center; padding: 2rem 0; border-top: 1px solid #333; }
.social-links {
    margin-top: 15px;
}
.social-link {
    display: inline-block;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-link:hover {
    color: #ff0000;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    nav ul {
        display: block !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        border-bottom: 2px solid rgba(255, 0, 0, 0.3);
        padding: 0;
    }
    nav ul.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding: 20px 0;
    }
    nav ul li {
        margin: 15px 0;
        text-align: center;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    nav ul.active li {
        opacity: 1;
        transform: translateY(0);
    }
    nav ul li a {
        font-size: 1.2rem;
        text-transform: uppercase;
        letter-spacing: 3px;
    }
    .about-hero h1 { font-size: 2.2rem; } /* Adjusted for payment hero */
    .logo { font-size: 1.3rem; } /* Consistent with other pages */
}