@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --primary: #3cffaf;
    --secondary: #1effcb;
    --accent: #65ff93;
    --mc-gold: var(--primary);
    --text: #e8f9ff;
    --muted: rgba(232, 249, 255, 0.68);
    --bg: #050912;
    --surface: rgba(12, 18, 26, 0.55);
    --surface-strong: rgba(15, 20, 26, 0.78);
    --border: rgba(0, 255, 170, 0.25);
    --shadow: rgba(0, 255, 170, 0.18);
    --glitch: rgba(0, 255, 190, 0.88);
    --grid: rgba(0, 255, 170, 0.05);
    --radius: 1.35rem;
    --transition: 180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, rgba(0, 255, 170, 0.14), transparent 70%),
                radial-gradient(circle at 30% 20%, rgba(0, 250, 255, 0.18), transparent 60%),
                linear-gradient(135deg, var(--bg), #02080b);
    color: var(--text);
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    width: 100%;
    background: rgba(7, 12, 18, 0.14);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(22px);
}

header .container {
    max-width: 1120px;
}

header a {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

header a:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.section {
    padding: 5rem 0;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: radial-gradient(circle at 10% 10%, rgba(0, 255, 220, 0.22), transparent 60%),
                      radial-gradient(circle at 70% 60%, rgba(0, 255, 190, 0.18), transparent 55%),
                      linear-gradient(45deg, rgba(0, 255, 170, 0.12) 0%, transparent 70%);
    opacity: 0.92;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, var(--grid) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
    background-size: 140px 140px;
    pointer-events: none;
    opacity: 0.38;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

::selection {
    background: rgba(0, 102, 255, 0.25);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--primary);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4.5rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 999px;
    padding: 0.85rem 1.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 255, 180, 0.12);
}

.btn-primary {
    background: linear-gradient(120deg, rgba(0, 255, 170, 0.9), rgba(0, 220, 255, 0.8));
    color: var(--bg);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 190, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 50px rgba(0, 255, 190, 0.3);
}

.btn-secondary {
    background: rgba(18, 26, 34, 0.65);
    border: 1px solid rgba(0, 255, 190, 0.18);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(18, 26, 34, 0.8);
    box-shadow: 0 12px 28px rgba(0, 255, 190, 0.18);
}

.nav-link {
    position: relative;
    padding: 0.35rem 0;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-radius: 999px;
}

.nav-link:hover {
    color: #f0ffff;
}

.nav-link:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.nav-link.active {
    color: #f0ffff;
}

.card {
    background: rgba(15, 20, 26, 0.55);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(0, 255, 170, 0.22);
    border-radius: 1.25rem;
    padding: 2.2rem;
    box-shadow: 0 22px 42px rgba(0, 255, 170, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 50px rgba(0, 255, 170, 0.28);
}

.card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.55), rgba(0, 220, 255, 0.45));
    opacity: 0;
    filter: blur(18px);
    transition: opacity 0.25s ease;
    z-index: -1;
}

.card:hover::before {
    opacity: 1;
}

.section-title {
    font-weight: 800;
    font-size: 3.8rem;
    letter-spacing: 0.02em;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 180, 0.7);
}

.section-subtitle {
    color: var(--muted);
    max-width: 620px;
    margin: 1rem auto 0;
    font-size: 1.2rem;
    line-height: 1.7;
}

.minecraft-title {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    background: linear-gradient(120deg, rgba(0, 255, 170, 0.95), rgba(0, 211, 255, 0.85));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 255, 190, 0.55);
}



.server-ip {
    display: inline-block;
    max-width: 90vw;
    padding: 1.35rem 1.6rem;
    border-radius: 1.25rem;
    border: 2px solid rgba(0, 255, 170, 0.35);
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: clamp(0.95rem, 2vw, 1.8rem);
    word-break: break-word;
    overflow-wrap: break-word;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: rgba(15, 20, 26, 0.55);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 25px rgba(0, 255, 170, 0.25);
}

