/* ========================================
   GREAT RACE VIETNAM — Landing Page CSS
   Premium Design System
   ======================================== */

/* === CSS Variables / Design Tokens === */
:root {
    --navy: #0d1321;
    --navy-light: #1a1f3c;
    --navy-mid: #141a30;
    --gold: #f4d03f;
    --gold-dark: #d4a017;
    --coral: #ff6b6b;
    --teal: #00d2d3;
    --purple: #a55eea;
    --green: #26de81;
    --blue-accent: #3498db;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #868e96;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 30px rgba(244, 208, 63, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--off-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Typography === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    box-shadow: 0 4px 15px rgba(244, 208, 63, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(244, 208, 63, 0.5);
}

.btn-outline-hero {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
    backdrop-filter: blur(4px);
}

.btn-outline-hero:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    border-color: var(--navy-light);
    color: var(--navy-light);
}

.btn-outline-dark:hover {
    background: var(--navy-light);
    color: var(--white);
}

.btn-outline-sm {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline-sm:hover {
    background: var(--gold);
    color: var(--navy);
}

.btn-ghost {
    background: transparent;
    color: var(--gold);
    padding-left: 0;
    padding-right: 0;
    border: none;
}

.btn-ghost:hover {
    color: var(--gold-dark);
    gap: 12px;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* ======================================
   HEADER
   ====================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(13, 19, 33, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo img {
    height: 52px;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 42px;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    display: flex;
    gap: 6px;
}

.lang-active {
    color: var(--gold);
    font-weight: 600;
}

.lang-divider {
    opacity: 0.4;
}

.btn-register-header {
    padding: 8px 24px;
    font-size: 0.8rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* ======================================
   HERO
   ====================================== */
.hero {
    min-height: 100vh;
    background: url('../assets/hero-bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(13, 19, 33, 0.5) 0%,
            rgba(13, 19, 33, 0.3) 40%,
            rgba(13, 19, 33, 0.7) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    bottom: -10px;
    background: rgba(244, 208, 63, 0.5);
    border-radius: 50%;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 0.5;
    }

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

.hero-content {
    position: relative;
    z-index: 3;
    padding: 100px 20px 40px;
}

.hero-logo {
    height: 140px;
    margin: 0 auto 24px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-line-1 {
    display: block;
    background: linear-gradient(135deg, var(--white), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

.hero-line-2 {
    display: block;
    color: var(--gold);
    font-size: 2.5rem;
    font-weight: 600;
    font-style: italic;
    -webkit-text-fill-color: var(--gold);
    animation: slideInRight 0.8s ease-out 0.5s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.03em;
    animation: fadeIn 1s ease-out 0.7s both;
}

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

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

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 48px;
    animation: fadeIn 1s ease-out 0.9s both;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
    display: block;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeIn 1s ease-out 1.1s both;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    animation: fadeIn 1s ease-out 1.5s both;
}

.hero-scroll span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.6;
    display: block;
    margin-bottom: 8px;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    margin: 0 auto;
    position: relative;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 4px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        top: 6px;
        opacity: 1;
    }

    50% {
        top: 22px;
        opacity: 0.3;
    }
}

/* ======================================
   SECTION HEADERS
   ====================================== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(244, 208, 63, 0.15), rgba(244, 208, 63, 0.08));
    color: var(--gold-dark);
    border: 1px solid rgba(244, 208, 63, 0.2);
}

.tag-upcoming {
    background: linear-gradient(135deg, rgba(0, 210, 211, 0.12), rgba(0, 210, 211, 0.06));
    color: var(--teal);
    border-color: rgba(0, 210, 211, 0.2);
}

.tag-news {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 107, 107, 0.06));
    color: var(--coral);
    border-color: rgba(255, 107, 107, 0.2);
}

.tag-blog {
    background: linear-gradient(135deg, rgba(165, 94, 234, 0.12), rgba(165, 94, 234, 0.06));
    color: var(--purple);
    border-color: rgba(165, 94, 234, 0.2);
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.section-header h2::after {
    display: none;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ======================================
   HIGHLIGHTS SECTION
   ====================================== */
.highlights {
    padding: 100px 0;
    background: var(--off-white);
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.highlight-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.highlight-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.highlight-featured {
    grid-row: span 2;
}

.highlight-featured .highlight-img {
    height: 340px;
}

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

.highlight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.highlight-card:hover .highlight-img img {
    transform: scale(1.06);
}

.highlight-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(13, 19, 33, 0.85);
    backdrop-filter: blur(10px);
    color: var(--gold);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-trail {
    color: var(--green);
}

.badge-beach {
    color: var(--teal);
}

.highlight-body {
    padding: 24px;
}

.highlight-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    color: var(--gray-600);
}

.highlight-meta i {
    margin-right: 4px;
    color: var(--gold-dark);
}

.highlight-body h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.highlight-body p {
    font-size: 0.92rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}

.highlight-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.highlight-tags span {
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
}

.highlight-location {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.highlight-location i {
    color: var(--coral);
    margin-right: 4px;
}

/* ======================================
   UPCOMING RACES
   ====================================== */
.upcoming {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--navy), var(--navy-mid));
    color: var(--white);
}

.upcoming .section-header h2 {
    color: var(--white);
}

.upcoming .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.upcoming-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.upcoming-card {
    display: flex;
    gap: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-30px);
}

.upcoming-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.upcoming-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(244, 208, 63, 0.2);
    box-shadow: var(--shadow-glow);
}

.upcoming-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(244, 208, 63, 0.15), rgba(244, 208, 63, 0.05));
    border-radius: var(--radius-md);
    border: 1px solid rgba(244, 208, 63, 0.2);
    text-align: center;
}

