:root {
    --bg-sky: #87CEEB;
    --bg-sun: #FFD700;
    --bg-panel: #ffffff;
    --border-color: #e0e0e0;

    --mc-green: #74B72E;
    --mc-brown: #8B4513;
    --mc-blue: #4A90E2;
    --mc-gold: #FFB300;
    --mc-iron: #D1D5DB;
    --mc-diamond: #40E0D0;
    --mc-netherite: #4b444b;
    --mc-crossplay: #A855F7;

    --shadow-main: 0 6px 0 rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 2px 0 rgba(0, 0, 0, 0.15);

    --text-main: #4a4a4a;
    --text-heading: #2d2d2d;
    --text-muted: #757575;

    --font-heading: 'Fredoka', sans-serif;
    --font-main: 'Inter', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-sky);
    background-image: linear-gradient(to bottom, #7CDFFF 0%, #D4F0FF 100%);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

h1, h2, h3, .logo, .nav-links, .btn, .plan-name {
    font-family: var(--font-heading);
    color: var(--text-heading);
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* TITLE COLORS */
.mc-title-green { color: var(--mc-green); }
.mc-title-brown { color: var(--mc-brown); }
.mc-title-blue  { color: var(--mc-blue); }
.mc-title-gold  { color: var(--mc-gold); }

/* ========== SKY BG ========== */
.sky-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2; pointer-events: none;
}

.sun {
    position: absolute; top: 50px; left: 10%;
    width: 110px; height: 110px;
    background-color: var(--mc-gold);
    border: 5px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(255, 183, 0, 0.4);
    animation: sunPop 10s infinite alternate ease-in-out;
}
@keyframes sunPop {
    0%   { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.05) rotate(5deg); }
}

.clouds { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2; pointer-events: none; }
.cloud { position: absolute; background: rgba(255,255,255,0.85); border-radius: 4px; box-shadow: 4px 4px 0 rgba(0,0,0,0.05); }
.c-1 { top: 12%; left: -20%; width: 200px; height: 45px; animation: cloudMove 40s linear infinite; }
.c-2 { top: 30%; left: -20%; width: 260px; height: 55px; animation: cloudMove 65s linear infinite 15s; }
.c-3 { top: 58%; left: -20%; width: 170px; height: 38px; animation: cloudMove 50s linear infinite 5s; }
.c-4 { top: 78%; left: -20%; width: 220px; height: 48px; animation: cloudMove 55s linear infinite 25s; }
@keyframes cloudMove { from { transform: translateX(-100%); } to { transform: translateX(120vw); } }

