/* ============================================
   CEG SPARTANZ - REFINED STYLESHEET
   ============================================ */

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

:root {
    --primary: #ff6b00;
    --primary-dark: #cc5500;
    --secondary: #ff9500;
    --accent: #ffcc00;
    --gradient-start: #1a0a00;
    --gradient-end: #3d1a00;
    --bg-dark: #0d0500;
    --glass-bg: rgba(255, 107, 0, 0.06);
    --glass-border: rgba(255, 107, 0, 0.12);
    --text-primary: #fff5eb;
    --text-secondary: #ffd5b3;
    --shadow-glow: 0 0 60px rgba(255, 107, 0, 0.06);
    --card-height: 520px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    min-height: 100vh;
}

::selection {
    background: var(--primary);
    color: #fff;
}

::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* ===== AMBIENT BACKGROUND ===== */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 20s ease-in-out infinite;
}
.glow-orb:nth-child(1) {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.06), transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}
.glow-orb:nth-child(2) {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 150, 0, 0.04), transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}
.glow-orb:nth-child(3) {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.03), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -40px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(40px, 30px) scale(1.05);
    }
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.2;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-10vh) scale(1) rotate(720deg);
        opacity: 0;
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(13, 5, 0, 0.82);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 107, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 10px 24px;
    background: rgba(13, 5, 0, 0.94);
    border-bottom-color: rgba(255, 107, 0, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo img {
    height: 44px;
    width: auto;
    max-width: 60px;
    border-radius: 10px;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.nav-logo:hover img {
    transform: rotate(-6deg) scale(1.05);
}

.nav-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    line-height: 1.2;
}
.nav-logo-text span {
    font-weight: 400;
    font-size: 10px;
    display: block;
    -webkit-text-fill-color: var(--text-secondary);
    color: var(--text-secondary);
    letter-spacing: 2px;
    opacity: 0.5;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    position: relative;
}
.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.nav-links a:hover::before,
.nav-links a.active::before {
    opacity: 1;
}
.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: var(--glass-bg);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 60px;
    background: linear-gradient(180deg, rgba(13, 5, 0, 0.85) 0%, rgba(26, 10, 0, 0.6) 100%);
}

.hero-badge {
    display: inline-block;
    padding: 6px 24px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--secondary);
    text-transform: uppercase;
    background: var(--glass-bg);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
    backdrop-filter: blur(10px);
}

.hero-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    border: 2px solid rgba(255, 107, 0, 0.15);
    box-shadow: 0 0 80px rgba(255, 107, 0, 0.06);
    animation: floatLogo 6s ease-in-out infinite;
    overflow: hidden;
    padding: 12px;
}
.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

@keyframes floatLogo {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff5eb 0%, var(--secondary) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.2s both;
    letter-spacing: 2px;
}

.hero .tagline {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 10px;
    letter-spacing: 10px;
    animation: fadeInUp 0.8s ease 0.4s both;
    text-transform: uppercase;
}
.hero .tagline span {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.hero p {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    max-width: 700px;
    margin: 20px auto 30px;
    color: var(--text-secondary);
    line-height: 1.9;
    animation: fadeInUp 0.8s ease 0.6s both;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn-primary {
    padding: 14px 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 50px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 30px rgba(255, 107, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 50px rgba(255, 107, 0, 0.25);
}

.btn-secondary {
    padding: 14px 44px;
    background: transparent;
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.social-hero {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease 1s both;
}
.social-hero a {
    color: var(--text-secondary);
    font-size: 22px;
    transition: all 0.4s ease;
    opacity: 0.3;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid transparent;
}
.social-hero a:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateY(-4px);
    border-color: var(--glass-border);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 3px;
    opacity: 0.3;
    animation: bounceDown 2s ease-in-out infinite;
}
.scroll-indicator i {
    font-size: 20px;
}

@keyframes bounceDown {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECTION COMMON ===== */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(40px);
    animation: headerReveal 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

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

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
    border-radius: 10px;
    margin: 0 auto 20px;
    animation: dividerPulse 3s ease-in-out infinite;
}

@keyframes dividerPulse {
    0%,
    100% {
        width: 80px;
        opacity: 0.6;
    }
    50% {
        width: 120px;
        opacity: 1;
    }
}

.section-header .subtitle {
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.6;
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fff 30%, var(--secondary) 70%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}
.section-header h2 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 15px auto 0;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.6;
}

/* ============================================
   SPLASH OVERLAY - REFINED
   ============================================ */
.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.splash-overlay.hidden {
    opacity: 0;
    transform: scale(1.2);
    pointer-events: none;
}

.splash-content {
    text-align: center;
    animation: splashPulse 2s ease-in-out infinite;
}

@keyframes splashPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.splash-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 107, 0, 0.2);
    box-shadow: 0 0 60px rgba(255, 107, 0, 0.15);
}
.splash-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    background: var(--gradient-start);
}