.date-month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
}

.date-day {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin: 4px 0;
}

.date-year {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.upcoming-content {
    flex: 1;
}

.upcoming-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.upcoming-header-row h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin: 0;
}

.upcoming-status {
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.status-open {
    background: rgba(38, 222, 129, 0.15);
    color: var(--green);
    border: 1px solid rgba(38, 222, 129, 0.3);
}

.status-early {
    background: rgba(0, 210, 211, 0.15);
    color: var(--teal);
    border: 1px solid rgba(0, 210, 211, 0.3);
}

.status-coming {
    background: rgba(244, 208, 63, 0.15);
    color: var(--gold);
    border: 1px solid rgba(244, 208, 63, 0.3);
}

.upcoming-content>p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 16px;
    line-height: 1.6;
}

.upcoming-info-row {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.upcoming-info-row i {
    color: var(--gold);
    margin-right: 6px;
}

.upcoming-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ======================================
   NEWS SECTION
   ====================================== */
.news-section {
    padding: 100px 0;
    background: var(--white);
}

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

.news-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.news-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.news-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.news-featured .news-img {
    height: 100%;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 14px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cat-training {
    background: var(--teal);
    color: var(--navy);
}

.cat-community {
    background: var(--purple);
    color: var(--white);
}

.cat-tips {
    background: var(--green);
    color: var(--navy);
}

.news-body {
    padding: 24px;
}

.news-date {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.news-body h3 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-featured .news-body h3 {
    font-size: 1.4rem;
}

.news-body p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 16px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold-dark);
}

.news-link:hover {
    gap: 10px;
    color: var(--navy);
}

.news-view-all {
    text-align: center;
    margin-top: 48px;
}

/* ======================================
   BLOG SECTION
   ====================================== */
.blog-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.blog-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    opacity: 0;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(244, 208, 63, 0.15), rgba(244, 208, 63, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold-dark);
    margin-bottom: 20px;
}

.icon-nutrition {
    background: linear-gradient(135deg, rgba(38, 222, 129, 0.15), rgba(38, 222, 129, 0.05));
    color: var(--green);
}

.icon-technique {
    background: linear-gradient(135deg, rgba(0, 210, 211, 0.15), rgba(0, 210, 211, 0.05));
    color: var(--teal);
}

.icon-recovery {
    background: linear-gradient(135deg, rgba(165, 94, 234, 0.15), rgba(165, 94, 234, 0.05));
    color: var(--purple);
}

.icon-mental {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(255, 107, 107, 0.05));
    color: var(--coral);
}

.icon-gear {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(52, 152, 219, 0.05));
    color: var(--blue-accent);
}

.blog-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.cat-nutrition {
    color: var(--green);
}

.cat-technique {
    color: var(--teal);
}

.cat-recovery {
    color: var(--purple);
}

.cat-mental {
    color: var(--coral);
}

.cat-gear {
    color: var(--blue-accent);
}

.blog-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-read-time {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.blog-read-time i {
    margin-right: 4px;
}

.blog-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-dark);
}

.blog-link:hover {
    color: var(--navy);
}

.blog-view-all {
    text-align: center;
    margin-top: 48px;
}

/* ======================================
   NEWSLETTER
   ====================================== */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 48px 56px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.newsletter-content h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 8px;
}

.newsletter-content h2::after {
    display: none;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 480px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 14px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 0.95rem;
    width: 280px;
    outline: none;
    transition: var(--transition);
    font-family: var(--font-body);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.newsletter-form input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

/* ======================================
   FOOTER
   ====================================== */
footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 340px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.footer-nav {
    display: flex;
    gap: 64px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-contact i {
    margin-right: 6px;
    color: var(--gold);
}

/* ======================================
   SCROLL TO TOP
   ====================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(244, 208, 63, 0.4);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(244, 208, 63, 0.6);
}

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .highlight-featured {
        grid-row: auto;
    }

    .highlight-featured .highlight-img {
        height: 260px;
    }

    .news-featured {
        grid-template-columns: 1fr;
    }

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

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-content p {
        max-width: none;
    }

    .newsletter-form {
        width: 100%;
    }

    .newsletter-form input {
        flex: 1;
    }

    .footer-top {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13, 19, 33, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .btn-register-header {
        display: none;
    }

    .lang-switch {
        display: none;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-line-2 {
        font-size: 1.6rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .highlights-grid,
    .news-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .news-featured {
        grid-column: auto;
    }

    .upcoming-card {
        flex-direction: column;
    }

    .upcoming-date-badge {
        flex-direction: row;
        gap: 10px;
        min-width: auto;
    }

    .footer-nav {
        flex-direction: column;
        gap: 32px;
    }

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

    .footer-contact {
        flex-direction: column;
        gap: 8px;
    }
}

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

    .hero-title {
        font-size: 2rem;
    }

    .hero-line-2 {
        font-size: 1.3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

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

    .upcoming-card {
        padding: 20px;
    }

    .blog-card {
        padding: 24px;
    }

    .newsletter-inner {
        padding: 32px 24px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }
}