.server-status-card {
    display: grid;
    gap: 0.5rem;
    padding: 1.15rem 1.4rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(0, 255, 170, 0.2);
    background: rgba(16, 22, 30, 0.55);
    backdrop-filter: blur(18px);
    box-shadow: 0 14px 35px rgba(0, 255, 170, 0.15);
}

.server-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.status-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-value {
    font-weight: 700;
    color: #e7fffb;
    font-size: 0.95rem;
    text-align: right;
}

.info-online {
    color: #7cff55;
}

.info-offline {
    color: rgba(255, 120, 120, 0.9);
}

@media (hover: hover) and (pointer: fine) {
    .server-ip:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4);
    }
}

.glitch {
    position: relative;
    color: white;
    letter-spacing: 0.02em;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    animation: glitch-anim 2.2s infinite linear alternate-reverse;
    color: var(--primary);
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(0, 9999px, 0, 0);
}

.glitch::after {
    animation: glitch-anim2 2.7s infinite linear alternate-reverse;
    color: var(--secondary);
    left: -2px;
    text-shadow: 2px 0 #00ffff;
    clip: rect(0, 9999px, 0, 0);
}

@keyframes glitch-anim {
    0% { clip: rect(16px, 9999px, 40px, 0); }
    20% { clip: rect(70px, 9999px, 92px, 0); }
    40% { clip: rect(32px, 9999px, 70px, 0); }
    60% { clip: rect(52px, 9999px, 96px, 0); }
    80% { clip: rect(14px, 9999px, 40px, 0); }
    100% { clip: rect(88px, 9999px, 118px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(54px, 9999px, 78px, 0); }
    20% { clip: rect(28px, 9999px, 58px, 0); }
    40% { clip: rect(88px, 9999px, 110px, 0); }
    60% { clip: rect(40px, 9999px, 72px, 0); }
    80% { clip: rect(18px, 9999px, 44px, 0); }
    100% { clip: rect(66px, 9999px, 96px, 0); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    25% { transform: skew(3deg); }
    50% { transform: skew(-3deg); }
    75% { transform: skew(2deg); }
    100% { transform: skew(0deg); }
}

.hero-bg {
    filter: blur(6px) opacity(0.35);
}

.footer-card {
    background: linear-gradient(135deg, rgba(8, 10, 18, 0.9), rgba(3, 3, 5, 0.85));
}

@media (max-width: 640px) {
    .container { padding: 0 1rem; }
}

/* Hover only on desktop */
@media (hover: hover) and (pointer: fine) {
    .server-ip:hover {
        transform: scale(1.03);
        box-shadow: 0 0 25px var(--glitch-color);
    }
}
.glitch {
    position: relative;
    color: white;
    font-size: 4.5rem;
    letter-spacing: 0.1em;
    animation: glitch-skew 4s infinite linear alternate-reverse;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.glitch::before {
    animation: glitch-anim 2s infinite linear alternate-reverse;
    color: var(--glitch-color);
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(0, 900px, 0, 0);
}
.glitch::after {
    animation: glitch-anim2 1.5s infinite linear alternate-reverse;
    color: var(--glitch-color);
    left: -2px;
    text-shadow: 2px 0 #00ffff;
    clip: rect(0, 900px, 0, 0);
}
@keyframes glitch-anim { 0%{clip:rect(20px,9999px,40px,0)} 5%{clip:rect(70px,9999px,90px,0)} 10%{clip:rect(30px,9999px,60px,0)} 15%{clip:rect(80px,9999px,100px,0)} 20%{clip:rect(10px,9999px,50px,0)} }
@keyframes glitch-anim2 { 0%{clip:rect(60px,9999px,80px,0)} 5%{clip:rect(30px,9999px,50px,0)} 10%{clip:rect(90px,9999px,110px,0)} 15%{clip:rect(40px,9999px,70px,0)} 20%{clip:rect(20px,9999px,40px,0)} }
@keyframes glitch-skew { 0%{transform:skew(0deg)} 10%{transform:skew(5deg)} 20%{transform:skew(-5deg)} 30%{transform:skew(3deg)} }

.minecraft-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 0 30px var(--accent);
}
.server-ip:hover {
    transform: scale(0.83);
    box-shadow: 0 0 25px var(--glitch-color);
}
.step-number {
    background: linear-gradient(45deg, var(--accent), #1e40af);
    box-shadow: 0 0 20px var(--glitch-color);
}

.accent-cyan { color: var(--glitch-color); }
.accent-blue { color: var(--accent); }
.border-blue { border-color: var(--accent); }
.bg-blue { background-color: var(--accent); }
.hero-bg { filter: blur(6px); }

.footer-card {
    background: linear-gradient(135deg, #0a2540, #051c2e);
}

/* Global background animation */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at top, rgba(0, 102, 255, 0.22), transparent 55%),
                radial-gradient(circle at 30% 30%, rgba(0, 204, 255, 0.16), transparent 55%),
                radial-gradient(circle at 70% 80%, rgba(0, 51, 204, 0.14), transparent 55%);
    opacity: 0.75;
    filter: blur(30px);
    animation: hueRotate 18s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.02) 1px,
        rgba(0, 0, 0, 0) 1px,
        rgba(0, 0, 0, 0) 2px
    );
    pointer-events: none;
    opacity: 0.22;
}

