:root {
    --aqua-bg-deep: #001524;
    --aqua-primary: #00b4d8;
    --aqua-bright: #00f0ff;
    --sea-blue: #0077b6;
    --deep-ocean: #002b49;
    --window-bg: rgba(255, 255, 255, 0.92);
    --window-border-light: #ffffff;
    --window-border-dark: #004066;
    --text-dark: #03045e;
    --y2k-pink: #ff70a6;
    --y2k-yellow: #ffd166;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Quicksand', sans-serif;
    color: var(--text-dark);
}

body {
    background: url('fundal-apa.JPG') center/cover fixed;
    background-color: var(--aqua-bg-deep);
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Background Layers */
.sky-header-area {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 350px;
    background: url('fundal.png') center/cover no-repeat;
    z-index: 0;
    pointer-events: none;

    .sky-seagull-anim {
        position: absolute;
        top: 40px;
        right: 10%;
        width: 95px;
        height: auto;
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
        animation: floatGull 5s ease-in-out infinite alternate;
    }
}

@keyframes floatGull {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(6px) rotate(-3deg); }
}

.sky-water-divider {
    position: absolute;
    top: 320px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #00b4d8 0%, #ff70a6 50%, #00f0ff 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid #002b49;
    box-shadow: 0 3px 12px rgba(0, 180, 216, 0.7);
    z-index: 1;
    pointer-events: none;
}

/* Layout Containers & Grid */
.y2k-desktop-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 860px;
    margin: 30px auto 40px auto;
    padding: 0 15px;
    flex: 1;
}

.y2k-grid-layout {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 20px;
}

/* Window Cards */
.y2k-window {
    background: var(--window-bg);
    border: 3px solid var(--aqua-primary);
    border-radius: 8px;
    box-shadow: 
        inset 1px 1px 0px var(--window-border-light),
        inset -1px -1px 0px var(--window-border-dark),
        4px 4px 0px rgba(0, 40, 80, 0.3);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;

    .window-titlebar {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 18px;
        padding: 2px 8px;
        background: linear-gradient(90deg, #0077b6 0%, #00b4d8 100%);
        border-bottom: 2px solid var(--aqua-primary);
        color: #ffffff;
        font-weight: bold;
        font-size: 0.8rem;
        user-select: none;

        &.alt-titlebar {
            background: linear-gradient(90deg, #0077b6 0%, #ff70a6 100%);
        }
    }

    .window-body {
        padding: 24px;
    }
}

/* Header Component */
.header-window {
    margin-bottom: 25px;

    .header-body {
        background: rgba(255, 255, 255, 0.88);
        padding: 25px 20px;
    }

    .header-banner {
        text-align: center;
    }

    .y2k-title {
        font-family: 'Press Start 2P', monospace;
        font-size: 2rem;
        color: var(--y2k-yellow);
        text-shadow: 2px 2px 0px #000;
        margin: 0 0 10px 0;
    }

    .header-subtitle {
        font-size: 1.15rem;
        font-weight: 600;
        color: #03045e;
        margin: 0;
    }
}

/* Content Elements & Typography */
.section-title {
    font-size: 1.3rem;
    color: #03045e;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 15px;
}

.star-icon, .seagull-heading-icon {
    width: 44px;
    height: auto;
    max-height: 44px;
    object-fit: contain;
    vertical-align: middle;
}

.intro-p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #03045e;
    margin-top: 0;
}

.partner-link {
    color: #ff70a6;
    text-decoration: none;
    font-weight: bold;

    &:hover {
        text-decoration: underline;
    }
}

/* Buttons */
.action-row {
    margin-top: 15px;
}

.music-button, .y2k-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #00b4d8;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    border-top: 2px solid #a2f3ff;
    border-left: 2px solid #a2f3ff;
    border-right: 2px solid #004066;
    border-bottom: 2px solid #004066;
    cursor: pointer;
    transition: background 0.2s;

    &:hover {
        background: #0077b6;
        color: #ffffff;
    }

    &:active {
        border-top: 2px solid #004066;
        border-left: 2px solid #004066;
        border-right: 2px solid #a2f3ff;
        border-bottom: 2px solid #a2f3ff;
        transform: translate(1px, 1px);
    }
}

/* Dolphin Swimming Marquee */
.background-dolphin-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 85px;
    margin: 20px 0 10px 0;
    overflow: hidden;

    .dolphin-hint {
        text-align: center;
        font-size: 0.85rem;
        color: #023e8a;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.85);
        padding: 4px 14px;
        border-radius: 4px;
        border: 1px solid var(--aqua-primary);
        width: fit-content;
        margin: 0 auto;
        backdrop-filter: blur(4px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .background-dolphin {
        position: absolute;
        top: 35px;
        width: 90px;
        height: 55px;
        animation: swimAcross 14s linear infinite;
        cursor: pointer;
        z-index: 10;
        display: block;

        .dolphin-anim { 
            width: 100%; 
            height: 100%; 
            object-fit: contain;
            filter: drop-shadow(0 4px 8px rgba(0, 40, 80, 0.4));
        }
    }
}

@keyframes swimAcross {
    0% { left: -100px; transform: scaleX(1); }
    49% { transform: scaleX(1); }
    50% { left: 105%; transform: scaleX(-1); }
    99% { transform: scaleX(-1); }
    100% { left: -100px; transform: scaleX(1); }
}

/* Sidebar Widgets & Badges */
.badges-body {
    padding: 12px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.retro-badge-88x31 {
    width: 88px;
    height: 31px;
    display: inline-block;
    border: 1px solid var(--aqua-primary);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;

    &:hover {
        transform: scale(1.08);
        box-shadow: 0 0 8px var(--aqua-bright);
    }
}

.showcase-turntable {
    width: 100px;
    height: auto;
    display: block;
    border: 1px solid var(--aqua-primary);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;

    &:hover {
        transform: scale(1.06) rotate(2deg);
    }
}

.social-links { 
    list-style: none; 
    padding: 0; 
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 15px 0;

    li { display: inline-block; }

    a { 
        color: #00b4d8; 
        font-weight: bold; 
        text-decoration: none; 
        border-bottom: 2px solid;

        &:hover {
            color: #ff70a6;
        }
    }
}

/* Footer Component */
footer, .footer-window {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: auto;
    background: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), url('nisip.jpg');
    background-size: cover;
    background-position: center;
    border-top: 3px solid var(--aqua-primary);
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-radius: 0px;
    padding: 0;
    box-shadow: 0 -4px 15px rgba(0, 20, 40, 0.3);

    .footer-body {
        padding: 20px;
        text-align: center;
        color: #03045e;
        font-size: 1.05rem;
        font-weight: 600;

        a {
            color: #ff70a6;
            text-decoration: none;
            font-weight: bold;

            &:hover {
                text-decoration: underline;
            }
        }
    }
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .sky-header-area {
        height: 250px;
    }

    .sky-water-divider {
        top: 220px;
    }

    .y2k-grid-layout {
        grid-template-columns: 1fr;
    }
    
    .header-window .y2k-title {
        font-size: 1.5rem;
    }
}