/* ==========================================================================
   fin77.online | Liquid Glass Dark Luxury Ecosystem
   Aesthetic: Obsidian Deep Space with Radiant Magenta (#ff5a96) & Opal Rose (#fcf1fb)
   ========================================================================== */

:root {
    --bg-main: #0A0508;
    --bg-secondary: #120910;
    --bg-card: rgba(24, 11, 20, 0.78);
    --bg-card-hover: rgba(36, 16, 30, 0.95);

    /* Luxury Magenta & Opal Rose Sheen */
    --accent-pink: #ff5a96;
    --accent-pink-bright: #ff75ab;
    --accent-pink-deep: #c92c68;
    --accent-opal: #fcf1fb;
    --accent-rose-gradient: linear-gradient(135deg, #ff5a96 0%, #ff8ab6 50%, #fcf1fb 100%);
    --accent-glow: rgba(255, 90, 150, 0.32);
    --accent-glow-strong: rgba(255, 90, 150, 0.58);

    /* Glass Reflections & Borders */
    --glass-border: rgba(255, 90, 150, 0.26);
    --glass-border-focus: rgba(252, 241, 251, 0.65);
    --glass-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);

    /* Typography Hierarchy */
    --text-white: #FFFFFF;
    --text-opal: #fcf1fb;
    --text-pink: #ff75ab;
    --text-muted: #A3929D;
    --text-dim: #6F5E6A;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 26px;
    --radius-pill: 9999px;
    --blur-val: 22px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: 'Prompt', 'Plus Jakarta Sans', sans-serif;
    line-height: 1.78;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(255, 90, 150, 0.09) 0%, transparent 45%),
        radial-gradient(circle at 90% 90%, rgba(252, 241, 251, 0.05) 0%, transparent 50%);
}

.cosmic-ambient {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    animation: cosmicPulse 25s infinite alternate ease-in-out;
}

.orb-top-pink {
    width: 660px;
    height: 660px;
    background: radial-gradient(circle, rgba(255, 90, 150, 0.22), transparent 70%);
    top: -140px;
    left: -120px;
}

.orb-bottom-pink {
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(201, 44, 104, 0.2), transparent 75%);
    bottom: -120px;
    right: -100px;
    animation-duration: 28s;
}

@keyframes cosmicPulse {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.06) translate(30px, -25px); }
    100% { transform: scale(0.95) translate(-25px, 30px); }
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-block {
    padding: 55px 0;
}

/* Header Sticky */
.top-header-glass {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 5, 8, 0.94);
    backdrop-filter: blur(var(--blur-val));
    -webkit-backdrop-filter: blur(var(--blur-val));
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

.header-inner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-portal-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.portal-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(255, 90, 150, 0.5));
}

.nav-actions-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 90, 150, 0.25);
    border-radius: var(--radius-pill);
    padding: 8px 18px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.nav-pill-btn:hover {
    background: rgba(255, 90, 150, 0.2);
    border-color: var(--accent-pink-bright);
    color: var(--accent-opal);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-header-cta {
    background: var(--accent-rose-gradient);
    color: #0A0508;
    border: none;
    border-radius: var(--radius-pill);
    padding: 10px 24px;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: all 0.25s ease;
}

.btn-header-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 25px var(--accent-glow-strong);
}

/* ==========================================================================
   Hero Showcase Section (Treasures of Aztec Banner & 1:1 Icon)
   ========================================================================== */
.hero-monograph-section {
    padding: 35px 0 20px;
}

.hero-banner-glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-val));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    position: relative;
    margin-bottom: 30px;
}

.banner-media-container {
    position: relative;
    width: 100%;
    min-height: 440px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.banner-backdrop-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.banner-gradient-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 5, 8, 0.98) 0%, rgba(10, 5, 8, 0.88) 55%, rgba(10, 5, 8, 0.35) 100%);
    z-index: 2;
}