@keyframes hueRotate {
    0% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(45deg); }
    100% { filter: hue-rotate(0deg); }
}

/* Loading overlay (Cloudflare-style buffer) */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px);
    display: grid;
    place-items: center;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-card {
    width: min(92vw, 420px);
    padding: 2.6rem 2.2rem;
    border-radius: 1.5rem;
    background: rgba(9, 11, 16, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    text-align: center;
    animation: float 8s ease-in-out infinite;
}

.loader {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.18);
    border-top-color: var(--primary);
    animation: spin 1.2s linear infinite;
    margin: 0 auto 1.2rem;
}

.loading-progress {
    width: 100%;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin: 1.2rem 0;
}

.loading-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 0 14px rgba(0, 102, 255, 0.5);
    transition: width 0.25s ease;
}

.loading-text {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.loading-text strong {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.35rem;
}

.loading-status {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    letter-spacing: 0.03em;
}

@keyframes spin {
    to { transform: rotate(1turn); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Extra flare */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-primary {
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: -35%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 102, 255, 0.18), transparent 55%);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.hero-bg {
    animation: shimmer 12s linear infinite;
    background-size: 220% 220%;
}

.hero-flares {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 20%, rgba(0, 102, 255, 0.22), transparent 40%),
                radial-gradient(circle at 80% 30%, rgba(0, 204, 255, 0.18), transparent 40%),
                radial-gradient(circle at 50% 80%, rgba(0, 51, 204, 0.18), transparent 45%);
    opacity: 0.8;
    mix-blend-mode: screen;
    animation: pulse 9s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: translateY(0); }
    50% { opacity: 0.85; transform: translateY(-6px); }
}

/* ========== CARTOONY MINECRAFT STYLING ========== */

/* Cartoony font for titles */
.cartoony-title {
    font-family: 'Fredoka', system-ui;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--mc-gold);
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(212, 175, 55, 0.4);
    transform: perspective(600px) rotateX(0deg);
}

.cartoony-title:hover {
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5),
                 0 0 30px rgba(212, 175, 55, 0.8),
                 0 0 60px rgba(212, 175, 55, 0.4);
}

/* Minecraft-style button */
.btn-minecraft {
    background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
    color: #fff;
    border: 3px solid #5a2d0c;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
                0 4px 0 #3d1f07;
    transition: all 0.1s ease;
    transform: translateY(0);
}

