/* style.css */
:root {
    /* Base Colors - Dark Forest Theme */
    --forest-dark: #0F2A1F;
    --forest-deep: #1A3B2E;
    --forest-medium: #2D5A4A;
    --forest-light: #3B6E5A;
    --fog-light: #C0D0C0;
    --fog-medium: #8B9A8C;
    --fog-dark: #4A5A4A;
    --earth-dark: #2D2A1A;
    --earth-medium: #5A4A2D;
    --gold: #C4A747;
    --gold-light: #E5D58F;
    --wood-dark: #5A3E2D;
    --wood-medium: #8B5E3C;
    --wood-light: #B87C4A;
    
    /* Microsite Colors */
    --perun-green: #1A4A3A;
    --perun-gold: #D4AF37;
    --baba-orange: #8B4A2D;
    --baba-brown: #5A2D1A;
    --baba-amber: #D46B2D;
    --worldtree-blue: #1A3A5A;
    --worldtree-purple: #4A2D5A;
    --worldtree-cosmic: #2D4A6A;
    
    /* UI Colors */
    --text-light: #E8F0E8;
    --text-dark: #1A2A1A;
    --overlay-dark: rgba(10, 20, 10, 0.8);
    --overlay-light: rgba(200, 220, 200, 0.1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--forest-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path d="M20 30 Q 40 10 60 30 T 100 30" stroke="%238B9A8C" fill="none" stroke-width="0.5"/><path d="M10 70 Q 30 50 50 70 T 90 70" stroke="%238B9A8C" fill="none" stroke-width="0.5"/><circle cx="30" cy="40" r="2" fill="%238B9A8C"/><circle cx="70" cy="60" r="2" fill="%238B9A8C"/></svg>');
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Unbounded', cursive;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--forest-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.kolovrat-spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border: 4px solid var(--fog-medium);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s infinite linear;
    position: relative;
}

.kolovrat-spinner::before {
    content: '☀️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    animation: pulse 1.5s infinite;
}

.loading-text {
    font-family: 'Unbounded', cursive;
    color: var(--gold-light);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    animation: fadePulse 1.5s infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.9); }
}

@keyframes fadePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 42, 31, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--forest-medium);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Unbounded', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(196, 167, 71, 0.3);
}

.kolovrat-icon {
    font-size: 2rem;
    animation: slowRotate 20s infinite linear;
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 70%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}

.microsite-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--forest-deep);
    border: 1px solid var(--forest-medium);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow);
    list-style: none;
}

.microsite-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--forest-medium);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest-deep) 50%, var(--forest-medium) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><polygon points="50,15 90,85 10,85" fill="none" stroke="%238B9A8C" stroke-width="0.5"/><circle cx="50" cy="50" r="20" fill="none" stroke="%238B9A8C" stroke-width="0.5"/><path d="M20 50 L80 50 M50 20 L50 80" stroke="%238B9A8C" stroke-width="0.5"/></svg>');
    animation: slowDrift 30s infinite alternate;
}

@keyframes slowDrift {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(1deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--overlay-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight {
    color: var(--gold);
    position: relative;
    display: inline-block;
}

.highlight::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--gold);
    opacity: 0.2;
    z-index: -1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    color: var(--fog-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gold);
    color: var(--forest-dark);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(196, 167, 71, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--forest-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--fog-light);
    border: 2px solid var(--fog-medium);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--fog-light);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--gold);
    margin-bottom: 15px;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--fog-medium);
}

.title-decoration .line {
    width: 50px;
    height: 2px;
    background: var(--fog-medium);
}

.title-decoration i {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.section-subtitle {
    text-align: center;
    color: var(--fog-light);
    max-width: 600px;
    margin: -30px auto 40px;
}

/* Introduction Grid */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text .lead {
    font-size: 1.25rem;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 1rem;
    color: var(--fog-light);
}

.key-elements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.key-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--forest-medium);
}

.key-item i {
    color: var(--gold);
    font-size: 1.25rem;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--forest-medium);
}

.placeholder-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-frame:hover .placeholder-img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(transparent, var(--overlay-dark));
    color: var(--fog-light);
    font-size: 0.9rem;
    text-align: center;
}

/* Deity Cards */
.deity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: rgba(26, 59, 46, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--forest-medium);
    transition: var(--transition);
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--gold);
}

