@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');

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

:root {
    --primary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #fff;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    --card-bg: rgba(0, 0, 0, 0.4);
    --card-hover: rgba(0, 0, 0, 0.6);
    --transition-speed: 0.4s;
    --border-radius: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #000;
    line-height: 1.6;
    min-height: 100vh;
}

.bg-img {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(/images/bg.jpg) no-repeat fixed center;
    background-size: cover;
    animation: scaling 60s linear infinite;
    z-index: -2;
    transform: scale(1.1);
    transition: transform 0.5s ease-out;
}

.bg-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(4px);
    transition: backdrop-filter 0.3s ease;
}

.container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
}

.root {
    position: absolute;
    animation: movement 60s linear infinite;
    filter: brightness(1.1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    z-index: -1;
}

@keyframes movement {
    0% {
        width: 20rem;
        top: 10%;
        right: 30%;
        transform: rotate(0deg);
    }
    50% {
        width: 35rem;
        top: 15%;
        right: 10%;
        transform: rotate(90deg);
    }
    100% {
        width: 20rem;
        top: 10%;
        right: 30%;
        transform: rotate(180deg);
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
    margin-bottom: 60px;
    position: relative;
    z-index: 1000;
}

header > a {
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

header > a:hover {
    color: var(--accent-color);
}

header ul {
    display: flex;
    gap: 30px;
    list-style: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header ul li {
    font-weight: 600;
    padding: 0 20px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

header ul li:hover {
    opacity: 1;
    transform: translateY(-2px);
}

header ul li a {
    font-size: 14px;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding: 5px 0;
}

header ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

header ul li a:hover::after,
header ul li a.active::after {
    width: 100%;
}

header ul li a.active {
    color: #fff;
    font-weight: bold;
}

h1 {
    font-size: 64px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

main {
    flex: 1;
    padding-top: 5%;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main>p {
    max-width: 50%;
    opacity: 0.9;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 60px;
    letter-spacing: 0.5px;
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 0.9;
    }
}

ol.info {
    padding-top: 5%;
    display: flex;
    gap: 35px;
    perspective: 1000px;
}

ol.info li.item {
    flex: 1;
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

ol.info li.item:nth-child(1) { animation-delay: 0.4s; }
ol.info li.item:nth-child(2) { animation-delay: 0.6s; }
ol.info li.item:nth-child(3) { animation-delay: 0.8s; }

ol.info li.item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.1) 0%,
        rgba(255,255,255,0.05) 50%,
        transparent 100%);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

ol.info li.item:hover::before {
    transform: translateX(100%) skewX(-15deg);
}

ol.info li.item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(255,255,255,0.1) 0%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

ol.info li.item:hover::after {
    opacity: 1;
}

ol.info li.item:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--card-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

ol.info li.item h5 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    transition: all var(--transition-speed) ease;
}

ol.info li.item h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%,
        rgba(255,255,255,0.2) 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

ol.info li.item:hover h5::after {
    width: 60px;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%,
        rgba(255,255,255,0.4) 100%);
}

ol.info li.item h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-color);
    transition: all var(--transition-speed) ease;
    letter-spacing: 0.5px;
}

ol.info li.item:hover h4 {
    color: var(--accent-color);
}

ol.info li.item p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-speed) ease;
}

ol.info li.item:hover p {
    color: rgba(255, 255, 255, 0.95);
}

footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255,255,255,0.3) 50%,
        transparent 100%);
}

footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

footer:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    min-width: 160px;
    border-radius: 5px;
    z-index: 1000;
    padding: 10px 0;
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
}

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

.dropdown:hover .dropdown-content {
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    h1 {
        font-size: 48px;
    }
    
    main>p {
        max-width: 70%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header {
        padding: 30px 0;
    }
    
    .hamburger {
        display: flex;
        position: absolute;
        top: 32px;
        right: 0;
        margin-right: 20px;
        transition: transform 0.3s ease;
    }
    
    .hamburger.active {
        transform: rotate(90deg);
    }
    
    .hamburger span {
        background: var(--text-color);
        transition: all 0.3s ease;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    header ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70vw;
        height: 100vh;
        background: rgba(0,0,0,0.95);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 100px 30px 30px;
        margin: 0;
        transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
        z-index: 999;
        box-shadow: -2px 0 16px rgba(0,0,0,0.2);
        backdrop-filter: blur(10px);
    }
    
    header ul.open {
        right: 0;
    }
    
    header ul li {
        width: 100%;
        padding: 18px 0;
        opacity: 1;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        text-align: left;
    }
    
    header ul li a {
        display: block;
        padding: 10px 0;
    }

    ol.info {
        flex-direction: column;
        gap: 20px;
    }

    ol.info li.item {
        padding: 30px 20px;
    }

    h1.stylish-heading {
        font-size: 38px;
        margin-bottom: 24px;
    }
    
    .intro-text-home {
        font-size: 16px;
        margin-bottom: 40px;
    }

    main>p {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 30px;
    }
    
    .content-container {
        padding: 20px;
        margin: 20px 0;
    }
    
    .activity {
        padding: 20px;
    }

    p, .intro-text, .intro-text-home {
        text-align: left !important;
        font-size: 17px;
        line-height: 1.8;
    }

    footer {
        padding: 30px 0;
        margin-top: 40px;
    }
    
    footer p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .content-container {
        padding: 15px;
    }
    
    p {
        font-size: 15px;
        line-height: 1.6;
    }
}