.btn-minecraft:hover {
    background: linear-gradient(180deg, #a0522d 0%, #8B4513 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
                0 6px 0 #3d1f07;
    transform: translateY(-2px);
}

.btn-minecraft:active {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
                0 2px 0 #3d1f07;
    transform: translateY(2px);
}

/* Cartoony card styling */
.cartoony-card {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.1) 0%, 
        rgba(85, 255, 85, 0.05) 100%);
    border: 4px solid var(--mc-gold);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.1),
                0 4px 10px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(212, 175, 55, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    transform: perspective(1000px) rotateY(0deg);
}

.cartoony-card:hover {
    transform: translateY(-8px) perspective(1000px) rotateY(2deg);
    box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.2),
                0 8px 20px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(212, 175, 55, 0.4);
    border-color: var(--mc-yellow);
}

/* Blocky animations */
@keyframes minecraft-bob {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.minecraft-bob {
    animation: minecraft-bob 2s ease-in-out infinite;
}

/* Logo styling */
.logo-minecraft {
    width: 50px;
    height: 50px;
    border-radius: 0.9rem;
    filter: drop-shadow(0 4px 14px rgba(0, 255, 180, 0.35));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.logo-minecraft:hover {
    transform: translateY(-1px) scale(1.02);
    filter: drop-shadow(0 6px 18px rgba(0, 255, 180, 0.45));
}

/* Enhanced section styling */
.section-minecraft {
    background: linear-gradient(180deg, 
        rgba(10, 10, 20, 0.8) 0%,
        rgba(20, 15, 30, 0.6) 50%,
        rgba(10, 10, 20, 0.8) 100%);
    border-top: 4px solid var(--mc-gold);
    border-bottom: 4px solid var(--mc-gold);
    position: relative;
}

.section-minecraft::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, 
        rgba(212, 175, 55, 0.08), transparent 60%),
                radial-gradient(circle at 80% 50%, 
        rgba(85, 255, 85, 0.05), transparent 60%);
    pointer-events: none;
}

/* Vote card enhancement */
.vote-card {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.15) 0%, 
        rgba(85, 255, 85, 0.08) 100%);
    border: 3px solid var(--mc-gold);
    border-radius: 6px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    cursor: pointer;
}

.vote-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--mc-yellow);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3),
                inset 0 0 15px rgba(212, 175, 55, 0.2);
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.25) 0%, 
        rgba(85, 255, 85, 0.15) 100%);
}

.vote-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.vote-card:hover .vote-emoji {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
}

/* Rules card styling */
.rule-card {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.12) 0%, 
        rgba(85, 255, 85, 0.06) 100%);
    border: 3px solid var(--mc-gold);
    border-radius: 6px;
    padding: 1.8rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rule-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--mc-yellow);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3),
                inset 0 0 15px rgba(212, 175, 55, 0.1);
}

.rule-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--mc-gold);
    font-family: 'Fredoka', system-ui;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.rule-emoji {
    font-size: 2.5rem;
    text-align: right;
    transition: all 0.3s ease;
}

.rule-card:hover .rule-emoji {
    font-size: 3.5rem;
    transform: rotate(20deg) scale(1.2);
}

.rule-title {
    font-family: 'Fredoka', system-ui;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mc-gold);
    margin: 0.8rem 0;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

/* Minecraft fire effect background */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 100, 0, 0.15), transparent 25%),
        radial-gradient(circle at 20% 15%, rgba(255, 150, 0, 0.12), transparent 30%),
        radial-gradient(circle at 15% 25%, rgba(255, 200, 0, 0.08), transparent 35%),
        radial-gradient(circle at 30% 10%, rgba(255, 80, 0, 0.12), transparent 28%),
        radial-gradient(circle at 5% 35%, rgba(255, 120, 0, 0.14), transparent 32%),
        radial-gradient(circle at 25% 30%, rgba(255, 180, 0, 0.1), transparent 33%),
        radial-gradient(circle at 70% 20%, rgba(255, 100, 0, 0.12), transparent 26%),
        radial-gradient(circle at 80% 15%, rgba(255, 150, 0, 0.1), transparent 29%),
        radial-gradient(circle at 75% 28%, rgba(255, 80, 0, 0.11), transparent 31%);
    pointer-events: none;
    opacity: 0.25;
    animation: minecraft-fire 2.5s ease-in-out infinite;
}

