/* ============================================
   AIZU Foundation — Light Theme
   Palette: #FF7B00, #FF8D21, #FFA652, #FFB76B, #FFCD90, #FFF4DF
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --primary: #FF7B00;
    --primary-hover: #e86e00;
    --secondary: #FF8D21;
    --accent: #FFA652;
    --light: #FFB76B;
    --cream: #FFCD90;
    --bg: #FFF4DF;
    --bg-alt: #FFF9EE;
    --white: #ffffff;
    --text-dark: #2D1B00;
    --text-body: #5C4A32;
    --text-muted: #9E8A72;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-border: rgba(255, 123, 0, 0.12);
    --shadow-sm: 0 2px 8px rgba(255, 123, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(255, 123, 0, 0.1);
    --shadow-lg: 0 16px 48px rgba(255, 123, 0, 0.12);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-full: 9999px;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Base ---- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.7;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

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

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

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

/* ---- Typography (fluid) ---- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw + 1rem, 4rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw + 0.5rem, 2.8rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw + 0.3rem, 1.6rem);
}

p {
    font-size: clamp(0.9rem, 1vw + 0.5rem, 1.05rem);
}

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- Section Spacing ---- */
.section {
    padding: clamp(3rem, 6vw, 6rem) 0;
    position: relative;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    min-height: 48px;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 123, 0, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 123, 0, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 123, 0, 0.3);
}

.btn:active {
    transform: translateY(0) scale(0.97);
}

/* ---- Glass Card ---- */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 123, 0, 0.25);
}

/* ---- 3D Tilt Card ---- */
.tilt-card {
    transition: transform var(--transition), box-shadow var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ---- Section Label ---- */
.section-label {
    display: inline-block;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 123, 0, 0.08);
    border: 1px solid rgba(255, 123, 0, 0.15);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
    background: transparent;
}

.nav-header.scrolled {
    background: rgba(255, 244, 223, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(255, 123, 0, 0.08);
}

.nav-header.header-hidden {
    transform: translateY(-100%);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.nav-logo img {
    height: 64px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 123, 0, 0.06);
    border: 1px solid rgba(255, 123, 0, 0.1);
    border-radius: var(--radius-full);
    padding: 4px;
}

.nav-link {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-body);
    transition: all var(--transition);
    white-space: nowrap;
    min-height: auto;
    min-width: auto;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(255, 123, 0, 0.08);
}

.nav-link.active {
    color: var(--white);
    background: var(--primary);
    box-shadow: 0 2px 12px rgba(255, 123, 0, 0.3);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 70;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav — Side Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    z-index: 60;
    background: linear-gradient(160deg, #fff9ee 0%, #fff4df 50%, #ffe8c4 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    overscroll-behavior: contain;
    box-shadow: -8px 0 40px rgba(255, 123, 0, 0.12);
    border-left: 3px solid transparent;
    border-image: linear-gradient(to bottom, var(--primary), var(--accent), transparent) 1;
}

.mobile-nav::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 123, 0, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mobile-nav::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 167, 82, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Backdrop overlay */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(45, 27, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-nav-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav.open {
    transform: translateX(0);
}

/* Navigation Label */
.mobile-nav .nav-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.35s ease 0.15s;
}

.mobile-nav.open .nav-label {
    opacity: 1;
    transform: translateX(0);
}

/* Links */
.mobile-nav a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-body);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    opacity: 0;
    transform: translateX(30px);
}

.mobile-nav.open a {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav.open a:nth-child(1) {
    transition-delay: 0.08s;
}

.mobile-nav.open a:nth-child(2) {
    transition-delay: 0.12s;
}

.mobile-nav.open a:nth-child(3) {
    transition-delay: 0.16s;
}

.mobile-nav.open a:nth-child(4) {
    transition-delay: 0.20s;
}

.mobile-nav.open a:nth-child(5) {
    transition-delay: 0.24s;
}

.mobile-nav.open a:nth-child(6) {
    transition-delay: 0.28s;
}

.mobile-nav a .nav-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 123, 0, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-nav a:hover,
.mobile-nav a:active {
    background: rgba(255, 123, 0, 0.08);
    color: var(--primary);
}

.mobile-nav a:hover .nav-icon {
    background: var(--primary);
    transform: scale(1.08);
}

.mobile-nav a.active {
    color: var(--primary);
    background: rgba(255, 123, 0, 0.1);
    border-left: 3px solid var(--primary);
}

.mobile-nav a.active .nav-icon {
    background: var(--primary);
}

/* Bottom branding area */
.mobile-nav .mobile-nav-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 123, 0, 0.12);
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.35s;
}

