/* ======================================
   CASTLE ROYAL - CARTOON & FUN THEME
   ====================================== */

:root {
    /* Cartoon Color Palette */
    --primary-blue: #4A90E2;
    --secondary-green: #7ED321;
    --accent-orange: #F5A623;
    --fun-purple: #9013FE;
    --bright-red: #FF6B6B;
    --sunny-yellow: #FFD93D;
    
    /* Background Colors */
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-fun: linear-gradient(45deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    
    /* Text Colors */
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --text-white: #FFFFFF;
    
    /* Fun Shadows & Effects */
    --shadow-fun: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.2);
    --glow-effect: 0 0 20px rgba(255, 217, 61, 0.6);
    
    /* Typography */
    --font-main: 'Quicksand', sans-serif;
    --font-title: 'Fredoka One', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================================
   NAVIGATION - FUN & COLORFUL
   ====================================== */
.navbar {
    background: var(--bg-white);
    padding: 15px 0;
    box-shadow: var(--shadow-fun);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--primary-blue);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.logo-link:hover {
    color: var(--fun-purple);
    transform: translateX(-5px);
}

.nav-title .game-title {
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--accent-orange);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(45deg, var(--secondary-green), var(--primary-blue));
    color: var(--text-white);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-fun);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(45deg, var(--primary-blue), var(--fun-purple));
}

/* ======================================
   HERO SECTION - EPIC & ANIMATED
   ====================================== */
.hero {
    min-height: 100vh;
    background: var(--bg-gradient);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.castle-silhouette {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><path d="M50 200 L50 150 L70 130 L90 150 L90 120 L110 100 L130 120 L130 100 L150 80 L170 100 L170 120 L190 100 L210 120 L210 150 L230 130 L250 150 L250 200 Z" fill="rgba(0,0,0,0.3)"/></svg>') no-repeat center;
    background-size: contain;
    animation: castleWalk 4s ease-in-out infinite;
}

@keyframes castleWalk {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    25% { transform: translateX(-48%) translateY(-5px); }
    50% { transform: translateX(-50%) translateY(0px); }
    75% { transform: translateX(-52%) translateY(-5px); }
}

.walking-clouds {
    position: absolute;
    top: 20%;
    left: -10%;
    right: -10%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><circle cx="20" cy="10" r="8" fill="white" opacity="0.7"/><circle cx="30" cy="8" r="6" fill="white" opacity="0.7"/><circle cx="25" cy="12" r="5" fill="white" opacity="0.7"/></svg>') repeat-x;
    animation: cloudsMove 20s linear infinite;
}

@keyframes cloudsMove {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.element {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.8;
}

.element.tower { top: 20%; left: 10%; animation-delay: 0s; }
.element.crown { top: 30%; right: 15%; animation-delay: 1.5s; }
.element.sword { bottom: 30%; left: 20%; animation-delay: 3s; }
.element.shield { bottom: 40%; right: 10%; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--text-white);
}

.game-logo .logo-text {
    font-family: var(--font-title);
    margin-bottom: 20px;
}

.logo-text .castle {
    display: block;
    font-size: 4rem;
    color: var(--sunny-yellow);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: titleBounce 2s ease-in-out infinite;
}

.logo-text .royal {
    display: block;
    font-size: 4rem;
    color: var(--text-white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: titleBounce 2s ease-in-out infinite 0.5s;
}

@keyframes titleBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--sunny-yellow);
    font-weight: 600;
}

.funny-intro {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-trailer {
    margin-bottom: 40px;
}

.trailer-placeholder {
    position: relative;
    width: 300px;
    height: 180px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid var(--sunny-yellow);
}

.trailer-placeholder:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-effect);
}

.trailer-placeholder i {
    font-size: 3rem;
    color: var(--sunny-yellow);
    margin-bottom: 10px;
}

.play-button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--sunny-yellow) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.game-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: tagPop 0.5s ease-out;
}

.tag.tower-defense { background: var(--primary-blue); color: white; }
.tag.strategy { background: var(--secondary-green); color: white; }
.tag.cartoon { background: var(--accent-orange); color: white; }
.tag.funny { background: var(--bright-red); color: white; }

@keyframes tagPop {
    0% { transform: scale(0); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.game-status {
    display: flex;
    gap: 20px;
    align-items: center;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 15px;
    font-weight: 600;
    background: var(--fun-purple);
    color: white;
}

.platforms {
    color: var(--text-white);
    font-weight: 500;
}

/* ======================================
   SECTIONS - COLORFUL & ENGAGING
   ====================================== */
.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title i {
    color: var(--primary-blue);
    font-size: 2rem;
}

/* Overview Section */
.overview {
    padding: 100px 0;
    background: var(--bg-white);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.overview-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-fun);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.overview-card:nth-child(1) { border-color: var(--primary-blue); }
.overview-card:nth-child(2) { border-color: var(--secondary-green); }
.overview-card:nth-child(3) { border-color: var(--accent-orange); }
.overview-card:nth-child(4) { border-color: var(--fun-purple); }

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.overview-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.overview-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Mechanics Section */
.mechanics {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-white);
}

.mechanic-section {
    margin-bottom: 50px;
}

.mechanic-header h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--sunny-yellow);
}

.funny-text {
    font-size: 1.2rem;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.towers-section h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--sunny-yellow);
    text-align: center;
}