.splash-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 30%, var(--secondary) 70%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
}

.splash-tagline {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 8px;
    margin-top: 4px;
    opacity: 0.5;
}
.splash-tagline span {
    color: var(--primary);
}

.splash-loader {
    width: 200px;
    height: 3px;
    background: var(--glass-border);
    border-radius: 10px;
    margin: 30px auto 12px;
    overflow: hidden;
}

.splash-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 10px;
    animation: splashLoad 2.5s ease-in-out forwards;
}

@keyframes splashLoad {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.splash-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.3;
    letter-spacing: 3px;
    font-weight: 300;
}

/* ============================================
   DIARY CARDS - SPLASH FROM INSIDE SCREEN
   ============================================ */
.diary-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    perspective: 1500px;
    padding: 10px;
    position: relative;
}

.diary-card {
    width: 100%;
    height: var(--card-height);
    perspective: 1200px;
    opacity: 0;
}

/* SPLASH FROM INSIDE SCREEN ANIMATION */
.diary-card.splash-in {
    animation: splashIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes splashIn {
    0% {
        opacity: 0;
        transform: scale(0.1) rotateY(180deg) translateZ(-500px);
        filter: blur(20px) brightness(3);
    }
    30% {
        opacity: 0.5;
        transform: scale(0.6) rotateY(90deg) translateZ(-200px);
        filter: blur(10px) brightness(2);
    }
    60% {
        opacity: 0.9;
        transform: scale(1.1) rotateY(10deg) translateZ(50px);
        filter: blur(2px) brightness(1.2);
    }
    80% {
        opacity: 1;
        transform: scale(0.98) rotateY(-3deg) translateZ(-10px);
        filter: blur(0) brightness(1);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg) translateZ(0);
        filter: blur(0) brightness(1);
    }
}

/* RACE CAR FLASH - when switching cards */
.diary-card.race-flash {
    animation: raceFlash 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes raceFlash {
    0% {
        opacity: 0;
        transform: scale(0.3) rotateY(180deg) translateX(-100px);
        filter: blur(12px) brightness(2.5);
    }
    40% {
        opacity: 0.7;
        transform: scale(1.05) rotateY(20deg) translateX(20px);
        filter: blur(3px) brightness(1.5);
    }
    70% {
        opacity: 1;
        transform: scale(0.98) rotateY(-5deg) translateX(-8px);
        filter: blur(0) brightness(1);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg) translateX(0);
        filter: blur(0) brightness(1);
    }
}

.diary-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 24px;
}

.diary-card.flipped .diary-card-inner {
    transform: rotateY(180deg);
}

.diary-front,
.diary-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    background: linear-gradient(160deg, rgba(26, 10, 0, 0.92), rgba(61, 26, 0, 0.7));
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}

.diary-back {
    transform: rotateY(180deg);
    background: linear-gradient(160deg, rgba(61, 26, 0, 0.95), rgba(13, 5, 0, 0.98));
    border-color: var(--primary);
}

.diary-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.diary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.diary-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    opacity: 0.4;
    font-size: 14px;
    gap: 8px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.diary-image-placeholder i {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.5;
}

.diary-content {
    flex: 1;
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.diary-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.diary-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 16px;
}

.diary-flip-btn {
    padding: 10px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--text-secondary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
}

.diary-flip-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.2);
}

.back-btn {
    align-self: center;
    margin-top: 12px;
}

.diary-back-content {
    flex: 1;
    padding: 30px 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.diary-back-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.diary-back-details {
    width: 100%;
    margin-bottom: 16px;
}

.diary-back-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.diary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.diary-tags span {
    background: rgba(255, 107, 0, 0.08);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    color: var(--secondary);
    border: 1px solid rgba(255, 107, 0, 0.06);
}

.detail-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.detail-row:last-child {
    border-bottom: none;
}
.detail-row .label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    opacity: 0.4;
    min-width: 50px;
    text-align: right;
}
.detail-row .value {
    color: #fff;
    font-weight: 500;
    flex: 1;
    text-align: left;
}

