/* ========================================
   BPA - Best Pokies Australia
   Partnership Page Styles
   Dark Theme
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2235;
    --bg-card-hover: #243049;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --accent-glow: rgba(245, 158, 11, 0.15);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e293b;
    --border-light: #334155;
    --gradient-gold: linear-gradient(135deg, #f59e0b, #eab308, #f59e0b);
    --gradient-dark: linear-gradient(180deg, #0a0e17 0%, #111827 100%);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Hamburger Button */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition);
}

.hamburger-btn:hover {
    background: var(--bg-card-hover);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Side Menu Overlay */
.sidemenu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Side Menu Panel */
.sidemenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 3000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border);
}

.sidemenu.active {
    transform: translateX(0);
}

.sidemenu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.sidemenu-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.sidemenu-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    border-radius: 8px;
    transition: var(--transition);
}

.sidemenu-close:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.sidemenu-links {
    list-style: none;
    padding: 16px 0;
    flex: 1;
    overflow-y: auto;
}

.sidemenu-links li a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidemenu-links li a:hover {
    color: var(--accent);
    background: var(--bg-card);
    border-left-color: var(--accent);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

/* Language Flag Button */
.lang-flag-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all var(--transition);
    line-height: 1;
}

.lang-flag-btn:hover {
    background: var(--bg-card-hover);
}

.lang-flag {
    font-size: 28px;
    line-height: 1;
}

.lang-flag-img {
    display: block;
    width: 28px;
    height: auto;
    border-radius: 3px;
}

.lang-item-flag {
    border-radius: 2px;
}

/* Language Popup Overlay */
.lang-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

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

/* Language Popup */
.lang-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0;
    z-index: 2001;
    min-width: 320px;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.lang-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.lang-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.lang-popup-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color var(--transition);
}

.lang-popup-close:hover {
    color: var(--text-primary);
}

.lang-popup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 16px;
}

.lang-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.lang-item:hover {
    background: var(--bg-card-hover);
}

.lang-item.active {
    background: var(--accent-glow);
    border: 1px solid var(--accent);
}

.lang-item-flag {
    font-size: 32px;
    line-height: 1;
}

.lang-item-code {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.lang-item.active .lang-item-code {
    color: var(--accent);
}

@media (max-width: 480px) {
    .lang-popup {
        min-width: auto;
        width: calc(100% - 40px);
    }
}

/* Hide Google Translate top banner bar */
.goog-te-banner-frame {
    display: none !important;
}

/* Hide Google Translate top bar body shift */
body {
    top: 0 !important;
}

.skiptranslate {
    display: none !important;
}

.goog-te-spinner-pos,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-menu-frame,
.goog-te-ftab-frame,
div[id^="goog-gt-"],
iframe.goog-te-menu-frame,
iframe.goog-te-banner-frame {
    display: none !important;
}

#google_translate_element {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ========================================
   Hero Banner
   ======================================== */
.hero-banner {
    margin-top: 72px;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .hero-banner img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

.banner-mobile {
    display: none;
}

@media (max-width: 768px) {
    .banner-desktop {
        display: none;
    }
    .banner-mobile {
        display: block;
    }
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--gradient-gold);
    color: #0a0e17;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    color: #0a0e17;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    transition: all var(--transition);
}

.btn-outline:hover {
    background: var(--accent);
    color: #0a0e17;
}

/* ========================================
   Trust Bar
   ======================================== */
.trust-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    text-align: center;
}

.trust-bar p {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .trust-bar {
        padding: 4px 0;
    }
    .trust-bar p {
        font-size: 11px;
        letter-spacing: 0.5px;
    }
}

/* ========================================
   Sections Common
   ======================================== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* ========================================
   Partners Grid
   ======================================== */
.partners {
    background: #ffffff;
}

.partners .section-title,
.partners .section-subtitle {
    color: #1a1a2e;
}

.partners .btn-outline {
    color: #1a1a2e;
    border-color: #1a1a2e;
}

.partners .btn-outline:hover {
    background: #1a1a2e;
    color: #ffffff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Partner Image Card */
.partner-img {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.partner-img:hover {
    transform: translateY(-6px);
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.35));
}

.partner-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile: single column */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ========================================
   Features
   ======================================== */