.mobile-nav.open .mobile-nav-footer {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav .mobile-nav-footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.mobile-nav .mobile-nav-footer .footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-weight: 800;
    font-size: 0.95rem;
}

.mobile-nav .mobile-nav-footer .footer-logo .fl-aizu {
    color: var(--text-dark);
}

.mobile-nav .mobile-nav-footer .footer-logo .fl-foundation {
    color: var(--primary);
}

/* ============================================
   HERO — Community Wave
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Floating Cards */
.hero-cards {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-card {
    position: absolute;
    background: var(--white);
    border: 2px solid rgba(255, 123, 0, 0.15);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    min-width: 180px;
    text-align: center;
}

.float-card:hover {
    transform: scale(1.08) !important;
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.float-card .card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 123, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.75rem;
}

.float-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.float-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Float positions */
.float-card:nth-child(1) {
    top: 5%;
    left: 10%;
    animation: floatA 6s ease-in-out infinite;
}

.float-card:nth-child(2) {
    top: 10%;
    right: 5%;
    animation: floatB 7s ease-in-out infinite;
}

.float-card:nth-child(3) {
    bottom: 15%;
    left: 5%;
    animation: floatC 8s ease-in-out infinite;
}

.float-card:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation: floatD 6.5s ease-in-out infinite;
}

@keyframes floatA {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-18px) rotate(1deg);
    }
}

@keyframes floatB {

    0%,
    100% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-22px) rotate(-1deg);
    }
}

@keyframes floatC {

    0%,
    100% {
        transform: translateY(0) rotate(1deg);
    }

    50% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

@keyframes floatD {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Orange gradient blob behind cards */
.hero-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 123, 0, 0.15), rgba(255, 205, 144, 0.1), transparent);
    border-radius: 50%;
    filter: blur(60px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* Background dots pattern */
.bg-dots {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 123, 0, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: dotsDrift 60s linear infinite;
}

@keyframes dotsDrift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 40px 40px;
    }
}

/* ============================================
   WAVE DIVIDER
   ============================================ */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: auto;
}

.wave-divider.flip {
    transform: rotate(180deg);
    margin-top: 0;
    margin-bottom: -1px;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ============================================
   STATS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ============================================
   PROGRAM CARDS
   ============================================ */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.program-card .card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.team-card .card-img {
    height: auto;
    aspect-ratio: 1 / 1;
}

.program-card:hover .card-img img {
    transform: scale(1.08);
}

.program-card .card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 244, 223, 0.4), transparent);
}

.team-card .card-img::after {
    background: none;
}

.program-card .card-body {
    padding: 1.5rem;
}

.program-card .card-body h3 {
    margin-bottom: 0.5rem;
}

.program-card .card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.program-card .card-body .card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.program-card .card-body .card-link:hover {
    text-decoration: underline;
}

/* Orange top border animate on hover */
.program-card::before {
    content: '';
    display: block;
    height: 4px;
    width: 0;
    background: var(--primary);
    transition: width 0.4s ease;
}

.program-card:hover::before {
    width: 100%;
}

/* ============================================
   GALLERY (masonry)
   ============================================ */