/* ===== NAVIGATION ===== */
.diary-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
}

.diary-nav button {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 18px;
    backdrop-filter: blur(10px);
}

.diary-nav button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.diary-counter {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.4;
    font-weight: 600;
    letter-spacing: 2px;
    min-width: 70px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.diary-counter span {
    color: var(--primary);
    opacity: 0.8;
}

.diary-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.diary-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.diary-dots .dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 10px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glow);
    background: var(--gradient-start);
    aspect-ratio: 4/3;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.about-image:hover img {
    transform: scale(1.03);
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #fff;
}
.about-content h3 span {
    color: var(--primary);
}
.about-content p {
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0;
}

.stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 22px 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}
.stat-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}
.stat-item .number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
}
.stat-item .label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

.about-more {
    margin-top: 28px;
    padding: 28px;
    background: var(--glass-bg);
    border-radius: 18px;
    border: 1px solid var(--glass-border);
}
.about-more h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.about-more h4 i {
    color: var(--primary);
    margin-right: 10px;
}
.about-more p {
    margin-bottom: 0;
}

.join-btn {
    margin-top: 16px;
    display: inline-flex !important;
}

/* ============================================
   ACHIEVEMENTS
   ============================================ */
.achievement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.achieve-stat {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}
.achieve-stat:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}
.achieve-stat .num {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.achieve-stat .label {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-top: 8px;
}
.achieve-stat .desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.achieve-title {
    text-align: center;
    font-size: 1.6rem;
    color: #fff;
    margin: 40px 0 30px;
}
.achieve-title i {
    color: var(--primary);
    margin-right: 12px;
}

.achieve-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.achieve-item {
    display: flex;
    gap: 20px;
    padding: 20px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    transition: all 0.4s ease;
    align-items: flex-start;
}
.achieve-item:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}
.achieve-icon {
    font-size: 32px;
    color: var(--primary);
    flex-shrink: 0;
    width: 50px;
}
.achieve-content h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.achieve-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.achieve-quote {
    margin-top: 50px;
    padding: 30px 35px;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
}
.achieve-quote i {
    color: var(--primary);
    font-size: 2rem;
    opacity: 0.3;
}
.achieve-quote p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    font-weight: 300;
    font-style: italic;
    margin: 12px 0 8px;
    line-height: 1.6;
}
.achieve-quote span {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* ============================================
   JS GRID
   ============================================ */
.js-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.js-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 24px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}
.js-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary);
}
.js-card .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: 2px solid var(--glass-border);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.js-card .avatar-placeholder {
    font-size: 26px;
    color: var(--primary);
    opacity: 0.3;
}
.js-card h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}
.js-card .role {
    font-size: 0.75rem;
    color: var(--secondary);
    font-weight: 500;
}
.js-card .dept {
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.4;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #fff;
}
.contact-info h4 i {
    color: var(--primary);
    margin-right: 10px;
}
.contact-info p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.4s ease;
}
.contact-item:hover {
    border-color: var(--primary);
    transform: translateX(6px);
}
.contact-item .icon {
    font-size: 22px;
    color: var(--primary);
    width: 40px;
    flex-shrink: 0;
}
.contact-item .info {
    flex: 1;
}
.contact-item .info .label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}
.contact-item .info .value {
    font-weight: 600;
    color: #fff;
}
.contact-item .info .value a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-item .info .value a:hover {
    color: var(--primary);
}

.contact-quote {
    margin-top: 30px;
    padding: 24px;
    background: var(--glass-bg);
    border-radius: 18px;
    border: 1px solid var(--glass-border);
}
.contact-quote i {
    color: var(--primary);
    font-size: 1.4rem;
    opacity: 0.3;
}
.contact-quote p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.7;
    margin: 10px 0 6px;
}
.contact-quote span {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-form h4 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: #fff;
}
.contact-form h4 i {
    color: var(--primary);
    margin-right: 10px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.4s ease;
    outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.04);
}
.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.3;
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    justify-content: center;
}

.form-hint {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.5;
    text-align: center;
}
.form-hint i {
    color: var(--primary);
    margin-right: 8px;
}

/* ============================================
   JOIN CTA
   ============================================ */
