/* Custom Fonts */
@font-face {
    font-family: 'Washington Text';
    src: url('../font/Washington Text Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

:root {
    --primary-gold: #d4af37;
    --secondary-gold: #b8941f;
    --accent-gold: #ffd700;
    --dark-brown: #2c1810;
    --medium-brown: #4a2c17;
    --light-brown: #8b5a2b;
    --dark-red: #5b1a1a;
    --blood-red: #8b2635;
    --parchment: #f4e4bc;
    --shadow-dark: rgba(0, 0, 0, 0.8);
    --shadow-medium: rgba(0, 0, 0, 0.5);
    --glow-gold: rgba(212, 175, 55, 0.6);
    --glow-bright: rgba(255, 215, 0, 0.8);
}

body {
    font-family: 'Merriweather', 'Libre Baskerville', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--parchment);
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--medium-brown) 50%, var(--dark-red) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(44, 24, 16, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 10px var(--glow-gold));
    animation: flicker 3s ease-in-out infinite alternate;
}

.logo-text {
    font-family: 'Pirata One', 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

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

.nav-link {
    color: var(--parchment);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Cinzel', 'Arial', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-gold);
    text-shadow: 0 0 10px var(--glow-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 20px 50px;
    flex-direction: row-reverse; /* Desktop: imagen a la derecha, contenido a la izquierda */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, var(--blood-red) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--primary-gold) 0%, transparent 50%),
        linear-gradient(135deg, var(--dark-brown) 0%, var(--medium-brown) 100%);
    z-index: -2;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--primary-gold), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--primary-gold), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--primary-gold), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--primary-gold), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--primary-gold), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: float 20s linear infinite;
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-family: 'Cinzel', serif;
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Pirata One', 'Cinzel', serif;
    color: var(--primary-gold);
    text-shadow: 3px 3px 6px var(--shadow-dark);
    animation: glow 2s ease-in-out infinite alternate;
}

.title-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--parchment);
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* OPCIONES DE FUENTES PARA HERO-DESCRIPTION - Elige la que más te guste:

OPCIÓN 1 - Merriweather (Muy legible, peso medio):
font-family: 'Merriweather', serif;
font-weight: 400;

OPCIÓN 2 - Playfair Display (Elegante, más gruesa):
font-family: 'Playfair Display', serif;
font-weight: 400;

OPCIÓN 3 - Lora (Moderna, muy legible):
font-family: 'Lora', serif;
font-weight: 400;

OPCIÓN 4 - Libre Baskerville (Clásica, peso medio):
font-family: 'Libre Baskerville', serif;
font-weight: 400;

OPCIÓN 5 - Cinzel (Más medieval, para títulos pero funciona):
font-family: 'Cinzel', serif;
font-weight: 400;
*/

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--parchment);
    opacity: 0.95;
    /* ACTUALMENTE USANDO OPCIÓN 1 - MERRIWEATHER */
    font-family: 'Merriweather', serif;
    font-weight: 400;
    letter-spacing: 0.2px;
}

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

.btn-learn {
    min-width: 200px;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(44, 24, 16, 0.6);
    border-radius: 10px;
    border: 1px solid var(--light-brown);
    min-width: 120px;
}

.stat-number {
    display: block;
    font-family: 'Pirata One', serif;
    font-size: 2rem;
    color: var(--primary-gold);
    font-weight: 700;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--parchment);
    opacity: 0.8;
    margin-top: 0.5rem;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--glow-gold) 0%, transparent 70%);
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: relative;
}

.hero-main-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px var(--shadow-dark));
    animation: float-gentle 6s ease-in-out infinite;
}

.hero-play-button {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce-attention 3s ease-in-out infinite;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-floating {
    box-shadow: 
        0 10px 30px rgba(255, 215, 0, 0.6),
        0 0 50px rgba(255, 215, 0, 0.4),
        0 0 100px rgba(255, 215, 0, 0.2);
    animation: float-button 4s ease-in-out infinite, pulse-glow 2s ease-in-out infinite;
}

.btn-floating:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 
        0 15px 40px rgba(255, 215, 0, 0.8),
        0 0 70px rgba(255, 215, 0, 0.6),
        0 0 120px rgba(255, 215, 0, 0.3);
}

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