.gallery-masonry {
    columns: 3;
    column-gap: 1rem;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '🔍';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(255, 123, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ============================================
   PHOTO ALBUMS
   ============================================ */
.albums-section {
    background: var(--bg-alt);
    position: relative;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.album-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.album-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 123, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.album-card-cover {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.album-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.album-card:hover .album-card-cover img {
    transform: scale(1.1);
}

.album-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 123, 0, 0.8) 0%, rgba(255, 123, 0, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.album-card:hover .album-card-overlay {
    opacity: 1;
}

.album-card-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.album-card:hover .album-card-icon {
    transform: translateY(0);
}

.album-card-action {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(10px);
    transition: transform 0.4s ease 0.05s;
}

.album-card:hover .album-card-action {
    transform: translateY(0);
}

.album-card-info {
    padding: 1.5rem;
}

.album-card-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.album-card-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.album-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 123, 0, 0.08);
}

.album-photo-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.album-view-btn {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.3s ease;
}

.album-card:hover .album-view-btn {
    letter-spacing: 0.05em;
}

/* Album Detail View */
.album-detail {
    animation: albumFadeIn 0.5s ease forwards;
}

@keyframes albumFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.album-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.album-detail-header h2 {
    margin: 0;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

.album-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.album-back-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 123, 0, 0.05);
    transform: translateX(-4px);
}

.album-back-btn span {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.album-back-btn:hover span {
    transform: translateX(-3px);
}

/* Album card top accent bar */
.album-card::before {
    content: '';
    display: block;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.4s ease;
}

.album-card:hover::before {
    width: 100%;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 16px 8px;
    background: var(--bg-alt);
    border: 1.5px solid rgba(255, 123, 0, 0.15);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
    min-height: 52px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.1);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.25s ease;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: 4px;
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--white);
    border-top: 3px solid transparent;
    border-image: linear-gradient(to right, var(--primary), var(--accent), var(--cream)) 1;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 123, 0, 0.1);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 16px rgba(255, 123, 0, 0.35);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 40;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(255, 123, 0, 0.5);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
    display: flex !important;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(45, 27, 0, 0.85);
    backdrop-filter: blur(16px);
}

.lightbox-image-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: transform 0.5s ease;
}

.lightbox-modal.active .lightbox-image-container {
    transform: scale(1);
}

.lightbox-modal img {
    max-height: 85vh;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox-modal img.loaded {
    opacity: 1 !important;
}

.lightbox-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    z-index: 10;
}

.lightbox-btn:hover {
    background: var(--primary);
    color: var(--white);
}

#lightbox-close {
    top: 1rem;
    right: 1rem;
}

#lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

#lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

body.lightbox-open {
    overflow: hidden !important;
}

/* ============================================
   COMMUNITY RESERVE — PREMIUM LIGHT
   ============================================ */
.cr-hero {
    background: linear-gradient(160deg, #FFF4DF 0%, #FFCD90 50%, #FFF4DF 100%);
    padding: clamp(4rem, 8vw, 7rem) 0;
    position: relative;
    overflow: hidden;
}

/* Floating Particles */
.cr-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cr-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: crFloat 8s ease-in-out infinite;
}

.cr-particles span:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.cr-particles span:nth-child(2) {
    left: 25%;
    top: 60%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.cr-particles span:nth-child(3) {
    left: 50%;
    top: 15%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.cr-particles span:nth-child(4) {
    left: 70%;
    top: 70%;
    animation-delay: 0.5s;
    animation-duration: 10s;
}

.cr-particles span:nth-child(5) {
    left: 85%;
    top: 30%;
    animation-delay: 3s;
    animation-duration: 7.5s;
}

.cr-particles span:nth-child(6) {
    left: 40%;
    top: 80%;
    animation-delay: 1.5s;
    animation-duration: 9.5s;
}

.cr-particles span:nth-child(7) {
    left: 90%;
    top: 55%;
    animation-delay: 4s;
    animation-duration: 8.5s;
}

.cr-particles span:nth-child(8) {
    left: 5%;
    top: 45%;
    animation-delay: 2.5s;
    animation-duration: 11s;
}

@keyframes crFloat {

    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    25% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.2;
        transform: translateY(-80px) scale(1);
    }

    75% {
        opacity: 0.3;
    }
}

/* Grid Layout */
.cr-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Image Column */
.cr-image-col {
    position: relative;
}

.cr-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 123, 0, 0.18), 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 3px solid #fff;
    transition: all 0.5s ease;
}

.cr-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(255, 123, 0, 0.25), 0 8px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.cr-image-wrapper img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cr-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Floating Badge on Image */
.cr-image-badge {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.25rem;
    text-align: center;
    animation: badgePulse 3s ease-in-out infinite;
}