.card-image {
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.title-translit {
    font-size: 0.9rem;
    color: var(--fog-medium);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.card-desc {
    color: var(--fog-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.card-symbols {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.symbol {
    font-size: 0.9rem;
    color: var(--fog-medium);
    display: flex;
    align-items: center;
    gap: 5px;
}

.symbol i {
    color: var(--gold);
}

.card-link {
    color: var(--gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    gap: 10px;
}

.section-footer {
    text-align: center;
}

/* Quiz Section */
.quiz-section {
    background: linear-gradient(135deg, var(--forest-deep) 0%, var(--forest-dark) 100%);
    position: relative;
    overflow: hidden;
}

.quiz-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><path d="M10 10 L90 90 M90 10 L10 90" stroke="%238B9A8C" stroke-width="0.5"/></svg>');
    pointer-events: none;
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(10, 20, 10, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid var(--forest-medium);
    position: relative;
    z-index: 2;
}

.quiz-header {
    text-align: center;
    margin-bottom: 30px;
}

.quiz-header h2 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 10px;
}

.quiz-header p {
    color: var(--fog-light);
}

.question-card {
    background: rgba(45, 90, 74, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--forest-medium);
}

.question-card h4 {
    color: var(--gold-light);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.option:hover {
    background: rgba(196, 167, 71, 0.1);
}

.option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--fog-medium);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}

.option input[type="radio"]:checked {
    border-color: var(--gold);
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

.option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--forest-dark);
    border-radius: 50%;
}

.option-text {
    color: var(--fog-light);
    font-weight: 500;
}

.option-feedback {
    margin-left: auto;
    font-size: 0.9rem;
}

.option.correct .option-feedback::after {
    content: '✓ Correct!';
    color: #4CAF50;
}

.option.incorrect .option-feedback::after {
    content: '✗ Incorrect';
    color: #f44336;
}

.quiz-submit {
    width: 100%;
    margin-top: 20px;
}

.quiz-result {
    display: none;
    text-align: center;
    margin-top: 30px;
}

.quiz-result.active {
    display: block;
}

.result-content {
    background: rgba(45, 90, 74, 0.3);
    border-radius: 20px;
    padding: 30px;
}

.score-circle {
    width: 150px;
    height: 150px;
    margin: 20px auto;
    border-radius: 50%;
    background: conic-gradient(var(--gold) 0deg, var(--forest-medium) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    background: var(--forest-dark);
    border-radius: 50%;
}

.score-circle span {
    position: relative;
    z-index: 2;
}

#resultMessage {
    color: var(--fog-light);
    margin: 20px 0;
    font-size: 1.1rem;
}

#retakeQuiz {
    margin-top: 20px;
}

/* Microsites Preview */
.microsite-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.microsite-card {
    position: relative;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.microsite-card.perun-card {
    background: linear-gradient(135deg, var(--perun-green) 0%, #0A2A1A 100%);
}

.microsite-card.baba-card {
    background: linear-gradient(135deg, var(--baba-orange) 0%, var(--baba-brown) 100%);
}

.microsite-card.worldtree-card {
    background: linear-gradient(135deg, var(--worldtree-blue) 0%, var(--worldtree-purple) 100%);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    z-index: 1;
}

.microsite-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    color: var(--gold);
}

.microsite-card p {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    color: var(--fog-light);
}

.enter-link {
    position: relative;
    z-index: 2;
    color: var(--gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.microsite-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.microsite-card:hover .enter-link {
    gap: 15px;
}

/* Rusich Section */
.rusich-section {
    background: var(--forest-deep);
    position: relative;
    overflow: hidden;
}

.rusich-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><path d="M50 10 L90 90 L10 90 Z" fill="none" stroke="%23C4A747" stroke-width="1"/><circle cx="50" cy="50" r="20" fill="none" stroke="%23C4A747" stroke-width="1"/><path d="M20 50 L80 50 M50 20 L50 80" stroke="%23C4A747" stroke-width="1"/></svg>');
    animation: slowRotate 60s infinite linear;
}

.rusich-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.kolovrat-large {
    width: 150px;
    height: 150px;
    background: var(--forest-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--gold);
    animation: slowRotate 20s infinite linear;
}

.kolovrat-large i {
    font-size: 4rem;
    color: var(--gold);
}

.rusich-title {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.rusich-subtitle {
    color: var(--fog-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--fog-light);
}

.contact-item i {
    width: 20px;
    color: var(--gold);
}

.contact-item a {
    color: var(--fog-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    border: 1px solid var(--forest-medium);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    color: var(--forest-dark);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--forest-dark);
    padding: 40px 0;
    border-top: 1px solid var(--forest-medium);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Unbounded', cursive;
    font-size: 1.5rem;
    color: var(--gold);
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--fog-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copyright {
    color: var(--fog-medium);
    font-size: 0.9rem;
}

.sources {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--fog-dark);
}

/* Fade In Animations for Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.fade-in-delay.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.fade-in-delay-2.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .microsite-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--forest-dark);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        padding-left: 1rem;
        display: none;
    }
    
    .microsite-dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .microsite-grid {
        grid-template-columns: 1fr;
    }
    
    .rusich-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .kolovrat-large {
        margin: 0 auto;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .quiz-container {
        padding: 20px;
    }
    
    .key-elements {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}