@keyframes float-button {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    text-decoration: none;
    font-family: 'Uncial Antiqua', 'Cinzel', serif;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-gold), var(--primary-gold), var(--secondary-gold));
    color: var(--dark-brown);
    border: 3px solid var(--accent-gold);
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.4),
        0 0 30px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(255, 215, 0, 0.6),
        0 0 50px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    background: linear-gradient(45deg, #ffed4e, var(--accent-gold), var(--primary-gold));
}

.btn-mega {
    padding: 25px 50px;
    font-size: 1.5rem;
    border-radius: 15px;
    font-weight: 700;
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-cta {
    margin: 2rem 0;
    min-width: 300px;
}

.btn-icon {
    font-size: 1.8em;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8));
}

.btn-text {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.play-button-features {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-gold);
    text-align: center;
    margin-top: 1rem;
    text-shadow: 1px 1px 2px var(--shadow-dark);
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.btn-secondary {
    background: rgba(44, 24, 16, 0.8);
    color: var(--parchment);
    border: 2px solid var(--parchment);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--parchment);
    color: var(--dark-brown);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 228, 188, 0.3);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.3rem;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover .btn-glow {
    left: 100%;
}

.btn-pulse {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-gold), transparent, var(--accent-gold));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 5px 15px rgba(255, 215, 0, 0.4),
            0 0 30px rgba(255, 215, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 8px 25px rgba(255, 215, 0, 0.6),
            0 0 50px rgba(255, 215, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

@keyframes pulse-border {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.7; }
}

/* Sections */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--parchment);
    opacity: 0.9;
    margin-bottom: 3rem;
    font-family: 'Merriweather', serif;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

/* Characters Section */
.characters {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(44, 24, 16, 0.5) 50%, transparent 100%);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.character-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--medium-brown), var(--dark-brown));
    border: 2px solid var(--light-brown);
    transition: all 0.3s ease;
    cursor: pointer;
}

.character-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px var(--shadow-dark);
    border-color: var(--primary-gold);
}

.character-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s 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, var(--shadow-dark));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.character-card:hover .character-overlay {
    transform: translateY(0);
}

.character-overlay h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.character-overlay p {
    color: var(--parchment);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-family: 'Merriweather', serif;
}