/* ========== MC DECORATIONS ========== */
.mc-decoration {
    position: absolute; z-index: 5; pointer-events: none;
    image-rendering: pixelated; background-size: contain;
    background-repeat: no-repeat; opacity: 0.9;
    filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.15));
}
.mc-decoration.tree {
    width: 90px; height: 120px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 6 8" xmlns="http://www.w3.org/2000/svg"><rect x="1" y="0" width="4" height="1" fill="%23539121"/><rect x="0" y="1" width="6" height="3" fill="%236bbd2b"/><rect x="0" y="4" width="6" height="1" fill="%23539121"/><rect x="2" y="5" width="2" height="3" fill="%238b5a33"/><rect x="1" y="2" width="1" height="1" fill="%2384e535"/><rect x="4" y="3" width="1" height="1" fill="%2384e535"/><rect x="2" y="1" width="1" height="1" fill="%23539121"/><rect x="3" y="6" width="1" height="1" fill="%23663e1f"/></svg>');
}
.mc-decoration.bush {
    width: 50px; height: 50px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 4 4" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="4" height="4" fill="%236bbd2b"/><rect x="1" y="1" width="1" height="1" fill="%2384e535"/><rect x="2" y="3" width="1" height="1" fill="%23539121"/><rect x="3" y="0" width="1" height="1" fill="%23539121"/><rect x="0" y="2" width="1" height="1" fill="%2384e535"/></svg>');
}
.mc-decoration.heart {
    width: 40px; height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 9 8" xmlns="http://www.w3.org/2000/svg"><rect x="1" y="0" width="2" height="1" fill="%23ff3333"/><rect x="6" y="0" width="2" height="1" fill="%23ff3333"/><rect x="0" y="1" width="9" height="3" fill="%23ff3333"/><rect x="1" y="4" width="7" height="1" fill="%23ff3333"/><rect x="2" y="5" width="5" height="1" fill="%23ff3333"/><rect x="3" y="6" width="3" height="1" fill="%23ff3333"/><rect x="4" y="7" width="1" height="1" fill="%23ff3333"/><rect x="1" y="1" width="1" height="1" fill="%23ff9999"/></svg>');
}
.mc-decoration.grass {
    width: 60px; height: 60px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="16" height="4" fill="%236bbd2b"/><rect x="0" y="4" width="16" height="12" fill="%238b5a33"/><rect x="2" y="4" width="2" height="2" fill="%236bbd2b"/><rect x="6" y="4" width="2" height="3" fill="%236bbd2b"/><rect x="12" y="4" width="3" height="2" fill="%236bbd2b"/></svg>');
}
.mc-decoration.block {
    width: 50px; height: 50px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="8" height="8" fill="%23d1d5db"/><rect x="0" y="0" width="8" height="1" fill="%23ffffff"/><rect x="0" y="0" width="1" height="8" fill="%23ffffff"/><rect x="7" y="1" width="1" height="7" fill="%239ca3af"/><rect x="1" y="7" width="7" height="1" fill="%239ca3af"/><rect x="2" y="2" width="4" height="4" fill="%23e5e7eb"/></svg>');
}
.mc-decoration.sword {
    width: 55px; height: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 5 10" xmlns="http://www.w3.org/2000/svg"><rect x="2" y="0" width="1" height="6" fill="%2340E0D0"/><rect x="1" y="1" width="3" height="1" fill="%2340E0D0"/><rect x="1" y="6" width="3" height="1" fill="%23a0522d"/><rect x="2" y="7" width="1" height="3" fill="%23a0522d"/></svg>');
}
.mc-decoration.diamond {
    width: 45px; height: 45px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="0" width="2" height="2" fill="%2340E0D0"/><rect x="1" y="2" width="6" height="2" fill="%2340E0D0"/><rect x="2" y="4" width="4" height="2" fill="%232eb8ae"/><rect x="3" y="6" width="2" height="2" fill="%231a8078"/></svg>');
}

.dec-1  { top: 20vh; left: 5%;    --scale: 1.5; transform: translateY(var(--scroll-y, 0)) scale(var(--scale)); }
.dec-2  { top: 75vh; right: 8%;   --scale: 1.2; transform: translateY(var(--scroll-y, 0)) scale(var(--scale)); }
.dec-3  { top: 110vh; right: 15%; --scale: 0.9; transform: translateY(var(--scroll-y, 0)) scale(var(--scale)); }
.dec-4  { top: 140vh; left: 6%;   --scale: 1.4; transform: translateY(var(--scroll-y, 0)) scale(var(--scale)); z-index: 15; }
.dec-5  { top: 45vh; right: 12%;  --scale: 1.1; transform: translateY(var(--scroll-y, 0)) scale(var(--scale)); }
.dec-6  { top: 180vh; left: 80%;  --scale: 1.3; transform: translateY(var(--scroll-y, 0)) scale(var(--scale)); z-index: 15; }
.dec-7  { top: 220vh; left: 45%;  --scale: 1.8; transform: translateY(var(--scroll-y, 0)) scale(var(--scale)); z-index: 1; }
.dec-8  { top: 200vh; right: 20%; --scale: 0.8; transform: translateY(var(--scroll-y, 0)) scale(var(--scale)); }
.dec-9  { top: 270vh; left: 4%;   --scale: 1.3; transform: translateY(var(--scroll-y, 0)) scale(var(--scale)); }
.dec-10 { top: 300vh; right: 6%;  --scale: 1.1; transform: translateY(var(--scroll-y, 0)) scale(var(--scale)); }