.banner-overlay-content {
    position: relative;
    z-index: 3;
    padding: 50px 45px;
    max-width: 820px;
}

.hero-icon-add-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.icon-add-1to1 {
    width: 85px;
    height: 85px;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    border: 2px solid var(--accent-pink);
    box-shadow: 0 0 30px var(--accent-glow);
    object-fit: cover;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-rose-gradient);
    color: #0A0508;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.hero-headline-rose {
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1.22;
    color: #FFFFFF;
    margin-bottom: 14px;
}

.hero-headline-rose span {
    background: var(--accent-rose-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.hero-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-hero-primary {
    background: var(--accent-rose-gradient);
    color: #0A0508;
    padding: 13px 32px;
    border-radius: var(--radius-sm);
    font-weight: 900;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px var(--accent-glow);
    transition: transform 0.25s, box-shadow 0.25s;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow-strong);
}

.btn-hero-demo {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: #FFFFFF;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s;
}

.btn-hero-demo:hover {
    background: rgba(255, 90, 150, 0.2);
    border-color: var(--accent-pink-bright);
    color: var(--accent-opal);
}

/* Telemetry Grid */
.telemetry-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.telemetry-glass-cell {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
}

.telemetry-lbl {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.telemetry-num {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-opal);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Section Header Typography */
.section-heading-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.heading-icon-badge {
    width: 46px;
    height: 46px;
    background: rgba(255, 90, 150, 0.16);
    border: 1px solid var(--accent-pink);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-pink-bright);
    font-size: 1.3rem;
}

.section-main-title {
    font-size: 1.65rem;
    font-weight: 900;
    color: #FFFFFF;
}

.section-sub-title {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Section: Providers Detailed Dual Monograph (Treasures of Aztec & Bounty Fishing)
   ========================================================================== */
.providers-dual-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 45px;
}

.game-provider-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-val));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    display: grid;
    grid-template-columns: 360px 1fr;
    transition: all 0.35s ease;
}

.game-provider-card:hover {
    border-color: var(--accent-pink-bright);
    box-shadow: 0 16px 45px var(--accent-glow);
}

.game-card-media {
    position: relative;
    height: 100%;
    min-height: 420px;
    background: #000;
    overflow: hidden;
}

.game-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.game-provider-card:hover .game-card-media img {
    transform: scale(1.06);
}

.media-badge-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(10, 5, 8, 0.9);
    border: 1px solid var(--accent-pink);
    color: var(--accent-opal);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    z-index: 2;
}

.game-card-details {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.game-meta-provider {
    color: var(--accent-pink-bright);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.game-meta-rtp {
    color: var(--text-opal);
    font-weight: 900;
    font-size: 1.1rem;
}

.game-h3-name {
    font-size: 1.8rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 14px;
}

.game-badges-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.game-badges-strip span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 90, 150, 0.25);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-opal);
}

.game-rich-desc {
    font-size: 0.96rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.game-cta-row {
    display: flex;
    gap: 14px;
}

/* ==========================================================================
   Section: Mechanics & Strategic Pillars (4 Pillars)
   ========================================================================== */
.pillars-quad-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-bottom: 45px;
}

.pillar-monograph-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-val));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.pillar-monograph-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-pink-bright);
    box-shadow: 0 14px 35px var(--accent-glow);
}

.pillar-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255, 90, 150, 0.12);
    border: 1px solid rgba(255, 90, 150, 0.3);
    color: var(--accent-pink-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.pillar-monograph-card h3 {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-pink);
    margin-bottom: 10px;
}

.pillar-monograph-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   Section: About FIN77 Architecture
   ========================================================================== */
.about-glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-val));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: var(--glass-shadow);
    margin-bottom: 50px;
}

.about-title-rose {
    font-size: 2rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 18px;
}

