/* ==========================================================================
   LIMITSİZ BİLGİ - UNDERWATER DESIGN STYLE GUIDE
   ========================================================================== */
:root {
    --bg-dark-abyss: #01050d;
    --bg-dark-deep: #020c1b;
    --bg-dark-mid: #051630;
    
    --accent-cyan: #00f0ff;
    --accent-blue: #0072ff;
    --accent-purple: #7f00ff;
    --accent-coral: #ff5e62;
    --accent-gold: #ffb703;
    
    --text-white: #ffffff;
    --text-silver: #a0c0e0;
    --text-muted: rgba(160, 192, 224, 0.6);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --glass-bg: rgba(5, 22, 48, 0.45);
    --glass-border: rgba(0, 240, 255, 0.2);
    --glass-glow: rgba(0, 240, 255, 0.12);
    
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.25s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark-abyss);
}

body {
    font-family: var(--font-body);
    color: var(--text-silver);
    background-color: var(--bg-dark-abyss);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-abyss);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* ==========================================================================
   BACKGROUND EFFECTS (LIGHT RAYS, CURSOR GLOW, BUBBLES)
   ========================================================================== */
.ocean-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: transparent;
    overflow: hidden;
    z-index: 5;
}

/* Fallback Background Image */
.fallback-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(2, 12, 27, 0.45) 0%, var(--bg-dark-abyss) 85%);
    z-index: 1;
    pointer-events: none;
}

/* Loop Video Background */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 2;
    opacity: 0.65;
    filter: saturate(1.1) brightness(0.95);
    object-position: center top; /* Start showing the top of the video content */
}

/* Gradient Overlay to tint background */
.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(2, 12, 27, 0.35) 0%, rgba(1, 5, 13, 0.85) 90%);
    z-index: 3;
    pointer-events: none;
}

/* Ambient Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.09) 0%, rgba(0, 114, 255, 0.04) 50%, transparent 70%);
    pointer-events: none;
    z-index: 10;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    mix-blend-mode: screen;
}

/* Shimmering Overlay Light Rays */
.light-rays {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(105deg, transparent 35%, rgba(0, 240, 255, 0.07) 45%, rgba(0, 240, 255, 0.12) 50%, rgba(0, 240, 255, 0.07) 55%, transparent 65%),
        linear-gradient(75deg, transparent 30%, rgba(0, 240, 255, 0.09) 40%, rgba(0, 240, 255, 0.14) 48%, rgba(0, 240, 255, 0.09) 56%, transparent 66%);
    background-size: 200% 100%;
    pointer-events: none;
    z-index: 1;
    animation: waveRays 22s ease-in-out infinite alternate;
    mix-blend-mode: screen;
}

@keyframes waveRays {
    0% { background-position: 0% 0%; opacity: 0.6; }
    100% { background-position: 100% 0%; opacity: 1.1; }
}

/* Bubbles Container */
.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.bubble {
    position: absolute;
    bottom: -50px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45) 0%, rgba(0, 240, 255, 0.12) 70%, transparent 100%);
    border-radius: 50%;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.5), 0 0 8px rgba(0, 240, 255, 0.25);
    pointer-events: none;
    animation: floatUp 12s linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-110vh) translateX(100px) scale(1.2);
        opacity: 0;
    }
}



/* ==========================================================================
   COMMON UTILITIES & LAYOUTS
   ========================================================================== */
.section {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px;
    z-index: 5;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 60px;
}

.hero-content {
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Logo Styling */
.logo-wrapper {
    margin: 0 auto 35px auto;
    max-width: 800px;
    width: 100%;
}

.isa-logo-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.55)) brightness(1.1);
    transition: var(--transition-smooth);
}

.isa-logo-img:hover {
    filter: drop-shadow(0 0 35px rgba(0, 240, 255, 0.85)) brightness(1.2);
    transform: scale(1.02);
}

.hero-team-tag {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.4em;
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.hero-author-box {
    margin-bottom: 50px;
}

.hero-author-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 0.25em;
    color: var(--text-white);
    margin-bottom: 5px;
}

.hero-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* Scroll Down Link */
.scroll-down-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.05);
}

.scroll-down-btn:hover {
    color: var(--bg-dark-abyss);
    background: var(--accent-cyan);
    box-shadow: 0 0 25px var(--accent-cyan);
    transform: translateY(8px);
}

/* Floating Jellyfish element */
.floating-jellyfish {
    position: absolute;
    right: 5%;
    top: 25%;
    width: 320px;
    height: 480px;
    pointer-events: none;
    z-index: 3;
    animation: jellyfishFloat 12s ease-in-out infinite alternate;
}

