/* ========================================
   EngineMC - Style CSS Completo
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');

/* ========== VARIABILI ========== */
:root {
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-card: #18181b;
    --bg-card-hover: #1f1f23;
    --bg-input: #27272a;

    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --accent-primary: #75baff;
    --accent-cobblemon: #60a5fa;
    --accent-smp: #4ade80;
    --accent-warn: #fbbf24;
    --accent-mute: #f97316;
    --accent-ban: #ef4444;
    --accent-permanent: #dc2626;
    --accent-blacklist: #991b1b;

    --border-color: #27272a;
    --border-light: #3f3f46;

    --gradient-primary: linear-gradient(135deg, #75baff 0%, #5a9de6 100%);
    --gradient-cobblemon: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --gradient-smp: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.15);

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(10, 10, 11, 0.95);
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
}

.btn-store {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #451a03;
}

.btn-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
}

.btn-copy {
    background: var(--bg-input);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    font-family: 'JetBrains Mono', monospace;
}

.btn-copy:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.btn-copy.copied {
    border-color: var(--accent-smp);
    color: var(--accent-smp);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    25% { transform: translateY(-100px) translateX(50px); opacity: 0.6; }
    50% { transform: translateY(-200px) translateX(-30px); opacity: 0.3; }
    75% { transform: translateY(-100px) translateX(-50px); opacity: 0.5; }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-smp);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ip-box {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
}

.mode-card .hero-ip-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    width: 100%;
    padding: 0.875rem 1rem;
    margin-top: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.mode-card .hero-ip-box > div {
    text-align: left;
    flex: 1;
    min-width: 0;
}

.mode-card .hero-ip {
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mode-card .hero-ip.cobblemon {
    color: var(--accent-cobblemon);
}

.mode-card .hero-ip.smp {
    color: var(--accent-smp);
}

.mode-card .hero-ip-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 2px;
}

.mode-card .hero-ip-copy {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    z-index: 10;
}

.mode-card .hero-ip-copy:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

.mode-card .hero-ip-copy:active {
    transform: scale(0.95);
}

.mode-card .hero-ip-copy.copied {
    background: rgba(74, 222, 128, 0.2);
    border-color: var(--accent-smp);
    color: var(--accent-smp);
}

.hero-ip-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-ip {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.hero-ip-copy {
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.875rem;
}

.hero-ip-copy:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.hero-ip-copy.copied {
    border-color: var(--accent-smp);
    color: var(--accent-smp);
}

/* ========== MODE CARDS ========== */
.mode-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.mode-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    transition: var(--transition-normal);
    overflow: hidden;
    min-height: 280px;
}

.mode-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    flex: 1;
}

.mode-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: var(--transition-normal);
}

.mode-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.mode-card:hover::before {
    opacity: 1;
}

.mode-card.cobblemon::before {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, transparent 100%);
}

.mode-card.cobblemon:hover {
    border-color: var(--accent-cobblemon);
}

.mode-card.smp::before {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, transparent 100%);
}

.mode-card.smp:hover {
    border-color: var(--accent-smp);
}

.mode-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.mode-card.cobblemon .mode-card-icon {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.mode-card.smp .mode-card-icon {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.mode-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.mode-card.cobblemon .mode-card-title {
    color: var(--accent-cobblemon);
}

.mode-card.smp .mode-card-title {
    color: var(--accent-smp);
}

.mode-card-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
}

.mode-card-arrow {
    margin-top: 1.5rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    position: relative;
    z-index: 1;
}

.mode-card:hover .mode-card-arrow {
    transform: translateX(4px);
}

.mode-card.cobblemon:hover .mode-card-arrow {
    color: var(--accent-cobblemon);
}

.mode-card.smp:hover .mode-card-arrow {
    color: var(--accent-smp);
}

/* ========== PAGE LAYOUT ========== */
.page {
    flex: 1;
    padding-top: 80px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* ========== PAGE HEADER ========== */
.page-header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.page-header-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: var(--radius-md);
    margin: 0 auto 0.5rem;
}

.page-header-icon.cobblemon {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.page-header-icon.smp {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.page-title.cobblemon {
    color: var(--accent-cobblemon);
}

.page-title.smp {
    color: var(--accent-smp);
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ========== SEARCH BAR ========== */
.search-container {
    max-width: 500px;
    margin: 0 auto 3rem;
}

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: none;
}

.search-clear.visible {
    display: block;
}

.search-clear:hover {
    color: var(--text-primary);
}

.search-results-count {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* ========== RULES ACCORDION ========== */
.rules-section {
    margin-bottom: 2rem;
}

.rules-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    transition: var(--transition-normal);
}

.rules-category:hover {
    border-color: var(--border-light);
}

.rules-category.expanded {
    box-shadow: var(--shadow-md);
}

.rules-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-fast);
}

.rules-category-header:hover {
    background: var(--bg-card-hover);
}

.rules-category-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rules-category-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.rules-category-indicator.chat { background: var(--accent-cobblemon); }
.rules-category-indicator.game { background: var(--accent-smp); }
.rules-category-indicator.warn { background: var(--accent-warn); }
.rules-category-indicator.mute { background: var(--accent-mute); }
.rules-category-indicator.ban { background: var(--accent-ban); }
.rules-category-indicator.permanent { background: var(--accent-permanent); }

.rules-category-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
}

.rules-category-count {
    background: var(--bg-input);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.rules-category-toggle {
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.rules-category.expanded .rules-category-toggle {
    transform: rotate(180deg);
}

.rules-category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.rules-category.expanded .rules-category-content {
    max-height: 2000px;
}

.rules-list {
    padding: 0 1.5rem 1.5rem;
}

/* ========== RULE ITEM ========== */
.rule-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.rule-item:last-child {
    border-bottom: none;
}

.rule-item.hidden {
    display: none;
}

.rule-item.highlight {
    background: rgba(139, 92, 246, 0.1);
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    border-bottom: none;
}

.rule-infraction {
    flex: 1;
    font-weight: 500;
}

.rule-punishment {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.rule-punishment.warn {
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-warn);
}

.rule-punishment.mute {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-mute);
}

.rule-punishment.ban {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-ban);
}

.rule-punishment.permanent {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

.rule-punishment.blacklist {
    background: rgba(153, 27, 27, 0.3);
    color: #fecaca;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

/* ========== NO RESULTS ========== */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results-text {
    font-size: 1.125rem;
}

/* ========== UNBAN CTA ========== */
.unban-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(153, 27, 27, 0.05) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-xl);
    margin-top: 2rem;
}

.unban-cta-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.unban-cta-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-unban {
    background: linear-gradient(135deg, var(--accent-ban) 0%, var(--accent-permanent) 100%);
    color: white;
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-unban:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 1.5rem 2rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.footer-brand span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-link:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-primary);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 999;
    padding: 6rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--bg-card);
    color: var(--text-primary);
}

.mobile-nav-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding: 7rem 1rem 3rem;
        min-height: auto;
    }

    .hero-ip-box {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
    }

    .mode-cards {
        grid-template-columns: 1fr;
    }

    .rule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== UTILITIES ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
