/* Basic safe Reset */
body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

/* Intro Background & Container */
.intro-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.intro-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Gateway Cards */
.gateways-container {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 30px;
    padding: 0 20px;
    width: 100%;
    max-width: 1400px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Social & Contact Buttons */
.intro-socials {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 50;
    display: flex;
    gap: 15px;
}

.intro-socials a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.intro-socials a:hover {
    background: #FFB703;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 183, 3, 0.3);
}

.intro-contact {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 50;
}

.contact-trigger {
    background: #FFB703;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    color: #000;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact-trigger:hover {
    transform: scale(1.05);
    background: #fff;
}

.contact-info {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    width: 250px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.intro-contact.active .contact-info {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s;
}

.contact-info a:hover {
    background: #f8f9fa;
    color: #FFB703;
}

.contact-info a i {
    width: 30px;
    height: 30px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFB703;
}

.gateway-card {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    background-color: #000;
    /* Entrance Animation */
    opacity: 0;
    transform: translateY(30px);
    animation: cardEntry 0.8s forwards ease-out;
}

@keyframes cardEntry {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gateway-card:hover {
    transform: translateY(-10px);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease, opacity 0.4s ease;
    opacity: 0.6;
    /* Darken the image by default to achieve "black" look */
}

.gateway-card:hover .card-bg {
    transform: scale(1.1);
    opacity: 0.4;
    /* Darken more on hover or lighten? Let's darken to make text pop */
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Stronger gradient for black look */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* Centered Logo */
.card-logo {
    position: absolute;
    top: 40%;
    /* Position roughly in the visible center/upper-middle */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 100%;
    text-align: center;
}

.card-logo img {
    max-width: 155px;
    height: auto;
    /* Filter removed to allow original logo colors */
}

.card-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: #fff;
}

.card-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.card-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    /* Slightly smaller to accommodate logo if needed */
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 600;
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: background 0.3s ease;
}

.btn-arrow img {
    width: 16px;
    filter: invert(1);
}

.gateway-card:hover .btn-arrow {
    background: #FFB703;
    /* Highlight color */
}

/* Copyright Footer (Left Aligned) */
.intro-copyright {
    position: absolute;
    bottom: 30px;
    left: 40px;
    z-index: 20;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-copyright p {
    margin: 0;
}

.intro-copyright a {
    color: #FFB703;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.intro-copyright a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.5);
}

/* Mobile Responsive */
@media (max-width: 991px) {

    body,
    html {
        overflow-y: auto;
    }

    .intro-container {
        height: auto;
        min-height: 100vh;
        padding: 120px 20px 60px;
        flex-direction: column;
    }

    .intro-socials {
        top: 20px;
        right: 20px;
        gap: 10px;
    }

    .intro-socials a {
        width: 35px;
        height: 35px;
        font-size: 15px;
    }

    .intro-contact {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
        order: 2;
    }

    .contact-info {
        bottom: 50px;
        right: 50%;
        transform: translate(50%, 20px);
    }

    .intro-contact.active .contact-info {
        transform: translate(50%, 0);
    }

    .gateways-container {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 0;
        max-width: 100%;
    }

    .gateway-card {
        width: 90%;
        /* Better spacing, not stuck to edges */
        max-width: 400px;
        height: 320px;
        flex: none;
    }

    .card-logo img {
        max-width: 110px;
    }

    .intro-copyright {
        position: relative;
        bottom: 0;
        left: 0;
        margin: 40px auto 20px;
        width: fit-content;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .intro-container {
        padding: 100px 15px 40px;
    }

    .gateway-card {
        height: 280px;
        width: 100%;
    }

    .card-content h2 {
        font-size: 18px;
    }

    .intro-copyright {
        font-size: 11px;
    }
}