/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF0000;
    --primary-dark: #CC0000;
    --secondary: #3B4CCA;
    --secondary-dark: #2C3A9A;
    --yellow: #FFDE00;
    --yellow-dark: #FFB700;
    --pokedex-red: #dc0a2d;
    --pokedex-blue: #3466af;
    --pokedex-green: #59a96a;
    --screen-bg: #98cb98;
    --screen-border: #2d5016;
    --bg-dark: #1a1a2e;
    --bg-darker: #16213e;
    --card-bg: rgba(220, 10, 45, 0.1);
    --card-border: rgba(255, 255, 255, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --pixel-font: 'Press Start 2P', cursive;
    --normal-font: 'Poppins', sans-serif;
    --shadow: 0 8px 0 rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 0 rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--normal-font);
    background: #16213e;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== PARTICLES BACKGROUND (POKEDEX STYLE) ===== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: 
        linear-gradient(90deg, rgba(220, 10, 45, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(220, 10, 45, 0.05) 1px, transparent 1px),
        linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    background-size: 20px 20px, 20px 20px, 100% 100%;
}

/* ===== NAVIGATION (POKEDEX TOP BAR) ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--pokedex-red);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5), inset 0 -2px 0 rgba(255, 255, 255, 0.2);
    border-bottom: 4px solid #8b0000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    animation: rotate 3s ease-in-out infinite;
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.5));
}

@keyframes rotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.nav-title {
    font-size: 1.2rem;
    font-weight: 900;
    font-family: var(--pixel-font);
    color: white;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--pixel-font);
    font-size: 0.6rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===== HERO SECTION (POKEDEX SCREEN) ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    height: 70%;
    background: var(--screen-bg);
    border: 8px solid var(--screen-border);
    border-radius: 20px;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.3),
        0 8px 0 rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    max-width: 1100px;
    width: 100%;
    z-index: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 0 2rem;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-family: var(--pixel-font);
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    color: white;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.gradient-text {
    color: var(--pokedex-red);
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.6);
    font-weight: 600;
    max-width: 500px;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.75rem 1rem;
    border-radius: 6px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    font-family: var(--pixel-font);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    border: 4px solid rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: var(--pokedex-red);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 rgba(0, 0, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}

.btn-primary img {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
    image-rendering: pixelated;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.btn-secondary {
    background: var(--pokedex-blue);
    color: white;
    border: 4px solid rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 rgba(0, 0, 0, 0.4);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}

.hero-pokemon {
    flex: 0 0 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.pokemon-float {
    width: 280px;
    height: 280px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(8px 8px 0 rgba(0, 0, 0, 0.4));
    image-rendering: pixelated;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== ANIMATIONS ===== */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== STATS SECTION (POKEDEX CARDS) ===== */
.stats-section {
    padding: 80px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--pokedex-red);
    border: 4px solid #8b0000;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    position: relative;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 0 rgba(0, 0, 0, 0.4);
}

.stat-card:active {
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.5));
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--pixel-font);
    color: var(--yellow);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.stat-label {
    color: white;
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 20px;
}

.section-alt {
    background: rgba(0, 0, 0, 0.2);
    border-top: 4px solid var(--pokedex-red);
    border-bottom: 4px solid var(--pokedex-red);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: var(--pixel-font);
    color: var(--yellow);
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.title-icon {
    font-size: 2.5rem;
    filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.5));
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

/* ===== COMMANDS GRID ===== */
.commands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.command-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
}

.command-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.5);
    border-color: var(--yellow);
}

.command-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 4px solid rgba(0, 0, 0, 0.3);
}