@keyframes minecraft-fire {
    0%, 100% {
        opacity: 0.2;
        filter: brightness(0.9);
    }
    25% {
        opacity: 0.3;
        filter: brightness(1.1);
    }
    50% {
        opacity: 0.25;
        filter: brightness(1);
    }
    75% {
        opacity: 0.35;
        filter: brightness(1.15);
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .cartoony-title {
        font-size: 2rem;
    }
    
    .vote-card {
        padding: 1.2rem 0.8rem;
    }
    
    .vote-emoji {
        font-size: 2rem;
    }
    
    .vote-card:hover .vote-emoji {
        font-size: 2.5rem;
    }
}

/* ========== ENHANCED CARTOONY & KID-FRIENDLY STYLES ========== */

/* Content card for terms/privacy */
.content-card {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.1) 0%, 
        rgba(85, 255, 85, 0.06) 100%);
    border: 4px solid var(--mc-gold);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3),
                inset 0 0 15px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4),
                inset 0 0 20px rgba(212, 175, 55, 0.15);
    transform: translateY(-4px);
}

.content-card h2 {
    font-family: 'Fredoka', system-ui;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--mc-gold);
    margin-top: 0;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.content-card h2::before {
    content: '◆';
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.3));
}

.content-card h3 {
    font-family: 'Fredoka', system-ui;
    font-size: 1.3rem;
    color: var(--mc-yellow);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.content-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0.8rem 0;
}

.content-card ul, .content-card ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-card li {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
}

.content-card li::marker {
    color: var(--mc-gold);
    font-weight: bold;
}

/* Hero section enhanced */
.hero-section-cartoony {
    background: linear-gradient(135deg, 
        rgba(0, 102, 255, 0.15) 0%, 
        rgba(0, 204, 255, 0.1) 50%,
        rgba(0, 51, 204, 0.05) 100%);
    border: 4px solid var(--mc-gold);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                inset 0 0 30px rgba(212, 175, 55, 0.1);
    animation: float-animation 3s ease-in-out infinite;
}

@keyframes float-animation {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.hero-section-cartoony h1 {
    font-size: 3rem;
    color: var(--mc-gold);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
    margin: 0;
}

.hero-section-cartoony p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 1rem 0 0;
}

/* Decorative elements */
.minecraft-decoration {
    display: inline-block;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.minecraft-decoration:nth-child(2) {
    animation-delay: 0.2s;
}

.minecraft-decoration:nth-child(3) {
    animation-delay: 0.4s;
}

/* Header enhancement */
header {
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

header .nav-link {
    font-family: 'Fredoka', system-ui;
    font-weight: 600;
    transition: all 0.2s ease;
}

header .nav-link:hover {
    color: var(--mc-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Hero flares more vibrant */
.hero-flares {
    filter: brightness(1.2);
}

/* Glowing text effect */
.glow-text {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 255, 190, 0.65),
                 0 0 18px rgba(0, 255, 190, 0.35);
    font-weight: 700;
}

/* Enhanced section backgrounds */
.section {
    background: rgba(12, 18, 26, 0.48);
    border-radius: 1.2rem;
    border: 1px solid rgba(0, 255, 170, 0.12);
    overflow: hidden;
}

/* Footer enhancement */
.footer-card {
    background: linear-gradient(135deg, rgba(8, 12, 20, 0.9), rgba(3, 3, 5, 0.85));
    border-top: 3px solid rgba(0, 255, 170, 0.22);
    box-shadow: inset 0 1px 0 rgba(0, 255, 170, 0.12);
}

.footer-card a {
    color: var(--primary);
    font-weight: 600;
    transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.footer-card a:hover {
    text-shadow: 0 0 10px rgba(0, 255, 180, 0.5);
    transform: translateY(-2px);
}
