/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark theme colors - now the only theme */
    --primary-color: #cc4444;
    --accent-color: #f5c842;
    --text-color: #f5e6d3;
    --text-light: #e8dcc6;
    --text-muted: #d4af37;
    --bg-color: #1a1611;
    --bg-secondary: #2c1810;
    --card-bg: #3a2f26;
    --overlay-color: rgba(42, 24, 16, 0.95);
    --nav-text-color: #f5e6d3;
    --nav-bg-scrolled: rgba(42, 24, 16, 0.98);
    --hero-overlay: linear-gradient(135deg, rgba(204, 68, 68, 0.8), rgba(42, 24, 16, 0.9));
    --shadow-color: rgba(0, 0, 0, 0.3);
    --border-color: rgba(245, 200, 66, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

/* ===== DECORATIVE ELEMENTS ===== */
.ornament {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 0 auto 2rem;
    position: relative;
    transition: background 0.3s ease;
}

.ornament::before,
.ornament::after {
    content: '❦';
    position: absolute;
    top: -10px;
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.ornament::before {
    left: -15px;
}

.ornament::after {
    right: -15px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--overlay-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--accent-color);
    min-height: 70px;
}

.navbar.scrolled {
    background: var(--nav-bg-scrolled);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    box-shadow: 0 2px 20px rgba(139, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .navbar {
        background: rgba(42, 24, 16, 0.98);
    }
    
    .navbar.scrolled {
        background: rgba(42, 24, 16, 0.99);
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.logo-img {
    height: 45px;
    filter: brightness(1.4) contrast(1.1);
    transition: filter 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--nav-text-color);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--nav-text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    background: 
        var(--hero-overlay),
        url('img/img931.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.3) 70%),
        linear-gradient(45deg, rgba(139, 0, 0, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
}

[data-theme="dark"] .hero-overlay {
    background: 
        radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.5) 70%),
        linear-gradient(45deg, rgba(204, 68, 68, 0.2) 0%, rgba(245, 200, 66, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-logo {
    max-width: 400px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.5));
    transition: filter 0.3s ease;
}

[data-theme="dark"] .hero-logo {
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.7)) brightness(1.1);
}

.hero-title h1 {
    color: #ffffff;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

.hero-scroll {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--accent-color);
    animation: bounce 2s infinite;
    transition: color 0.3s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
    position: relative;
    transition: background-color 0.3s ease;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    transition: color 0.3s ease;
}

/* ===== BASIC INFO SECTION ===== */
.basic-info {
    background: 
        linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(212, 175, 55, 0.05)),
        url('img/img923-01.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

[data-theme="dark"] .basic-info {
    background: 
        linear-gradient(135deg, rgba(204, 68, 68, 0.1), rgba(245, 200, 66, 0.1)),
        url('img/img923-01.png');
}

.info-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 2rem;
}

.info-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: all 0.6s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.info-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.info-card p {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.detail {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    transition: color 0.3s ease;
}

/* ===== ABOUT GAME SECTION ===== */
.about-game {
    background: 
        linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-color) 100%),
        url('img/img93-01.png');
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .about-game {
    background: 
        linear-gradient(135deg, #2c1810 0%, #1a1611 100%),
        url('img/img93-01.png');
}

.about-game h2,
.about-game h3,
.about-game h4 {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.game-content {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.quote-block {
    background: rgba(212, 175, 55, 0.1);
    padding: 2rem;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 2rem;
    border-radius: 0 15px 15px 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .quote-block {
    background: rgba(245, 200, 66, 0.15);
}

.quote-block blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 1rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.quote-block cite {
    font-size: 1rem;
    color: var(--text-color);
    font-style: normal;
    transition: color 0.3s ease;
}

.quote-block cite::before {
    content: '— ';
}

.game-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.game-features {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(245, 200, 66, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(245, 200, 66, 0.15);
    transform: translateX(10px);
}

.feature i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.feature h4 {
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-light);
    transition: color 0.3s ease;
}

/* ===== DROPDOWN SECTIONS ===== */
.dropdown-section {
    margin: 3rem 0;
}

.dropdown-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(245, 200, 66, 0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(245, 200, 66, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-header:hover {
    background: rgba(245, 200, 66, 0.15);
}

.dropdown-header h3 {
    color: var(--accent-color);
    margin: 0;
    font-size: 1.3rem;
}

.dropdown-arrow {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.dropdown-arrow.rotated {
    transform: rotate(180deg);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 1.5rem;
    background: var(--card-bg);
}

.dropdown-content.open {
    max-height: 1000px;
    padding: 1.5rem;
}

.dropdown-content p {
    margin-bottom: 1rem;
}

.dropdown-content p:last-child {
    margin-bottom: 0;
}

.game-images {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.game-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

/* ===== CHARACTERS SECTION ===== */
.characters {
    background: var(--bg-color);
    transition: background-color 0.3s ease;
}

.character-section {
    max-width: 1000px;
    margin: 0 auto;
}

.character-detailed {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.character-card-detailed {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.character-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.character-card-detailed h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
    transition: color 0.3s ease;
}

.character-card-detailed p:first-of-type {
    font-style: italic;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.character-card-detailed p:last-of-type {
    line-height: 1.7;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.character-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px var(--shadow-color);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.character-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-color);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.2);
}

.character-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.character-card:hover .character-image img {
    transform: scale(1.1);
}

.character-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(139, 0, 0, 0.9));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

[data-theme="dark"] .character-overlay {
    background: linear-gradient(transparent, rgba(204, 68, 68, 0.9));
}

.character-card:hover .character-overlay {
    transform: translateY(0);
}

.character-overlay h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    text-align: center;
    transition: color 0.3s ease;
}

.character-info {
    padding: 2rem;
}

.character-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    transition: color 0.3s ease;
}

.character-info p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.character-traits {
    list-style: none;
    padding: 0;
}

.character-traits li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(232, 220, 198, 0.5);
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.character-traits li:last-child {
    border-bottom: none;
}

.character-traits li::before {
    content: '⚜';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

/* ===== PRACTICAL SECTION ===== */
.practical {
    background: 
        linear-gradient(135deg, rgba(20, 10, 5, 0.9), rgba(139, 0, 0, 0.8)),
        url('img/img97.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-color);
    transition: color 0.3s ease;
}

[data-theme="dark"] .practical {
    background: 
        linear-gradient(135deg, rgba(42, 24, 16, 0.9), rgba(204, 68, 68, 0.8)),
        url('img/img97.jpg');
}

.practical h2,
.practical h3 {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.practical-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.practical-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

[data-theme="dark"] .practical-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(245, 200, 66, 0.4);
}

.practical-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .practical-card:hover {
    background: rgba(0, 0, 0, 0.3);
}

.practical-card h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.practical-card h3 i {
    font-size: 1.8rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.practical-card ul {
    list-style: none;
    padding: 0;
}

.practical-card li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-light);
    position: relative;
    padding-left: 2rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .practical-card li {
    border-bottom: 1px solid rgba(245, 200, 66, 0.3);
}

.practical-card li:last-child {
    border-bottom: none;
}

.practical-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

/* ===== REGISTRATION SECTION ===== */
.registration {
    background: var(--bg-color);
    transition: background-color 0.3s ease;
}

.registration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.reg-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: all 0.3s ease;
}

.reg-step:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.step-number {
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.step-content p {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.form-container {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px var(--shadow-color);
    border: 2px solid rgba(232, 220, 198, 0.3);
    transition: all 0.3s ease;
}

[data-theme="dark"] .form-container {
    border: 2px solid rgba(245, 200, 66, 0.2);
}

.form-container h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(232, 220, 198, 0.3);
    color: var(--text-light);
    transition: color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .contact-info p {
    border-bottom: 1px solid rgba(245, 200, 66, 0.2);
}

.contact-info i {
    color: var(--accent-color);
    width: 20px;
    transition: color 0.3s ease;
}

.registration-note {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(139, 0, 0, 0.05));
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .registration-note {
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.15), rgba(204, 68, 68, 0.1));
}

.registration-note p {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.registration-note ul {
    list-style: none;
    padding: 0;
}

.registration-note li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    transition: color 0.3s ease;
}

.registration-note li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.3);
    width: 100%;
    justify-content: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
    background: linear-gradient(135deg, #a00000, #f5c842);
}

/* ===== AUTHORS SECTION ===== */
.authors {
    background: 
        linear-gradient(135deg, #2c1810, #4a3429),
        url('img/img105.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #f5e6d3;
}

.authors h2 {
    color: #d4af37;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.author-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s ease;
}

.author-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.author-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #8b0000, #d4af37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: #fff;
}

.author-card h3 {
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.author-role {
    color: #f5c842;
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.author-bio {
    color: #e8dcc6;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #141005, #2c1810);
    color: #f5e6d3;
    padding: 3rem 0;
    border-top: 2px solid #d4af37;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-logo img {
    height: 40px;
    filter: brightness(1.2);
}

.footer-info {
    text-align: center;
    flex: 1;
}

.footer-info p {
    margin: 0.5rem 0;
    color: #d4af37;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: #d4af37;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #f5c842;
    transform: translateY(-3px);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .practical-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Tablets */
@media (max-width: 900px) {
    .info-grid,
    .practical-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--overlay-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-logo {
        max-width: 300px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .info-grid,
    .practical-grid {
        grid-template-columns: 1fr !important;
    }
    
    .characters-grid {
        grid-template-columns: 1fr;
    }
    
    .registration-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .authors-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-logo {
        max-width: 250px;
    }
    
    .info-card,
    .practical-card,
    .author-card {
        padding: 2rem 1.5rem;
    }
    
    .reg-step {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

/* ===== ANIMATION CLASSES ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f5e6d3;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b0000, #d4af37);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #a00000, #f5c842);
}