.cr-badge-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.cr-badge-text {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.2rem;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 123, 0, 0.15);
    }

    50% {
        box-shadow: 0 8px 40px rgba(255, 123, 0, 0.3);
    }
}

/* Text Column */
.cr-text-col {
    color: var(--text-dark);
}

.cr-hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.cr-hero-title span {
    color: var(--primary);
}

.cr-hero-subtitle {
    font-size: clamp(0.95rem, 1.2vw + 0.3rem, 1.1rem);
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cr-hero-subtitle strong {
    color: var(--primary);
    font-weight: 700;
}

/* Stats Row */
.cr-stats-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 123, 0, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 16px rgba(255, 123, 0, 0.08);
}

.cr-stat {
    flex: 1;
    text-align: center;
}

.cr-stat-value {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.cr-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.35rem;
}

.cr-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 123, 0, 0.15);
    flex-shrink: 0;
}

/* Progress Bar */
.cr-progress-section {
    margin-bottom: 1.5rem;
}

.cr-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.cr-progress-pct {
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
    background: rgba(255, 123, 0, 0.1);
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

.cr-progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 123, 0, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.cr-progress-fill {
    height: 100%;
    width: 0;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    background-size: 200% 100%;
    animation: barShimmer 2s ease infinite;
    transition: width 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
    min-width: 20px;
    position: relative;
}

.cr-progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 123, 0, 0.6);
}

@keyframes barShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Description */
.cr-hero-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Badges */
.cr-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cr-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 123, 0, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-body);
    transition: all 0.3s ease;
}

.cr-hero-badge:hover {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 123, 0, 0.15);
}

/* ============================================
   PARTNERS & INVESTORS — LIGHT MARQUEE
   ============================================ */
.partners-section {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

/* Marquee Container */
.partners-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
}

/* Fade edges */
.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-alt), transparent);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-alt), transparent);
}

/* Sliding Track */
.partners-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: partnersSlide 20s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes partnersSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Individual Partner Item */
.partner-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-full);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    cursor: default;
}

.partner-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(255, 123, 0, 0.12);
    transform: translateY(-2px);
    color: var(--primary);
}

/* Orange dot accent */
.partner-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(255, 123, 0, 0.3);
}

/* Partner Logo Items */
.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    cursor: default;
    flex-shrink: 0;
}

.partner-logo-item img {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-logo-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(255, 123, 0, 0.12);
    transform: translateY(-2px);
}

.partner-logo-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ============================================
   LOCATIONS SECTION
   ============================================ */
.locations-section {
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.location-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.location-item:hover {
    transform: translateY(-5px);
}

.location-item img {
    height: 110px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    mix-blend-mode: multiply;
}

/* ============================================
   ECOSYSTEM SECTION
   ============================================ */
.ecosystem-section {
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.eco-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.eco-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.eco-card:hover::before {
    transform: scaleX(1);
}

.eco-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 123, 0, 0.15);
    border-color: rgba(255, 123, 0, 0.3);
}

.eco-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.12), rgba(255, 167, 82, 0.08));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 123, 0, 0.15);
}

.eco-card:hover .eco-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    box-shadow: 0 8px 32px rgba(255, 123, 0, 0.3);
}

.eco-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.eco-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.eco-card-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 18px;
    background: rgba(255, 123, 0, 0.06);
    border: 1px solid rgba(255, 123, 0, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.eco-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.eco-card-link:hover {
    gap: 0.7rem;
    text-decoration: none;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
.why-section {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.why-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--radius);
    background: var(--bg-alt);
    border: 1px solid transparent;
    transition: all 0.4s ease;
    position: relative;
}

.why-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 123, 0, 0.2);
    box-shadow: 0 12px 40px rgba(255, 123, 0, 0.1);
    background: var(--white);
}

.why-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.1), rgba(255, 205, 144, 0.2));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.why-item:hover .why-icon {
    background: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(255, 123, 0, 0.3);
}

.why-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.why-item p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   STAKING SECTION (STANDALONE)
   ============================================ */