.jellyfish-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 120px 120px 80px 80px;
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.45)) brightness(1.2) contrast(1.1);
    opacity: 0.85;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.jellyfish-glow-effect {
    position: absolute;
    top: 15%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.4) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
    animation: jellyfishGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes jellyfishFloat {
    0% { transform: translateY(0px) rotate(-2deg); }
    100% { transform: translateY(-40px) rotate(3deg); }
}

@keyframes jellyfishGlowPulse {
    0% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1.1; transform: scale(1.1); }
}

/* ==========================================================================
   2. QUICK FEATURES / RULES SECTION
   ========================================================================== */
.rules-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-tag-container {
    display: flex;
    gap: 12px;
    margin-bottom: 45px;
}

.small-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-silver);
}

.small-tag.filled {
    background: var(--text-white);
    color: var(--bg-dark-abyss);
    border-color: var(--text-white);
}

/* Glassmorphism Carousel */
.glass-carousel-container {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin-bottom: 30px;
    perspective: 1000px;
}

.glass-carousel {
    display: flex;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 50px 30px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 
        0 20px 50px rgba(0, 5, 13, 0.8),
        inset 0 0 20px rgba(0, 240, 255, 0.08);
    position: relative;
    z-index: 5;
    overflow: hidden;
}

/* Card glass reflections */
.glass-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.glass-carousel-container:hover .glass-carousel::before {
    left: 120%;
}

.rule-card {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    transition: var(--transition-smooth);
}

.rule-card:hover {
    transform: translateY(-8px);
}

.rule-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.rule-card:hover .rule-number {
    color: var(--accent-cyan);
    text-shadow: 0 0 25px var(--accent-cyan);
}

.rule-title-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.rule-text {
    font-size: 0.9rem;
    color: var(--text-silver);
    opacity: 0.85;
    line-height: 1.5;
}

.rule-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 240, 255, 0.25), transparent);
}

/* Secondary glow element behind carousel */
.reflection-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

.rules-bottom-meta {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ==========================================================================
   3. CREATIVE SPACE SECTION
   ========================================================================== */
.space-section {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 60px;
    align-items: center;
    background: transparent;
}

.space-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.space-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 20px;
}

.space-subtitle {
    font-size: 1rem;
    color: var(--text-silver);
    margin-bottom: 40px;
    max-width: 320px;
}

/* Glowing Button */
.glow-btn {
    position: relative;
    display: inline-block;
    padding: 16px 36px;
    border-radius: 40px;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    overflow: hidden;
    transition: var(--transition-smooth);
    background: var(--glass-bg);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.glow-btn:hover {
    color: var(--bg-dark-abyss);
    box-shadow: 0 0 35px var(--accent-cyan);
    transform: translateY(-3px);
}

.glow-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Species Grid */
.species-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}

.species-card {
    position: relative;
    height: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.card-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1) saturate(0.8);
    transition: var(--transition-smooth);
}

.species-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(1, 5, 13, 0.1) 0%, rgba(1, 5, 13, 0.8) 85%);
    z-index: 2;
    transition: var(--transition-smooth);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    transition: var(--transition-smooth);
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

.card-desc {
    font-size: 0.82rem;
    color: var(--text-silver);
    opacity: 0.7;
    margin-bottom: 20px;
    transform: translateY(15px);
    opacity: 0;
    transition: var(--transition-smooth);
    line-height: 1.4;
}

.card-num {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-cyan);
    opacity: 0.5;
}

/* Card Hover States */
.species-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.25);
}

.species-card:hover .card-img {
    transform: scale(1.12) rotate(1deg);
    filter: brightness(0.85) contrast(1.15) saturate(1.1);
}

.species-card:hover::after {
    background: linear-gradient(to bottom, rgba(1, 5, 13, 0.2) 0%, rgba(0, 114, 255, 0.55) 100%);
}

.species-card:hover .card-desc {
    transform: translateY(0);
    opacity: 1;
}

.species-card:hover .card-title {
    transform: translateY(-5px);
    text-shadow: 0 0 15px var(--text-white);
}

/* ==========================================================================
   4. TEAM & ADMINISTRATION SECTION
   ========================================================================== */
.team-section {
    display: flex;
    flex-direction: column;
}

.team-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px 30px;
    border-radius: 24px;
    transition: var(--transition-smooth);
    background: transparent;
}

/* Highlight founder card */
.team-member.featured {
    background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.05) 0%, rgba(0, 240, 255, 0.02) 50%, transparent 75%);
    transform: scale(1.05);
}

.avatar-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: var(--transition-smooth);
    filter: brightness(0.95);
}

/* Glass icon wrapper for abstract cards */
.avatar-icon-wrap {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.1);
    transition: var(--transition-smooth);
}

.avatar-custom-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
    transition: var(--transition-smooth);
}

.avatar-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    opacity: 0.3;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.team-member:hover .avatar-ring {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-cyan);
}

