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

body {
    font-family: sans-serif;
    background: #0b0e1a;
    color: #fff;
    overflow-x: hidden;
    padding-bottom: 40px; /* clear fixed footer */
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
    height: 56px;
    background: rgba(11,14,26,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo { font-size: 1.2rem; font-weight: 700; margin-right: auto; }

nav a { color: #aaa; text-decoration: none; font-size: 0.9rem; }
nav a:hover { color: #fff; }

nav button {
    cursor: pointer;
    padding: 0.45rem 1.2rem;
    border: none;
    border-radius: 999px;
    background: #ff3cac;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ===== DROPDOWN STYLES ===== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(35,40,65,0.85); /* slightly lighter than page */
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    padding: 0.25rem 0; /* tighter padding */
    min-width: max-content; /* width fits content exactly */
    z-index: 20;
    display: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.35rem 1rem; /* compact, no giant empty width */
    color: #ccc;
    font-size: 0.875rem;
    white-space: nowrap; /* prevents wrapping */
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

nav .dropdown:hover .dropdown-menu {
    display: block;
}

/* ===== BANNER ANIMATION ===== */
.banner {
    position: relative;
    width: 80vw;
    min-width: 400px;
    height: 50vw;
    max-height: 100px;
    min-height: 400px;
    margin: 2rem auto;
    overflow: hidden;
    background: #0b0e1a;
    border-radius: 12px;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

/*
    Split-axis arc technique:
    .char-x  → translateX only, linear → constant horizontal speed
    .char-y  → translateY only, ease-in-out → smooth rise & fall
    Combined they trace a fluid parabolic (rainbow) arc.
*/

.char-x {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: move-x 3.6s linear infinite;
}

.char-y {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 55%;
    width: auto;
    opacity: 0.6;
    transform: scaleX(-1);
    animation: move-y 3.6s ease-in-out infinite;
}

@keyframes move-x {
    from { transform: translateX(calc(100% + 200px)); }
    to   { transform: translateX(-200px); }
}

@keyframes move-y {
    0%   { transform: scaleX(-1) translateY(0%); }
    50%  { transform: scaleX(-1) translateY(-80%); }
    100% { transform: scaleX(-1) translateY(0%); }
}

/* ===== FOOTER ===== */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    background: rgba(11,14,26,0.95);
    border-top: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
    z-index: 10;
}

.footer-year {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

.footer-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-icons a {
    display: flex;
    align-items: center;
    color: #888;
    transition: color 0.2s;
}

.footer-icons a:hover { color: #fff; }

.footer-icons svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

