/* ======= RESET ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ======= BODY ======= */
body {
    background: linear-gradient(-45deg, #0d1b2a, #1b2838, #0a3d62, #1a1a2e);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #e0e0e0;
    padding: 20px 40px;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.icon-color {
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
}

/* ======= BACK BUTTON ======= */
.back-btn {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* ======= HEADER ======= */
header {
    margin-bottom: 40px;
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 50%, #00f5a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

/* ======= SUBMENU ======= */
nav.submenu {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: inline-block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

nav.submenu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    gap: 15px;
    width: 100%;
}

nav.submenu ul li {
    width: 100%;
    max-width: 600px;
    margin-bottom: 25px;
}

nav.submenu ul li a {
    display: block;
    width: 100%;
    text-align: center;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.project-desc {
    display: block;
    font-size: 0.95rem;
    color: #b8c5d6;
    margin-top: 12px;
    line-height: 1.5;
    text-align: center;
    opacity: 0.85;
}

nav.submenu ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

nav.submenu ul li a:hover::before {
    left: 100%;
}

nav.submenu ul li a:hover {
    background: rgba(0, 212, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
}

/* ======= MAIN ======= */
main {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    border-left: 4px solid #00d4ff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    color: #b8c5d6;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
    body {
        padding: 15px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    nav.submenu ul {
        flex-direction: column;
        gap: 12px;
    }

    nav.submenu ul li a {
        display: block;
        text-align: center;
    }

    main {
        padding: 25px;
    }
}