.team-member:hover .avatar-img {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.team-member:hover .avatar-icon-wrap {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: inset 0 0 25px rgba(0, 240, 255, 0.2);
}

.team-member:hover .avatar-custom-icon {
    transform: scale(1.1);
    color: var(--text-white);
    filter: drop-shadow(0 0 12px var(--accent-cyan));
}

.member-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--text-white);
    margin-bottom: 6px;
}

.member-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.member-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--accent-cyan);
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
    transition: var(--transition-fast);
}

.member-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent-cyan);
    transition: var(--transition-fast);
}

.member-link:hover {
    color: var(--text-white);
}

.member-link:hover::after {
    width: 100%;
}

/* ==========================================================================
   5. CONTACT & FOOTER SECTION
   ========================================================================== */
.footer-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding-bottom: 40px;
    overflow: hidden;
    background: transparent;
}

/* Glowing coral seabed backdrop */
.footer-bg-coral {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background-image: url('https://images.unsplash.com/photo-1546026423-cc4642628d2b?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.2;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
    mask-image: linear-gradient(to top, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 30%, transparent 100%);
}

.footer-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: auto 0;
}

.footer-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4rem;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-title .accent {
    color: var(--accent-cyan);
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.footer-desc {
    font-size: 1.05rem;
    color: var(--text-silver);
    opacity: 0.8;
    max-width: 780px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.footer-desc p {
    margin-bottom: 18px;
}

.footer-desc p:last-child {
    margin-bottom: 0;
}

/* Glassmorphic Contact Box */
.quick-contact-panel {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-white);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 5, 13, 0.3);
    transition: var(--transition-smooth);
}

.contact-item:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 5px 25px rgba(0, 240, 255, 0.15);
    transform: translateY(-2px);
}

.contact-item .icon {
    color: var(--accent-cyan);
}

/* Alphabet Panel styles */
.alphabet-panel {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.alphabet-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-white);
    text-decoration: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 5, 13, 0.2);
    transition: var(--transition-smooth);
    font-weight: 600;
}

.alphabet-item:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
    transform: translateY(-3px);
}



/* Bottom Bar */
.bottom-bar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: var(--accent-cyan);
    transform: translateY(-3px);
    filter: drop-shadow(0 0 8px var(--accent-cyan));
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .space-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .space-intro {
        align-items: center;
        text-align: center;
    }
    
    .space-subtitle {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .species-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 20px;
    }
    
    .floating-jellyfish {
        width: 220px;
        height: 330px;
        top: 35%;
        right: 2%;
    }
    
    .glass-carousel {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
    }
    
    .rule-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(0, 240, 255, 0.25), transparent);
    }
    
    .species-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }
    
    .species-card {
        height: 320px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .team-member.featured {
        transform: scale(1);
    }
    
    .footer-title {
        font-size: 3rem;
    }
    
    .bottom-bar {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .hero-team-tag {
        font-size: 0.95rem;
        letter-spacing: 0.25em;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .floating-jellyfish {
        display: none;
    }

    .hero-team-tag {
        font-size: clamp(0.6rem, 3.6vw, 0.8rem);
        letter-spacing: 0.15em;
        white-space: nowrap;
    }

    .footer-title {
        font-size: 2.2rem;
    }

    .alphabet-panel {
        gap: 6px;
        margin-bottom: 30px;
    }

    .alphabet-item {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .modal-content.glass-card {
        padding: 25px 20px;
        border-radius: 20px;
        max-height: 85vh;
    }

    .modal-body h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .modal-body h3 {
        font-size: 1.1rem;
        margin-top: 20px;
    }

    .modal-body p {
        font-size: 0.88rem;
    }

    .species-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}

/* ==========================================================================
   8. PRIVACY POLICY MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 5, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content.glass-card {
    background: rgba(5, 22, 48, 0.85);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 240, 255, 0.15);
    border-radius: 24px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    transform: translateY(-30px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.active .modal-content.glass-card {
    transform: translateY(0);
}

/* Scrollbar for modal content */
.modal-content.glass-card::-webkit-scrollbar {
    width: 6px;
}
.modal-content.glass-card::-webkit-scrollbar-track {
    background: rgba(1, 5, 13, 0.1);
}
.modal-content.glass-card::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.2);
    border-radius: 3px;
}
.modal-content.glass-card::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-silver);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.modal-close-btn:hover {
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.1);
}

.modal-body h2 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.25);
    padding-bottom: 12px;
}

.modal-body h3 {
    font-family: var(--font-heading);
    color: var(--accent-cyan);
    font-size: 1.25rem;
    margin-top: 25px;
    margin-bottom: 12px;
}

.modal-body p {
    font-size: 0.95rem;
    color: var(--text-silver);
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-body a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-fast);
}

.modal-body a:hover {
    text-decoration: underline;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 8px;
    transition: var(--transition-fast);
    font-weight: 500;
}

.footer-link:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}