.character-stats {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.character-stats span {
    font-size: 0.8rem;
    color: var(--primary-gold);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

/* Instructions Section */
.instructions {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(44, 24, 16, 0.8) 0%, rgba(74, 44, 23, 0.6) 50%, rgba(44, 24, 16, 0.8) 100%);
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.instruction-step {
    text-align: center;
    padding: 2rem;
    background: rgba(44, 24, 16, 0.7);
    border-radius: 15px;
    border: 2px solid var(--light-brown);
    transition: all 0.3s ease;
    position: relative;
}

.instruction-step:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 30px var(--shadow-medium);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Uncial Antiqua', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-brown);
    border: 3px solid var(--dark-brown);
}

.step-content h3 {
    font-family: 'Pirata One', serif;
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.step-image {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.step-image img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 5px 15px var(--shadow-dark));
    transition: transform 0.3s ease;
}

.instruction-step:hover .step-image img {
    transform: scale(1.1) rotate(5deg);
}

.step-content p {
    color: var(--parchment);
    line-height: 1.6;
    font-size: 1rem;
    font-family: 'Merriweather', serif;
}

.game-rules {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(91, 26, 26, 0.3);
    border-radius: 20px;
    border: 2px solid var(--blood-red);
}

.game-rules h3 {
    font-family: 'Pirata One', serif;
    font-size: 2rem;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 2rem;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.rule-step {
    text-align: center;
    padding: 2rem;
    background: rgba(44, 24, 16, 0.7);
    border-radius: 15px;
    border: 2px solid var(--light-brown);
    transition: all 0.3s ease;
    position: relative;
}

.rule-step:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 30px var(--shadow-medium);
}

.rule-emoji {
    font-size: 4rem;
    display: block;
    margin: 1rem 0;
    filter: drop-shadow(0 5px 15px var(--shadow-dark));
}

.rule-section {
    padding: 1.5rem;
    background: rgba(44, 24, 16, 0.6);
    border-radius: 15px;
    border: 1px solid var(--light-brown);
    transition: all 0.3s ease;
}

.rule-section:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.rule-section h4 {
    font-family: 'Uncial Antiqua', serif;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.rule-section p {
    color: var(--parchment);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-family: 'Merriweather', serif;
}

/* Grid Visualizations */
.movement-visual, .range-visual {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.grid-example {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--dark-brown);
    padding: 10px;
    border-radius: 8px;
    border: 2px solid var(--primary-gold);
}

.range-visual .grid-example, .movement-grid {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cell {
    width: 40px;
    height: 40px;
    background: var(--medium-brown);
    border: 1px solid var(--light-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--parchment);
    border-radius: 4px;
    font-size: 0.9rem;
}

.grid-cell.center {
    background: var(--primary-gold);
    color: var(--dark-brown);
    font-size: 1.2rem;
    border: 2px solid var(--secondary-gold);
}

.grid-cell.orthogonal {
    background: rgba(139, 90, 43, 0.8);
    color: var(--accent-gold);
}

.grid-cell.diagonal {
    background: rgba(91, 26, 26, 0.8);
    color: var(--accent-gold);
}

.movement-legend, .range-legend {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--parchment);
}

.movement-legend span, .range-legend span {
    padding: 0.5rem 1rem;
    background: rgba(44, 24, 16, 0.8);
    border-radius: 5px;
    border: 1px solid var(--light-brown);
}

/* Damage Calculation */
.damage-example {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
}

.formula {
    font-family: 'Uncial Antiqua', serif;
    color: var(--primary-gold);
    font-weight: bold;
}

.example {
    color: var(--parchment);
    font-style: italic;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: radial-gradient(ellipse at center, rgba(91, 26, 26, 0.3) 0%, transparent 70%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(44, 24, 16, 0.6);
    border-radius: 15px;
    border: 1px solid var(--light-brown);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(44, 24, 16, 0.8);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 5px 15px var(--shadow-dark));
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon img {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--parchment);
    line-height: 1.6;
    font-family: 'Merriweather', serif;
}

/* Enemies Section */
.enemies {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-red) 0%, var(--dark-brown) 100%);
}

.enemies-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.enemy-item {
    position: relative;
    transition: transform 0.3s ease;
}

.enemy-item:hover {
    transform: scale(1.1) rotate(-5deg);
}

.enemy-image {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 5px 15px var(--shadow-dark)) sepia(0.3) hue-rotate(320deg);
    transition: filter 0.3s ease;
}

.enemy-item:hover .enemy-image {
    filter: drop-shadow(0 8px 25px var(--blood-red)) sepia(0.5) hue-rotate(320deg);
}

.enemy-item h4 {
    font-family: 'Uncial Antiqua', serif;
    color: var(--parchment);
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
}

/* Call to Action */
.cta {
    padding: 100px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--medium-brown) 50%, var(--dark-red) 100%);
}

.cta-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px var(--shadow-dark);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--parchment);
    opacity: 0.9;
}

.cta-note {
    font-size: 1rem !important;
    margin-top: 1rem !important;
    color: var(--primary-gold) !important;
    opacity: 1 !important;
    font-weight: 600;
    text-shadow: 1px 1px 2px var(--shadow-dark);
    font-family: 'Merriweather', serif;
}

.cta-decoration {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.decoration-left {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    opacity: 0.3;
    animation: float-gentle 8s ease-in-out infinite;
}

.decoration-right {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    opacity: 0.3;
    animation: float-gentle 8s ease-in-out infinite reverse;
}

/* Footer */
.footer {
    background: var(--dark-brown);
    padding: 2rem 0;
    border-top: 2px solid var(--light-brown);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 5px var(--glow-gold));
}

.footer-logo span {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--primary-gold);
}