.command-header.starter { background: linear-gradient(135deg, #3d7a20, #7fb84d); }
.command-header.profile { background: linear-gradient(135deg, #667eea, #764ba2); }
.command-header.collection { background: linear-gradient(135deg, #d861e0, #c93352); }
.command-header.info { background: linear-gradient(135deg, #2b7fc4, #00a8b8); }
.command-header.buddy { background: linear-gradient(135deg, #d84873, #e0b020); }
.command-header.team { background: linear-gradient(135deg, #30cfd0, #330867); }
.command-header.moves { background: linear-gradient(135deg, #6cc4cf, #e8a4b0); }
.command-header.battle { background: linear-gradient(135deg, #cc0635, #d87d6f); }
.command-header.catch { background: linear-gradient(135deg, #e0b895, #d18560); }

.command-icon {
    font-size: 2rem;
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.5));
}

.command-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.7), 0 0 10px rgba(0, 0, 0, 0.5);
    color: white;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.command-body {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
}

.command-syntax {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: var(--pixel-font);
    font-size: 0.7rem;
    color: var(--yellow);
    margin-bottom: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.command-desc {
    color: white;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.command-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature {
    background: rgba(220, 10, 45, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 2px solid rgba(220, 10, 45, 0.5);
    color: white;
    font-weight: 600;
}

.difficulty-easy { background: rgba(46, 213, 115, 0.2); color: #2ed573; }
.difficulty-medium { background: rgba(255, 234, 167, 0.2); color: #ffeaa7; }
.difficulty-hard { background: rgba(255, 118, 117, 0.2); color: #ff7675; }
.difficulty-nightmare { background: rgba(214, 48, 49, 0.2); color: #d63031; }

.command-example,
.command-tip {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border-left: 4px solid var(--secondary);
}

code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: var(--yellow);
}

/* ===== MECHANICS ===== */
.mechanics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mechanic-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.2s ease;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
}

.mechanic-card:hover {
    transform: translateY(-4px);
    border-color: var(--yellow);
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.5);
}

.mechanic-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.5));
}

.mechanic-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--pixel-font);
    color: var(--yellow);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.mechanic-card p {
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.mechanic-list {
    list-style: none;
    padding: 0;
}

.mechanic-list li {
    padding: 0.5rem 0;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.iv-quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.quality-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.75rem 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.quality-item:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--yellow);
    transform: scale(1.05);
}

.quality-emoji {
    font-size: 1.8rem;
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.5));
}

.quality-text {
    font-family: var(--pixel-font);
    font-size: 0.6rem;
    color: var(--yellow);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.quality-label {
    font-size: 0.8rem;
    color: white;
    font-weight: 600;
    text-align: center;
}

/* ===== BATTLE GUIDE ===== */
.battle-guide {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.battle-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.2s ease;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
}

.battle-step:hover {
    transform: translateX(8px);
    border-color: var(--yellow);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.5);
}

.step-number {
    min-width: 60px;
    height: 60px;
    background: var(--pokedex-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--pixel-font);
    color: white;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--pixel-font);
    color: var(--yellow);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.step-content p {
    color: white;
    line-height: 1.8;
}

.type-chart-section {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
}

.subsection-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: var(--pixel-font);
    color: var(--yellow);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.subsection-desc {
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.type-effectiveness {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.effectiveness-box {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.effectiveness-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.4);
}

.effectiveness-box.super {
    background: linear-gradient(135deg, #1a6e3a, #4a9f5f);
    color: white;
}

.effectiveness-box.normal {
    background: linear-gradient(135deg, #6b8e5f, #8ba876);
    color: white;
}

.effectiveness-box.weak {
    background: linear-gradient(135deg, #b8580a, #d67a2f);
    color: white;
}

.effectiveness-box.immune {
    background: linear-gradient(135deg, #4a4a4a, #3a3a3a);
    color: white;
}

.eff-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.5));
}

.eff-label {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    color: white;
}

.eff-value {
    font-size: 1rem;
    opacity: 1;
    color: white;
    font-weight: 600;
}

/* ===== TIPS ===== */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
}

.tip-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    width: 100%;
    overflow: hidden;
}

.tip-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--pixel-font);
    color: var(--yellow);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.tip-card p {
    color: white;
    line-height: 1.6;
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.tip-card:hover {
    transform: translateY(-4px);
    border-color: var(--yellow);
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.5);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.5));
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem 20px 1rem;
    border-top: 4px solid var(--pokedex-red);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    image-rendering: pixelated;
}

.footer-brand h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: var(--pixel-font);
    color: var(--yellow);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.footer-brand p {
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links h4,
.footer-info h4 {
    margin-bottom: 1rem;
    color: var(--yellow);
    font-family: var(--pixel-font);
    font-size: 1rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--yellow);
    transform: translateX(5px);
}

.footer-info p {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) and (min-width: 769px) {
    .commands-grid,
    .mechanics-grid,
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content {
        gap: 2rem;
    }

    .pokemon-float {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-text {
        order: 1;
    }

    .hero-pokemon {
        order: 2;
        margin-top: 2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .pokemon-float {
        width: 220px;
        height: 220px;
    }

    .nav-menu {
        display: none;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .commands-grid,
    .mechanics-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .battle-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .iv-quality-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .commands-grid,
    .mechanics-grid,
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .command-syntax {
        font-size: 0.6rem;
    }
}