.towers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.tower-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.tower-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.tower-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.tower-card h4 {
    font-family: var(--font-title);
    margin-bottom: 10px;
    color: var(--sunny-yellow);
}

.hero-section h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--sunny-yellow);
    text-align: center;
}

.resources-section h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--sunny-yellow);
    text-align: center;
}

.resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.resource-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.resource-icon {
    font-size: 2rem;
}

/* Story Section */
.story {
    padding: 100px 0;
    background: var(--bg-white);
}

.story-intro {
    text-align: center;
    margin-bottom: 60px;
}

.story-intro h3 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.epic-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-light);
    background: linear-gradient(45deg, var(--primary-blue), var(--fun-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-section {
    margin-bottom: 40px;
}

.story-section h4 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-orange);
}

.funny-story {
    font-size: 1.1rem;
    line-height: 1.7;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-blue);
}

.castle-story {
    background: linear-gradient(45deg, var(--bg-light), rgba(74, 144, 226, 0.1));
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
}

.castle-story h4 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary-blue);
    text-align: center;
}

.castle-features {
    display: grid;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-fun);
}

.feature-icon {
    font-size: 2rem;
    min-width: 60px;
    text-align: center;
}

.mission {
    text-align: center;
    background: var(--bg-gradient);
    color: var(--text-white);
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
}

.mission h4 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--sunny-yellow);
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Environments Section */
.environments {
    padding: 100px 0;
    background: var(--bg-light);
}

.environments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.environment-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-fun);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.environment-card::before {
    content: '';
    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;
}

.environment-card:hover::before {
    left: 100%;
}

.environment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.env-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: envFloat 3s ease-in-out infinite;
}

@keyframes envFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-5px) scale(1.1); }
}

.environment-card h4 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.environment-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Characters Section */
.characters {
    padding: 100px 0;
    background: var(--bg-white);
}

.characters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.character-section h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.good-guys h3 { color: var(--secondary-green); }
.bad-guys h3 { color: var(--bright-red); }

.character-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.character-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
}

.good-guys .character-card {
    border-left-color: var(--secondary-green);
}

.bad-guys .character-card {
    border-left-color: var(--bright-red);
}

.character-card:hover {
    transform: translateX(10px);
    background: var(--bg-white);
    box-shadow: var(--shadow-fun);
}

.char-icon {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}

.character-card h4 {
    font-family: var(--font-title);
    margin-bottom: 8px;
    color: var(--text-dark);
}

.character-card p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Development Section */
.development {
    padding: 100px 0;
    background: var(--bg-gradient);
    color: var(--text-white);
}

.dev-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.fact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.fact-card h4 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--sunny-yellow);
}

.fact-card ul {
    list-style: none;
}

.fact-card li {
    padding: 8px 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--bg-white);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-title);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-primary.big {
    padding: 18px 36px;
    font-size: 1.2rem;
    border-radius: 30px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 3px solid var(--primary-blue);
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.fun-note {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 15px;
    border: 2px dashed var(--accent-orange);
    max-width: 500px;
    margin: 0 auto;
}

.fun-note p {
    color: var(--text-dark);
    font-size: 1rem;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--sunny-yellow);
}

/* ======================================
   RESPONSIVE DESIGN - IMPROVED
   ====================================== */

/* Main Content Spacing */
.main-content {
    margin-top: 80px; /* Better header clearance */
}

/* Large Tablets */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
    
    .overview-grid,
    .towers-grid,
    .environments-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .characters-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Tablets */
@media (max-width: 968px) {
    .main-content {
        margin-top: 90px;
    }
    
    .overview-grid,
    .towers-grid,
    .environments-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .characters-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .dev-facts {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .logo-text .castle,
    .logo-text .royal {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Mobile and Small Tablets */
@media (max-width: 768px) {
    .main-content {
        margin-top: 100px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 1.5rem;
    }
    
    .nav-title .game-title {
        font-size: 20px;
    }
    
    .hero {
        padding: 60px 0;
        min-height: 70vh;
    }
    
    .logo-text .castle,
    .logo-text .royal {
        font-size: 2.5rem;
    }
    
    .funny-intro {
        font-size: 1.1rem;
        padding: 20px;
    }
    
    .game-tags {
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .quick-actions {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .overview-grid,
    .towers-grid,
    .environments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .resources-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .characters-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .character-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .dev-facts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .release-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .main-content {
        margin-top: 110px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 40px 0;
        min-height: 60vh;
    }
    
    .logo-text .castle,
    .logo-text .royal {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .overview-grid,
    .towers-grid,
    .environments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .resources-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .character-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 0.9rem;
        padding: 12px 20px;
        max-width: 250px;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
        max-height: 90vh;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .notify-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .notify-form input,
    .notify-form button {
        width: 100%;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Very Small Screens */
@media (max-width: 360px) {
    .main-content {
        margin-top: 120px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .logo-text .castle,
    .logo-text .royal {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .character-card,
    .feature {
        padding: 1rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 5px;
    }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 30px 0;
    }
    
    .logo-text .castle,
    .logo-text .royal {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* ======================================
   ANIMATIONS & SPECIAL EFFECTS
   ====================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-in {
    animation: slideInUp 0.6s ease-out;
}

.animate-scale {
    animation: fadeInScale 0.8s ease-out;
}