@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* General Body Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #0a1a2f; /*linear-gradient(135deg, #0d3b2e 0%, #1a5c47 50%, #2d1b2e 100%);*/
    color: #e0f2f7;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Snowflake Animation */
@keyframes snowfall {
    0% {
        top: -10vh;
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100vh;
        opacity: 0;
    }
}

@keyframes sway {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(30px);
    }
}

.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: absolute;
    top: -10vh;
    color: #ffffff;
    font-size: 1.5em;
    opacity: 0.8;
    animation: snowfall 10s linear infinite;
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 14s; animation-delay: 2s; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 11s; animation-delay: 4s; }
.snowflake:nth-child(4) { left: 40%; animation-duration: 13s; animation-delay: 1s; }
.snowflake:nth-child(5) { left: 50%; animation-duration: 15s; animation-delay: 3s; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 12s; animation-delay: 5s; }
.snowflake:nth-child(7) { left: 70%; animation-duration: 14s; animation-delay: 2s; }
.snowflake:nth-child(8) { left: 80%; animation-duration: 11s; animation-delay: 4s; }
.snowflake:nth-child(9) { left: 90%; animation-duration: 13s; animation-delay: 1s; }
.snowflake:nth-child(10) { left: 5%; animation-duration: 15s; animation-delay: 3s; }

/* Main Container */
.container {
    max-width: 960px;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background: inherit; /*linear-gradient(135deg, rgba(139, 0, 0, 0.85) 0%, rgba(34, 139, 34, 0.85) 100%);*/
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7), inset 0 0 20px rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 212, 170, 0.2);
    position: relative;
    z-index: 2;
}

/* Header */
header {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 2px solid rgba(255, 215, 0, 0.4);
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #a8c8d8;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header p {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Main Content */
main {
    padding: 2.5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #a8c8d8;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Card Styles */
.card {
    background: #123456; /*linear-gradient(135deg, rgba(200, 16, 46, 0.9) 0%, rgba(34, 139, 34, 0.9) 100%);*/
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(255, 215, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 212, 170, 0.2);
    border-color: #a8c8d8;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #a8c8d8;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.card p {
    color: #e0f2f7;
    position: relative;
    z-index: 1;
}

.card a {
    text-decoration: none;
    color: #a8c8d8;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.card a:hover {
    color: #00d4aa;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 2rem;
    border-top: 2px solid rgba(255, 215, 0, 0.4);
    font-size: 1rem;
    color: #e0f2f7;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: #a8c8d8;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer a:hover {
    color: #00d4aa;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}