/* ========== NAVBAR ========== */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.9rem 5%;
    background: rgba(255,255,255,0.92);
    border-bottom: 4px solid var(--border-color);
    position: fixed; width: 100%; top: 0; z-index: 100;
    backdrop-filter: blur(8px);
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

.logo { font-size: 2rem; font-weight: 700; letter-spacing: 1px; text-shadow: 2px 2px 0 rgba(0,0,0,0.1); text-decoration: none; }
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-link { color: var(--text-heading); text-decoration: none; font-weight: 600; transition: all 0.2s; font-size: 1.05rem; }
.nav-link:hover { color: var(--mc-green); transform: translateY(-2px); }

/* ========== BUTTONS ========== */
.btn {
    display: inline-block; padding: 0.8rem 1.8rem;
    border-radius: 8px; font-weight: 700; text-decoration: none;
    letter-spacing: 0.5px; transition: all 0.1s; cursor: pointer;
    border: 3px solid transparent; font-family: var(--font-heading);
    font-size: 1.1rem; position: relative; top: 0;
}
.btn:active { top: 4px; box-shadow: var(--shadow-hover) !important; }

.btn-primary { background: var(--mc-green); color: white; border-color: #558E1F; box-shadow: 0 6px 0 #558E1F; }
.btn-primary:hover { background: #87CD3C; transform: translateY(-2px); box-shadow: 0 8px 0 #558E1F; }

.btn-glow { background: var(--mc-blue); color: white; border-color: #357ABD; box-shadow: 0 6px 0 #357ABD; }
.btn-glow:hover { background: #5A9CEB; transform: translateY(-2px); box-shadow: 0 8px 0 #357ABD; }

.btn-outline { background: white; color: var(--text-heading); border-color: #e0e0e0; box-shadow: 0 6px 0 #e0e0e0; }
.btn-outline:hover { background: #f5f5f5; transform: translateY(-2px); box-shadow: 0 8px 0 #e0e0e0; }

.btn-large { padding: 1rem 2.5rem; font-size: 1.25rem; }

.btn-crossplay { background: var(--mc-crossplay); color: white; border-color: #8b43cc; box-shadow: 0 6px 0 #8b43cc; }
.btn-crossplay:hover { background: #b875f8; transform: translateY(-2px); box-shadow: 0 8px 0 #8b43cc; }

/* ========== BOUNCE ANIMATION ========== */
.bounce-animation { display: inline-block; animation: textBounce 2s infinite ease-in-out; }
@keyframes textBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px) rotate(2deg); } }

/* ========== HERO ========== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 8rem 1rem 4rem; position: relative; z-index: 10;
}
.hero-content {
    background: rgba(255,255,255,0.88);
    padding: 3.5rem 3rem;
    border-radius: 24px;
    border: 4px solid white;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 0 0 8px rgba(255,255,255,0.3);
    backdrop-filter: blur(8px);
    max-width: 850px;
}
.hero-badge {
    display: inline-block;
    background: #E8F4FF;
    border: 2px solid var(--mc-blue);
    color: var(--mc-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.main-title {
    font-size: 4.2rem; font-weight: 700; line-height: 1.2;
    margin-bottom: 1.5rem; text-shadow: 3px 3px 0 rgba(0,0,0,0.08);
}
.hero-subtitle {
    font-size: 1.25rem; color: var(--text-main);
    margin-bottom: 2.5rem; max-width: 680px;
    margin-left: auto; margin-right: auto; font-weight: 500;
}
.hero-actions { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.stat { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--text-heading); background: rgba(255,255,255,0.7); border: 2px solid var(--border-color); padding: 0.5rem 1.2rem; border-radius: 50px; }
.stat-num { font-size: 1.3rem; }

/* ========== SECTION COMMONS ========== */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { font-size: 3rem; margin-bottom: 0.5rem; text-shadow: 2px 2px 0 rgba(0,0,0,0.1); }
.section-subtitle { font-size: 1.2rem; color: var(--text-muted); }

/* ========== FEATURES ========== */
.features-section { padding: 6rem 0; position: relative; z-index: 10; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-card {
    background: white; border: 4px solid var(--border-color);
    border-radius: 16px; padding: 2.5rem 2rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 8px 0 var(--border-color);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 16px 0 var(--border-color); border-color: var(--mc-blue); }
.feature-icon { font-size: 3.5rem; margin-bottom: 1.5rem; }
.feature-title { font-size: 1.5rem; margin-bottom: 0.8rem; }
.feature-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* ========== PRICING ========== */
.pricing-section { padding: 6rem 0; position: relative; z-index: 10; }
.pricing-container {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem; align-items: stretch;
}
.loading-plans { text-align: center; font-size: 1.5rem; font-family: var(--font-heading); color: var(--text-muted); padding: 3rem; grid-column: 1/-1; }

.pricing-card {
    background: white; border: 4px solid var(--plan-color);
    border-radius: 16px; width: 100%;
    padding: 2.5rem 1.5rem; position: relative;
    transition: transform 0.15s, box-shadow 0.15s;
    overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 8px 0 var(--plan-color);
    transform-style: preserve-3d;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 16px 0 var(--plan-color); }
.card-content { display: flex; flex-direction: column; flex: 1; }

.plan-hierro  { --plan-color: var(--mc-iron); }
.plan-oro     { --plan-color: var(--mc-gold); }
.plan-diamante{ --plan-color: #5ce3d8; }
.plan-netherita { --plan-color: var(--mc-netherite); background: #2a2a2e; color: white; }
.plan-netherita .plan-name, .plan-netherita .plan-price,
.plan-netherita .period, .plan-netherita .currency,
.plan-netherita .plan-desc { color: #e0e0e0; }

.popular-badge {
    position: absolute; top: 1.5rem; right: -2rem;
    background: var(--mc-gold); color: #4a3400;
    font-size: 0.8rem; font-weight: 800;
    padding: 0.5rem 3rem; transform: rotate(45deg);
    box-shadow: 0 4px 0 rgba(0,0,0,0.1);
    font-family: var(--font-heading);
}

.plan-name { font-size: 1.9rem; margin-bottom: 0.8rem; text-shadow: 1px 1px 0 rgba(0,0,0,0.1); }
.plan-price { margin-bottom: 0.8rem; }
.currency { font-size: 1.4rem; vertical-align: top; color: var(--text-muted); font-weight: 700; margin-top: 0.3rem; display: inline-block; }
.amount { font-size: 3.5rem; font-weight: 800; line-height: 1; font-family: var(--font-heading); }
.period { color: var(--text-muted); font-weight: 600; }
.plan-name-wrap { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.plan-icon { font-size: 2rem; line-height: 1; }
.plan-name { margin-bottom: 0 !important; }

.plan-ideal {
    font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.5rem;
    background: #f7faf0; border-left: 3px solid var(--mc-green);
    padding: 0.6rem 0.9rem; border-radius: 0 8px 8px 0;
}
.plan-netherita .plan-ideal { background: rgba(255,255,255,0.08); border-left-color: #8b51d1; color: #ccc; }
.plan-features { list-style: none; margin-bottom: 2rem; }
.plan-features li { margin-bottom: 0.9rem; font-size: 0.95rem; display: flex; align-items: center; font-weight: 500; }

.icon-check {
    display: inline-block; width: 20px; height: 20px; border-radius: 4px;
    background: var(--plan-color); margin-right: 12px; position: relative;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.1); flex-shrink: 0;
}
.icon-check::after {
    content: ''; position: absolute; top: 4px; left: 7px;
    width: 4px; height: 8px; border: solid white;
    border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.plan-oro .icon-check::after, .plan-hierro .icon-check::after { border-color: #333; }

.btn-plan { display: block; text-align: center; width: 100%; margin-top: auto; font-size: 1.05rem; }
.btn-hierro   { background: #e5e7eb; color: #374151; border-color: #d1d5db; box-shadow: 0 4px 0 #d1d5db; }
.btn-oro      { background: var(--mc-gold); color: #4a3400; border-color: #cca300; box-shadow: 0 4px 0 #cca300; }
.btn-diamante { background: #5ce3d8; color: #115e59; border-color: #3fbdb3; box-shadow: 0 4px 0 #3fbdb3; }
.btn-netherita{ background: #625962; color: white; border-color: #3a343a; box-shadow: 0 4px 0 #3a343a; }
.btn-plan:hover { transform: translateY(-2px); }
.btn-hierro:hover   { box-shadow: 0 6px 0 #d1d5db; background: #f3f4f6; }
.btn-oro:hover      { box-shadow: 0 6px 0 #cca300; background: #ffd700; }
.btn-diamante:hover { box-shadow: 0 6px 0 #3fbdb3; background: #7eeae2; }
.btn-netherita:hover { box-shadow: 0 6px 0 #3a343a; background: #7b717b; }

/* ========== SCROLL ANIMATIONS ========== */
.anim-hidden { opacity: 0; transform: translateY(30px); transition: opacity 0.5s ease, transform 0.5s ease; }
.anim-hidden.visible { opacity: 1; transform: translateY(0); }

/* ========== EXTRA SERVICES ========== */
.extras-section { padding: 4rem 0 2rem; position: relative; z-index: 10; }
.extras-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.extra-card {
    background: white; border: 4px solid var(--border-color); border-radius: 16px;
    padding: 2rem 1.5rem; text-align: center;
    box-shadow: 0 6px 0 var(--border-color);
    transition: transform 0.2s, border-color 0.2s;
}
.extra-card:hover { transform: translateY(-6px); border-color: var(--mc-gold); box-shadow: 0 12px 0 var(--mc-gold); }
.extra-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.extra-card h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 0.5rem; }
.extra-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.extra-price { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--mc-green); }

/* ========== CROSSPLAY ========== */
.crossplay-section { padding: 4rem 0 6rem; position: relative; z-index: 10; }
.crossplay-card {
    background: white; border: 4px solid var(--mc-crossplay);
    border-radius: 24px; padding: 3rem;
    display: flex; align-items: center; gap: 3rem;
    max-width: 900px; margin: 0 auto;
    box-shadow: 0 8px 0 var(--mc-crossplay);
    transition: transform 0.2s;
}
.crossplay-card:hover { transform: translateY(-6px); box-shadow: 0 14px 0 var(--mc-crossplay); }
.crossplay-icon {
    font-size: 5rem;
    background: #f3e8ff;
    width: 140px; height: 140px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 4px solid var(--mc-crossplay);
    flex-shrink: 0; animation: iconFloat 4s infinite ease-in-out;
}
@keyframes iconFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.crossplay-badge {
    display: inline-block; background: #f3e8ff; border: 2px solid var(--mc-crossplay);
    color: var(--mc-crossplay); font-family: var(--font-heading); font-weight: 700;
    padding: 0.3rem 1rem; border-radius: 50px; margin-bottom: 1rem; font-size: 0.9rem;
}
.crossplay-content h2 { font-size: 2.4rem; margin-bottom: 1rem; }
.crossplay-content p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }
.crossplay-features { list-style: none; display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }
.crossplay-features li { display: flex; align-items: center; gap: 8px; font-weight: 600; background: #f9f0ff; padding: 0.5rem 1rem; border-radius: 8px; }
.crossplay-features .icon-check { --plan-color: var(--mc-crossplay); }

/* ========== FAQ ========== */
.faq-section { padding: 6rem 0; position: relative; z-index: 10; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: white; border: 4px solid var(--border-color);
    border-radius: 16px; margin-bottom: 1rem;
    box-shadow: 0 4px 0 var(--border-color);
    overflow: hidden; cursor: pointer;
    transition: border-color 0.2s;
}
.faq-item:hover, .faq-item.open { border-color: var(--mc-green); box-shadow: 0 4px 0 var(--mc-green); }
.faq-question {
    padding: 1.4rem 2rem;
    font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600;
    display: flex; justify-content: space-between; align-items: center;
    user-select: none;
}
.faq-icon { font-size: 1.5rem; color: var(--mc-green); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-answer p { padding: 0 2rem 1.5rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ========== FOOTER ========== */
footer {
    background: white; border-top: 4px solid var(--border-color);
    padding: 3rem 5%; text-align: center; position: relative; z-index: 10;
}
.footer-content .logo { display: inline-block; }
.footer-content p { color: var(--text-muted); font-size: 1rem; font-weight: 500; margin: 0.8rem 0; }
.footer-links { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.footer-links a { color: var(--mc-blue); text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.footer-links span { color: var(--text-muted); }
.copyright { font-size: 0.9rem; color: var(--text-muted); margin-top: 1.5rem; }

/* ========== MODAL ========== */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; display: flex; justify-content: center; align-items: center; }
.modal.hidden { display: none; }
.modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(20,20,30,0.7); backdrop-filter: blur(8px); }
.modal-content {
    position: relative; z-index: 1001;
    background: white; border-radius: 24px; border: 4px solid var(--mc-green);
    box-shadow: 0 10px 0 var(--mc-green), 0 20px 60px rgba(0,0,0,0.3);
    width: 90%; max-width: 480px; overflow: hidden;
}
@keyframes popIn { 0% { transform: scale(0.85); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.pop-in { animation: popIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.modal-header {
    background: linear-gradient(135deg, var(--mc-green), #87CD3C);
    color: white; padding: 2rem; text-align: center;
}
.modal-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.modal-header h2 { color: white; font-size: 1.8rem; margin-bottom: 0.5rem; }
.modal-price { font-size: 2.5rem; font-weight: 800; font-family: var(--font-heading); }
.modal-period { font-size: 1rem; font-weight: 500; opacity: 0.85; }
.modal-body { padding: 2rem; }
.close-btn {
    position: absolute; top: 12px; right: 16px;
    background: rgba(255,255,255,0.2); border: none;
    color: white; font-size: 1.2rem; width: 32px; height: 32px;
    border-radius: 8px; cursor: pointer; transition: background 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.close-btn:hover { background: rgba(255,255,255,0.35); }
.input-group { margin-bottom: 1.5rem; }
.input-group label { display: block; font-weight: 700; margin-bottom: 0.6rem; font-family: var(--font-heading); font-size: 1.05rem; }
.input-group input {
    width: 100%; padding: 1rem; border-radius: 10px;
    border: 3px solid var(--border-color); font-size: 1.05rem;
    transition: border-color 0.2s; font-family: var(--font-main);
}
.input-group input:focus { outline: none; border-color: var(--mc-green); }
.status-msg { text-align: center; font-family: var(--font-heading); font-size: 1.05rem; color: var(--mc-green); margin-top: 1rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) { .pricing-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .main-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .nav-links { display: none; }
    .navbar { padding: 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .pricing-container { grid-template-columns: 1fr; }
    .crossplay-card { flex-direction: column; text-align: center; }
    .crossplay-features { justify-content: center; }
    .mc-decoration, .sky-bg, .clouds { display: none; }
    body { background: #D4F0FF; }
}