.footer p {
    color: var(--parchment);
    opacity: 0.7;
    font-family: 'Merriweather', serif;
}

/* Animations */
@keyframes glow {
    from { text-shadow: 3px 3px 6px var(--shadow-dark), 0 0 20px var(--glow-gold); }
    to { text-shadow: 3px 3px 6px var(--shadow-dark), 0 0 30px var(--glow-gold), 0 0 40px var(--glow-gold); }
}

@keyframes flicker {
    0%, 100% { filter: drop-shadow(0 0 10px var(--glow-gold)) brightness(1); }
    50% { filter: drop-shadow(0 0 20px var(--glow-gold)) brightness(1.2); }
}

@keyframes float {
    0% { transform: translateX(0px); }
    100% { transform: translateX(-200px); }
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Tablet Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 40px 50px;
        min-height: 100vh;
        justify-content: center;
        gap: 3rem;
    }
    
    .hero-image {
        order: 1;
        position: relative;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content {
        order: 2;
        margin: 0 auto;
        max-width: 700px;
        padding: 0 2rem;
    }
    
    .hero-play-button {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 2rem auto 0 auto;
        animation: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-main-image {
        width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: contain;
        border-radius: 20px;
    }
    
    .title-main {
        font-size: 3.5rem;
        line-height: 1.1;
    }
    
    .title-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .btn-mega {
        padding: 28px 60px;
        font-size: 1.6rem;
        min-width: 350px;
        max-width: 400px;
        margin: 0 auto;
        display: block;
        white-space: nowrap;
    }
    
    .btn-floating {
        position: relative !important;
        transform: none !important;
        margin: 0 auto;
        display: block;
    }
    
    .play-button-features {
        font-size: 1rem;
        margin-top: 1.5rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-stats {
        gap: 2rem;
        margin-top: 2.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-item {
        min-width: 140px;
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* Mobile Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(44, 24, 16, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-subtitle {
        font-size: 1.2rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 15px 30px;
        min-height: 100vh;
        justify-content: flex-start;
        gap: 2rem;
    }
    
    .hero-image {
        order: 1;
        position: relative;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content {
        order: 2;
        margin: 0;
        padding: 0 1rem;
        width: 100%;
    }
    
    .hero-play-button {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 1rem auto 0 auto;
        animation: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-main-image {
        width: 100%;
        height: auto;
        max-height: 280px;
        object-fit: contain;
        border-radius: 15px;
    }
    
    .btn-floating {
        animation: pulse-glow 2s ease-in-out infinite;
        position: relative !important;
        transform: none !important;
        margin: 0 auto;
        display: block;
    }
    
    .play-button-features {
        font-size: 0.8rem;
        margin-top: 1rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-stats {
        gap: 1rem;
        margin-top: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 0.8rem;
        flex: 1;
        max-width: 150px;
    }
    
    .btn-mega {
        padding: 20px 30px;
        font-size: 1.2rem;
        min-width: 260px;
        max-width: 320px;
        margin: 0 auto;
        display: block;
        width: auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .characters-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .instructions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .rule-step {
        padding: 1.5rem;
    }
    
    .rule-emoji {
        font-size: 3rem;
    }
    
    .movement-legend, .range-legend {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .grid-cell {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .enemies-showcase {
        gap: 1rem;
    }
    
    .enemy-image {
        width: 80px;
        height: 80px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .decoration-left,
    .decoration-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 90px 10px 20px;
        min-height: 100vh;
        gap: 1.5rem;
    }
    
    .hero-image {
        max-width: 300px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .btn-mega {
        padding: 18px 25px;
        font-size: 1.1rem;
        min-width: 240px;
        max-width: 280px;
    }
    
    .title-main {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .title-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .hero-main-image {
        max-height: 240px;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 0.5rem;
        margin: 1.5rem auto 0 auto;
        max-width: 100%;
    }
    
    .stat-item {
        min-width: auto;
        flex: 1;
        padding: 0.6rem 0.4rem;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .play-button-features {
        font-size: 0.7rem;
        margin-top: 0.8rem;
        padding: 0 0.5rem;
        line-height: 1.3;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-brown);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gold);
}