.join-cta {
    text-align: center;
    margin-top: 50px;
    padding: 30px 28px;
    background: var(--glass-bg);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
.join-cta p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}
.join-cta p i {
    color: var(--primary);
    font-size: 1.3rem;
    margin-right: 10px;
}
.join-cta p strong {
    color: #fff;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px 28px;
    border-top: 1px solid var(--glass-border);
    background: rgba(13, 5, 0, 0.6);
    backdrop-filter: blur(20px);
    margin-top: 40px;
}

.footer .social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.footer .social a {
    color: var(--text-secondary);
    font-size: 18px;
    transition: all 0.4s ease;
    opacity: 0.2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid transparent;
}
.footer .social a:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateY(-4px);
    border-color: var(--primary);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.3;
    line-height: 1.8;
}
.footer p span {
    color: var(--primary);
    opacity: 1;
}
.footer-tagline {
    margin-top: 8px;
    font-size: 0.65rem !important;
    opacity: 0.1 !important;
    letter-spacing: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-image {
        order: -1;
        max-height: 300px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .diary-container {
        max-width: 400px;
    }
    :root {
        --card-height: 480px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(13, 5, 0, 0.97);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        padding: 40px 25px;
        gap: 6px;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--glass-border);
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links a {
        font-size: 17px;
        padding: 12px 18px;
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 80px 16px 40px;
    }

    .hero-logo {
        width: 150px;
        height: 150px;
    }
    .hero .tagline {
        letter-spacing: 6px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .stat-item {
        padding: 16px 12px;
    }
    .stat-item .number {
        font-size: 1.6rem;
    }

    .diary-container {
        max-width: 100%;
        padding: 0;
    }
    :root {
        --card-height: 460px;
    }
    .diary-image {
        height: 180px;
    }
    .diary-content {
        padding: 18px 20px 22px;
    }
    .diary-content h3 {
        font-size: 1.2rem;
    }
    .diary-back-content {
        padding: 22px 20px;
    }

    .js-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .achievement-stats {
        grid-template-columns: 1fr 1fr;
    }

    .splash-content h2 {
        font-size: 1.8rem;
    }
    .splash-logo {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero .tagline {
        font-size: 0.9rem;
        letter-spacing: 4px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 10px;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    .stat-item:last-child {
        grid-column: span 2;
    }

    .achievement-stats {
        grid-template-columns: 1fr 1fr;
    }

    :root {
        --card-height: 420px;
    }
    .diary-image {
        height: 150px;
    }
    .diary-content {
        padding: 16px 16px 18px;
    }
    .diary-content h3 {
        font-size: 1.05rem;
    }
    .diary-content p {
        font-size: 0.85rem;
    }
    .diary-flip-btn {
        font-size: 11px;
        padding: 8px 18px;
    }
    .diary-back-content {
        padding: 18px 16px;
    }
    .diary-back-content h3 {
        font-size: 1.1rem;
    }
    .diary-back-details p {
        font-size: 0.85rem;
    }
    .detail-row {
        font-size: 0.8rem;
    }
    .detail-row .label {
        font-size: 9px;
        min-width: 40px;
    }

    .diary-nav button {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .diary-counter {
        font-size: 12px;
        min-width: 60px;
    }
    .diary-dots .dot {
        width: 8px;
        height: 8px;
    }
    .diary-dots .dot.active {
        width: 24px;
    }

    .js-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .js-card {
        padding: 18px 14px;
    }
    .js-card .avatar {
        width: 50px;
        height: 50px;
    }
    .js-card .avatar-placeholder {
        font-size: 20px;
    }

    .contact-item {
        padding: 12px 14px;
    }
    .achieve-item {
        padding: 16px 18px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .achieve-icon {
        width: auto;
    }
    .join-cta {
        padding: 22px 18px;
    }
    .join-cta p {
        font-size: 0.9rem;
    }

    .splash-content h2 {
        font-size: 1.4rem;
    }
    .splash-logo {
        width: 70px;
        height: 70px;
    }
    .splash-tagline {
        font-size: 0.7rem;
        letter-spacing: 4px;
    }
    .splash-loader {
        width: 150px;
    }
.footer-credit {
    margin-top: 12px;
    font-size: 0.7rem !important;
    opacity: 0.4 !important;
    letter-spacing: 2px;
    color: var(--text-secondary);
    transition: opacity 0.3s ease;
}

.footer-credit:hover {
    opacity: 0.8 !important;
}

.footer-credit span {
    color: var(--primary);
    opacity: 1;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
}