.features {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Providers
   ======================================== */
.providers {
    background: #f5f5f5;
    padding: 80px 0;
}

.providers .section-title {
    color: #1e293b;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.provider-card {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.provider-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.provider-card:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .providers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .provider-card {
    }
}

@media (max-width: 480px) {
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Brand Intro
   ======================================== */
.brand-intro {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.brand-content {
    max-width: 800px;
    margin: 0 auto;
}

.brand-content h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--accent);
}

.brand-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ========================================
   Guide / SEO Content
   ======================================== */
.guide {
    background: var(--bg-primary);
}

.guide-intro {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.guide-heading {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    color: var(--text-primary);
}

.guide-text {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 36px;
}

.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color var(--transition);
}

.guide-card:hover {
    border-color: var(--accent);
}

.guide-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
}

.guide-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   Payment Methods
   ======================================== */
.payments {
    background: #f5f5f5;
    padding: 80px 0;
}

.payments .section-title {
    color: #1e293b;
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.payment-card {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.payment-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.payment-card:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .payments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .payment-card {
    }
}

@media (max-width: 480px) {
    .payments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Responsible Gambling
   ======================================== */
.responsible {
    background: var(--bg-primary);
}

.responsible-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.responsible-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent);
}

.responsible-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.responsible-content p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Conclusion
   ======================================== */
.conclusion {
    background: var(--bg-secondary);
}

.conclusion-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.conclusion-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.conclusion-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Footer Sections - 3 column layout */
.footer-sections {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 40px 0 0;
    border-top: 1px solid var(--border);
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    box-sizing: border-box;
}

.footer-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 2px;
    margin: 0;
}

/* License Badges - 2x2 grid, GCB naturally tall, Curacao/MGA with white bg */
.license-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
    align-items: start;
    justify-items: start;
}

.license-badge {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.license-badge img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.license-badge--has-bg {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

/* Responsible Gaming Badges - 3 small icons in a row */
.responsible-badges {
    display: flex;
    gap: 24px;
    align-items: center;
}

.responsible-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.responsible-badge img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Certification Badges - 3x2 grid, all with white bg cards */
.cert-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    justify-items: stretch;
    align-items: stretch;
}

.cert-badge {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    min-height: 50px;
}

.cert-badge img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
    border-radius: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 120px 20px 60px;
    }

    .hero-badges {
        gap: 12px;
    }

    .badge {
        padding: 8px 14px;
        font-size: 12px;
    }

    .section {
        padding: 40px 0;
    }

    .section-subtitle {
        margin-bottom: 28px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature-card {
        padding: 16px;
    }

    .feature-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .feature-card h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 12px;
        line-height: 1.5;
    }

    .providers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .guide-cards {
        grid-template-columns: 1fr;
    }

    .payments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-badges {
        gap: 16px;
    }

    .footer-badge img {
        height: 32px;
    }

    .footer-sections {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-section {
        gap: 10px;
    }

    .footer-section-title {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .license-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-badges {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom p {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .responsible-content {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-desc {
        font-size: 15px;
    }
}

/* ========================================
   Reviews Section
   ======================================== */
.reviews {
    background: var(--bg-secondary);
}

.reviews-partners {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.review-partner-block {
    /* each partner block */
}

.review-partner-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.review-partner-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.trustpilot-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 182, 122, 0.1);
    border: 1px solid rgba(0, 182, 122, 0.3);
    border-radius: 8px;
    padding: 6px 14px;
    transition: var(--transition);
}

.trustpilot-badge:hover {
    background: rgba(0, 182, 122, 0.2);
    border-color: rgba(0, 182, 122, 0.5);
}

.tp-stars {
    color: #00b67a;
    font-size: 14px;
    letter-spacing: 2px;
}

.tp-score {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}

.tp-count {
    font-size: 12px;
    color: var(--text-secondary);
}

.review-cards-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: thin;
    /* Prevent parent overflow-x:hidden from blocking scroll */
    position: relative;
    z-index: 1;
}

.review-cards-row::-webkit-scrollbar {
    height: 4px;
}

.review-cards-row::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 4px;
}

.review-cards-row::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    min-width: 280px;
    max-width: 340px;
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
}

.review-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 48px;
    color: var(--accent);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.review-stars {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 3px;
}

.review-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #0a0e17;
    flex-shrink: 0;
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .review-card {
        min-width: 260px;
        flex: 0 0 85%;
    }
    .review-partner-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .reviews-partners {
        gap: 36px;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