.staking-section {
    background: linear-gradient(160deg, #2D1B00 0%, #1a1000 40%, #2D1B00 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
}

.staking-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 123, 0, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.staking-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 167, 82, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ============================================
   STAKING HIGHLIGHT BLOCK (INLINE DARK CARD)
   ============================================ */
.staking-highlight-block {
    background: linear-gradient(160deg, #2D1B00 0%, #1a1000 40%, #2D1B00 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: var(--radius);
    padding: clamp(3rem, 5vw, 5rem) 2rem;
    margin-top: 1rem;
}

.staking-highlight-block::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 123, 0, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.staking-highlight-block::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 167, 82, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}




.staking-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.staking-content h2,
.staking-content h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.staking-content>p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

.staking-multipliers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.staking-badge {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.15), rgba(255, 123, 0, 0.05));
    border: 2px solid rgba(255, 123, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.staking-badge::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.4), transparent, rgba(255, 167, 82, 0.3)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.staking-badge:hover::after {
    opacity: 1;
}

.staking-badge:hover {
    transform: scale(1.1);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(255, 123, 0, 0.25);
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.25), rgba(255, 123, 0, 0.1));
}

.staking-badge .multiplier {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.staking-badge .multiplier-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.4rem;
}

.staking-quote {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-top: 1.5rem;
}

/* ============================================
   ACCOLADES BADGES
   ============================================ */
.accolades-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.accolade-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.08), rgba(255, 205, 144, 0.12));
    border: 1.5px solid rgba(255, 123, 0, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    animation: accoladePulse 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.accolade-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 123, 0, 0.18);
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.15), rgba(255, 205, 144, 0.2));
}

.accolade-badge .accolade-icon {
    font-size: 1.2rem;
}

@keyframes accoladePulse {

    0%,
    100% {
        box-shadow: 0 2px 12px rgba(255, 123, 0, 0.08);
    }

    50% {
        box-shadow: 0 4px 20px rgba(255, 123, 0, 0.18);
    }
}

/* ============================================
   FOOTER SOCIAL LINKS
   ============================================ */
.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer .footer-socials {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .footer .footer-socials {
        justify-content: center;
    }
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 123, 0, 0.08);
    border: 1px solid rgba(255, 123, 0, 0.12);
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 123, 0, 0.3);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2rem;
    }

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

    .gallery-masonry {
        columns: 2;
    }

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

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 4rem;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-cards {
        height: 350px;
        margin-top: 1rem;
    }

    .float-card {
        min-width: 140px;
        padding: 1rem;
    }

    .float-card:nth-child(1) {
        top: 0;
        left: 5%;
    }

    .float-card:nth-child(2) {
        top: 0;
        right: 5%;
    }

    .float-card:nth-child(3) {
        bottom: 5%;
        left: 0;
    }

    .float-card:nth-child(4) {
        bottom: 5%;
        right: 0;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .gallery-masonry {
        columns: 2;
    }

    .albums-grid {
        grid-template-columns: 1fr;
    }

    .album-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cr-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

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

    .staking-multipliers {
        gap: 1.5rem;
    }

    .staking-badge {
        width: 110px;
        height: 110px;
    }

    .staking-badge .multiplier {
        font-size: 1.5rem;
    }

    .cr-image-wrapper img {
        height: 280px;
    }

    .cr-stats-row {
        gap: 1rem;
        padding: 1rem;
    }

    .cr-hero-badges {
        justify-content: center;
    }

    .lightbox-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-cards {
        height: 280px;
    }

    .float-card {
        min-width: 110px;
        padding: 0.75rem;
    }

    .cr-hero-title {
        font-size: 1.5rem;
    }

    .cr-image-wrapper img {
        height: 220px;
    }

    .cr-stats-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cr-stat-divider {
        width: 60px;
        height: 1px;
    }

    .float-card .card-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
        width: 100%;
    }

    .gallery-masonry {
        columns: 2;
        column-gap: 0.5rem;
    }

    .gallery-item {
        margin-bottom: 0.5rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 360px) {
    .float-card p {
        display: none;
    }

    .float-card {
        min-width: 90px;
    }
}

/* ---- Page transition ---- */
body {
    animation: pageIn 0.5s ease;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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