.about-title-rose span {
    background: var(--accent-rose-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-body-copy p {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.84;
    margin-bottom: 18px;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.feature-box-unit {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 90, 150, 0.18);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
}

.feature-box-unit h4 {
    font-size: 0.98rem;
    color: var(--text-opal);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-box-unit p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   Section: Analytical FAQ
   ========================================================================== */
.faq-glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-val));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 44px;
    margin-bottom: 50px;
}

.faq-stack-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-stack-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

.faq-trigger-btn {
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.faq-chevron {
    color: var(--accent-pink);
    transition: transform 0.3s;
}

.faq-collapsible-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-drawer-text {
    padding: 0 22px 18px;
    font-size: 0.94rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 90, 150, 0.15);
    padding-top: 14px;
    line-height: 1.82;
}

.faq-stack-item.active .faq-chevron {
    transform: rotate(180deg);
}

/* Modal Popup */
.demo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 2, 4, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

.demo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.demo-modal-card {
    background: linear-gradient(135deg, rgba(30, 14, 25, 0.97), rgba(16, 6, 13, 0.98));
    border: 1px solid rgba(255, 90, 150, 0.45);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 90, 150, 0.28);
    border-radius: 24px;
    max-width: 520px;
    width: 100%;
    padding: 38px 30px;
    position: relative;
    text-align: center;
    transform: scale(0.92) translateY(20px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-modal-overlay.active .demo-modal-card {
    transform: scale(1) translateY(0);
}

.demo-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.demo-modal-close:hover {
    background: rgba(220, 38, 38, 0.8);
    border-color: #EF4444;
    transform: rotate(90deg);
}

.demo-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-rose-gradient);
    color: #0A0508;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

.demo-modal-title {
    font-size: 1.55rem;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.demo-modal-title span {
    background: var(--accent-rose-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.demo-modal-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 26px;
}

.demo-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-modal-line {
    background: linear-gradient(135deg, #06C755, #048C3B);
    color: #FFFFFF;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.4);
    transition: all 0.25s ease;
}

.btn-modal-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 199, 85, 0.55);
}

.btn-modal-demo {
    background: var(--accent-rose-gradient);
    color: #0A0508;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px var(--accent-glow);
    transition: all 0.25s ease;
}

.btn-modal-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow-strong);
}

/* Footer */
.site-footer-dark {
    background: #060305;
    border-top: 1px solid var(--glass-border);
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-summary-panel {
    background: rgba(20, 9, 17, 0.65);
    border: 1px solid rgba(255, 90, 150, 0.2);
    border-radius: var(--radius-md);
    padding: 30px;
    margin-bottom: 35px;
}

.footer-summary-panel h3 {
    font-size: 1.25rem;
    color: var(--text-pink);
    margin-bottom: 12px;
}

.footer-summary-panel p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.84;
}

.banking-badge-row {
    text-align: center;
    margin-bottom: 30px;
}

.banking-title-sub {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-pink);
    margin-bottom: 14px;
}

.bank-icons-pack {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bank-tag {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFFFFF;
}

.footer-copy-text {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-dim);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}

.seo-clean-anchor {
    color: var(--text-pink);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px dashed var(--accent-pink);
    transition: all 0.2s;
}

.seo-clean-anchor:hover {
    color: #FFFFFF;
    border-bottom-style: solid;
}

/* Responsive */
@media (max-width: 992px) {
    .header-inner-row {
        flex-direction: column;
        gap: 14px;
    }
    .banner-media-container {
        min-height: auto;
    }
    .banner-overlay-content {
        padding: 35px 25px;
    }
    .game-provider-card {
        grid-template-columns: 1fr;
    }
    .game-card-media {
        min-height: 280px;
    }
    .game-card-details {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .hero-headline-rose {
        font-size: 1.8rem;
    }
    .hero-icon-add-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-button-group, .game-cta-row {
        flex-direction: column;
    }
    .btn-hero-primary, .btn-hero-demo {
        width: 100%;
        justify-content: center;
    }
    .nav-actions-wrap {
        display: none;
    }
    .faq-glass-panel, .about-glass-card {
        padding: 24px;
    }
}