:root {
    --ocean-dark: #0a2342;
    --ocean-blue: #1e5799;
    --ocean-teal: #2989d8;
    --ocean-light: #56ccf2;
    --coral-accent: #ff7b00;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-light: #ffffff;
    --sidebar-width: 220px;
    --right-sidebar-width: 280px;
    --icon-size: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('https://lionfish.neocities.org/lionfish%20bg.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ====== Skip Link ====== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--ocean-dark);
    color: white;
    padding: 8px;
    z-index: 1001;
    text-decoration: none;
    font-weight: bold;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--ocean-light);
}

/* ====== Header & Sidebars ====== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
}

.sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    height: 100%;
    position: fixed;
}

.left-sidebar {
    left: 0;
    width: var(--sidebar-width);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.right-sidebar {
    right: 0;
    width: var(--right-sidebar-width);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--ocean-teal) transparent;
}

.right-sidebar::-webkit-scrollbar { 
    width: 6px; 
}
.right-sidebar::-webkit-scrollbar-track { 
    background: transparent; 
}
.right-sidebar::-webkit-scrollbar-thumb {
    background: var(--ocean-teal);
    border-radius: 3px;
}

/* 🌟 PERFECT LOGO: Subtle ocean default → Reduced hover → FLASH on click */
.logo {
    margin-bottom: 2rem;
    width: 200px;
    height: 150px;
    background: none !important;
    padding: 0 !important;
    border: none !important;
    cursor: pointer;
    
    /* DEFAULT: Pure ocean blue glow (like nav buttons) */
    filter: 
        drop-shadow(0 0 8px rgba(86, 204, 242, 0.5))
        drop-shadow(0 0 16px rgba(41, 137, 216, 0.3));
    
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: logoFloatSubtle 8s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* HOVER: Reduced glow */
.logo:hover {
    filter: 
        drop-shadow(0 0 10px rgba(255, 123, 0, 0.8))
        drop-shadow(0 0 20px rgba(255, 123, 0, 0.6))
        drop-shadow(0 0 25px rgba(86, 204, 242, 0.7));
    transform: translateY(-5px) scale(1.02);
}

/* CLICK: FLASH + GROW + RIPPLE */
.logo:active {
    filter: 
        drop-shadow(0 0 5px rgba(255, 255, 255, 1))       /* White flash */
        drop-shadow(0 0 15px rgba(255, 123, 0, 1))         /* Coral burst */
        drop-shadow(0 0 30px rgba(86, 204, 242, 1))        /* Ocean burst */
        drop-shadow(0 0 60px rgba(255, 255, 255, 0.8));    /* White halo */
    transform: scale(1.15) translateY(-10px);
    transition: all 0.15s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* RIPPLE EFFECT */
.logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.logo:active::before {
    width: 300px;
    height: 300px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
    transition: all 0.4s ease;
}

.logo:hover img {
    filter: 
        drop-shadow(0 4px 16px rgba(255, 123, 0, 0.8))
        brightness(1.15)
        contrast(1.1);
}

@keyframes logoFloatSubtle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

/* Left Navigation */
.lionfish-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}

.nav-btn {
    display: inline-block;
    padding: 0.7rem 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

.nav-btn:hover,
.nav-btn.active {
    background: linear-gradient(180deg, var(--ocean-light) 0%, var(--ocean-teal) 100%);
    color: var(--ocean-dark);
    box-shadow: 0 4px 15px rgba(86, 204, 242, 0.5);
    transform: translateX(5px);
}

/* Right Social Navigation */
.social-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    padding-top: 1rem;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    padding: 1rem 0.5rem;
}

.social-btn:hover {
    background: linear-gradient(180deg, var(--ocean-light) 0%, var(--ocean-teal) 100%);
    color: var(--ocean-dark);
    box-shadow: 0 4px 15px rgba(86, 204, 242, 0.5);
    transform: translateY(-2px);
}

.social-btn img {
    width: var(--icon-size);
    height: var(--icon-size);
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.social-label {
    font-size: 0.75rem;
    text-align: center;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Focus States */
.nav-btn:focus, .social-btn:focus, .nav-btn:focus-visible, .social-btn:focus-visible {
    outline: 2px solid var(--ocean-light);
    outline-offset: 2px;
}

/* ====== Main Content ====== */
main {
    margin-left: 240px;
    margin-right: 300px;
    min-height: 100vh;
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
}

/* Content Sections */
.content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 4rem 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-section {
    background: linear-gradient(135deg, rgba(10, 35, 66, 0.8), rgba(30, 87, 153, 0.6));
    backdrop-filter: blur(10px);
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Intro Content */
.intro-content {
    max-width: 900px;
    text-align: center;
    width: 100%;
}

.lionfish-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--ocean-light), var(--coral-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(86, 204, 242, 0.5);
}

.welcome-header {
    margin-bottom: 3rem;
}

.welcome-text {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--ocean-light);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(86, 204, 242, 0.8);
    margin: 0;
}

.intro-text {
    margin-bottom: 3rem;
}

.intro-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.intro-text p:last-child {
    font-style: italic;
    font-size: 1.1rem;
}

.dedication {
    font-size: 1.3rem !important;
    color: var(--ocean-light) !important;
    font-weight: 600;
    margin-top: 2rem;
}

.intro-footer {
    margin-top: 3rem;
}

.year-text {
    color: var(--ocean-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    font-style: italic;
}

.intro-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--ocean-light), var(--ocean-teal));
    color: var(--ocean-dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(86, 204, 242, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(86, 204, 242, 0.6);
}

.cta-btn.secondary {
    background: linear-gradient(135deg, var(--coral-accent), #ff9a00);
    color: white;
}

.cta-btn.secondary:hover {
    box-shadow: 0 15px 40px rgba(255, 123, 0, 0.6);
}

/* Footer */
footer {
    margin-left: 240px;
    margin-right: 300px;
    padding: 2rem;
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
}

/* ====== MOBILE RESPONSIVE ====== */
@media (max-width: 1200px) {
    main, footer {
        margin-left: 260px;
        margin-right: 320px;
    }
}

@media (max-width: 992px) {
    .left-sidebar {
        width: 200px;
    }
    .right-sidebar {
        width: 240px;
    }
    main, footer {
        margin-left: 220px;
        margin-right: 260px;
    }
    
    .logo {
        width: 160px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .left-sidebar, .right-sidebar {
        display: none;
    }
    main, footer {
        margin-left: 2rem !important;
        margin-right: 2rem !important;
    }
    
    .logo {
        width: 140px;
        height: 105px;
    }
    
    .intro-text p {
        font-size: 1rem;
    }
    
    .intro-buttons {
        flex-direction: column;
        align-items: center;
    }
}