:root {
    --primary: #34d399;       /* Emerald segar */
    --primary-dark: #10b981;
    --accent: #fbbf24;        /* Amber hangat */
    --end-glow: #c084fc;      /* Aksen ungu halus nuansa The End */
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --sidebar-width: 268px;

    /* Variabel UI Semi-Transparan (Glassmorphism) */
    --glass-bg: rgba(15, 23, 42, 0.36);
    --glass-bg-strong: rgba(15, 23, 42, 0.52);
    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-hover: rgba(30, 41, 59, 0.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: #090612;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* Variasi Font Minecraft */
.mc-font {
    font-family: 'Press Start 2P', monospace;
    letter-spacing: 0.5px;
}

/* =========================================================================
   BACKGROUND THE END SHADERS
   ========================================================================= */
.bg-layer {
    position: fixed;
    inset: -3%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1.2s ease-in-out;
}

/* Overlay tipis bernuansa The End agar teks tetap kontras tanpa menutupi foto */
.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(
        circle at 70% 25%,
        rgba(88, 28, 135, 0.18) 0%,
        rgba(11, 10, 24, 0.45) 55%,
        rgba(7, 6, 18, 0.72) 100%
    );
    -webkit-backdrop-filter: blur(1.5px);
    backdrop-filter: blur(1.5px);
}

/* =========================================================================
   MODERN SIDEBAR NAVIGATION (SEMI-TRANSPARAN)
   ========================================================================= */
.sidebar {
    position: fixed;
    top: 1rem;
    left: 1rem;
    bottom: 1rem;
    width: var(--sidebar-width);
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.15rem;
    border-radius: 22px;
    background: rgba(13, 12, 28, 0.45);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0.45rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.32rem;
}

.brand .highlight {
    color: var(--primary);
}

.sidebar-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    cursor: pointer;
}

.sidebar-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: rgba(203, 213, 225, 0.65);
    padding: 1.25rem 0.65rem 0.6rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.94rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: all 0.22s ease;
}

.sidebar-nav .nav-item svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.sidebar-nav .nav-item:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.sidebar-nav .nav-item.active {
    color: #064e3b;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.92), rgba(16, 185, 129, 0.92));
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(52, 211, 153, 0.25);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.server-status-mini {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.45rem 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

.sidebar-ip-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    background: rgba(52, 211, 153, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.38);
    color: var(--text-main);
    padding: 0.75rem 0.95rem;
    border-radius: 14px;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: all 0.22s ease;
}

.sidebar-ip-btn:hover {
    background: rgba(52, 211, 153, 0.88);
    color: #064e3b;
}

.sidebar-ip-text {
    display: flex;
    flex-direction: column;
}

.sidebar-ip-text small {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    opacity: 0.8;
}

.sidebar-ip-text span {
    font-size: 0.88rem;
    font-weight: 700;
}

.sidebar-ip-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Topbar Khusus Mobile */
.mobile-topbar {
    display: none;
    position: sticky;
    top: 0;
    z-index: 150;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: rgba(13, 12, 28, 0.5);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    cursor: pointer;
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 180;
    background: rgba(5, 4, 14, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* Wrapper Konten Utama di Samping Sidebar */
.main-wrapper {
    margin-left: calc(var(--sidebar-width) + 1rem);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* =========================================================================
   HERO SECTION (BERANDA CLEAN & SEMI-TRANSPARAN)
   ========================================================================= */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.75rem;
}

.hero-content {
    max-width: 820px;
    width: 100%;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(15, 23, 42, 0.38);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding: 0.5rem 1.15rem;
    border-radius: 99px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 1.75rem;
}

.badge-pill .dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

.hero-title {
    font-size: clamp(2.15rem, 4.6vw, 3.35rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-title .mc-font {
    display: inline-block;
    font-size: clamp(1.3rem, 3vw, 2.05rem);
    margin-top: 0.65rem;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-shadow: none;
}

.text-gradient {
    background: linear-gradient(135deg, #34d399 0%, #fbbf24 55%, #e879f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.04rem;
    color: #e2e8f0;
    max-width: 610px;
    margin: 0 auto 2.75rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

/* Wrapper & Kotak IP (Java + Bedrock Semi-Transparan) */
.ip-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 1.25rem;
    max-width: 780px;
    margin: 0 auto;
}

.ip-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(52, 211, 153, 0.38);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: 1.15rem 1.35rem;
    border-radius: 18px;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.ip-box:hover {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.62);
    transform: translateY(-2px);
}

.ip-box.bedrock-box {
    border-color: rgba(251, 191, 36, 0.38);
}

.ip-box.bedrock-box:hover {
    border-color: var(--accent);
}

.ip-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 0.4rem;
}

.ip-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
}

.ip-label svg {
    width: 14px;
    height: 14px;
}

.ip-label.amber-text {
    color: var(--accent);
}

.ip-address {
    font-size: 0.9rem;
    color: #ffffff;
    word-break: break-word;
}

.ip-port {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.ip-port strong {
    color: var(--accent);
    background: rgba(251, 191, 36, 0.16);
    border: 1px solid rgba(251, 191, 36, 0.35);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.68rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.ip-port strong:hover {
    background: var(--accent);
    color: #451a03;
}

.ip-action {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(52, 211, 153, 0.9);
    color: #064e3b;
    padding: 0.62rem 0.95rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.84rem;
    flex-shrink: 0;
    transition: filter 0.2s ease;
}

.ip-box:hover .ip-action {
    filter: brightness(1.06);
}

.ip-action.amber-btn {
    background: rgba(251, 191, 36, 0.92);
    color: #451a03;
}

.ip-action svg {
    width: 15px;
    height: 15px;
}

/* =========================================================================
   SECTION UMUM & FITUR (SEMI-TRANSPARAN)
   ========================================================================= */
.section {
    padding: 5rem 1.75rem;
}

.container {
    max-width: 1060px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.mc-tag {
    display: inline-block;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.68rem;
    color: var(--accent);
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(251, 191, 36, 0.32);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 0.48rem 0.9rem;
    border-radius: 10px;
    margin-bottom: 1.1rem;
}

.section-header h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: 18px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.35rem;
}

.feature-card {
    padding: 1.75rem;
}

.feature-card:hover {
    background: var(--glass-hover);
    border-color: rgba(52, 211, 153, 0.38);
    transform: translateY(-2px);
}

.icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.icon-box svg {
    width: 21px;
    height: 21px;
}

.icon-box.emerald { background: rgba(52, 211, 153, 0.18); color: #34d399; }
.icon-box.amber   { background: rgba(251, 191, 36, 0.18); color: #fbbf24; }
.icon-box.sky     { background: rgba(56, 189, 248, 0.18); color: #38bdf8; }
.icon-box.rose    { background: rgba(251, 113, 133, 0.18); color: #fb7185; }
.icon-box.purple  { background: rgba(192, 132, 252, 0.18); color: #c084fc; }
.icon-box.teal    { background: rgba(45, 212, 191, 0.18); color: #2dd4bf; }
.icon-box.orange  { background: rgba(251, 146, 60, 0.18); color: #fb923c; }
.icon-box.indigo  { background: rgba(129, 140, 248, 0.18); color: #818cf8; }

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-card strong {
    color: #f8fafc;
    font-weight: 600;
}

/* =========================================================================
   TUTORIAL CARA MASUK SERVER (SEMI-TRANSPARAN)
   ========================================================================= */
.tutorial-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.38rem;
    border-radius: 14px;
    max-width: 480px;
    margin: 0 auto 2.75rem;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.tut-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tut-tab svg {
    width: 17px;
    height: 17px;
}

.tut-tab:hover {
    color: var(--text-main);
}

.tut-tab.active[data-target="tut-java"] {
    background: rgba(52, 211, 153, 0.92);
    color: #064e3b;
}

.tut-tab.active[data-target="tut-bedrock"] {
    background: rgba(251, 191, 36, 0.92);
    color: #451a03;
}

.tutorial-panel {
    display: none;
    animation: fadeUp 0.35s ease;
}

.tutorial-panel.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.35rem;
}

.step-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: 18px;
    padding: 1.65rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.step-card:hover {
    background: var(--glass-hover);
    border-color: rgba(52, 211, 153, 0.35);
}

.step-card.bedrock-step:hover {
    border-color: rgba(251, 191, 36, 0.4);
}

.step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

.step-num {
    font-size: 0.8rem;
    color: var(--primary);
    background: rgba(52, 211, 153, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
}

.bedrock-step .step-num {
    color: var(--accent);
    background: rgba(251, 191, 36, 0.16);
    border-color: rgba(251, 191, 36, 0.3);
}

.step-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.28rem 0.7rem;
    border-radius: 99px;
}

.step-badge.amber {
    color: #fde68a;
    background: rgba(251, 191, 36, 0.14);
}

.step-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-card strong {
    color: var(--text-main);
    font-weight: 600;
}

.inline-copy-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.inline-copy-btn {
    margin-top: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    background: rgba(52, 211, 153, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.38);
    color: var(--primary);
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
}

.inline-copy-group .inline-copy-btn {
    margin-top: 0;
}

.inline-copy-btn:hover {
    background: var(--primary);
    color: #064e3b;
}

.inline-copy-btn.amber {
    background: rgba(251, 191, 36, 0.16);
    border-color: rgba(251, 191, 36, 0.38);
    color: var(--accent);
}

.inline-copy-btn.amber:hover {
    background: var(--accent);
    color: #451a03;
}

.inline-copy-btn svg {
    width: 14px;
    height: 14px;
}

/* =========================================================================
   ATURAN SERVER (SEMI-TRANSPARAN ACCORDION)
   ========================================================================= */
.rules-clean-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.rule-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.rule-card:hover {
    border-color: rgba(52, 211, 153, 0.35);
    background: var(--glass-hover);
}

.rule-card.active {
    border-color: rgba(52, 211, 153, 0.48);
    background: var(--glass-bg-strong);
}

.rule-trigger {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-main);
    padding: 1.15rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    position: relative;
    z-index: 2;
}

.rule-trigger * {
    pointer-events: none;
}

.rule-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rule-badge {
    font-size: 0.75rem;
    color: var(--primary);
    background: rgba(52, 211, 153, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 0.52rem 0.62rem;
    border-radius: 10px;
    flex-shrink: 0;
}

.rule-title-group h4 {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
}

.rule-chevron {
    width: 19px;
    height: 19px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.rule-card.active .rule-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.rule-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
}

.rule-card.active .rule-panel {
    max-height: 300px;
}

.rule-panel-inner p {
    padding: 0.95rem 1.35rem 1.3rem 4.25rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================================================
   FOOTER & TOAST (SEMI-TRANSPARAN)
   ========================================================================= */
.footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(13, 12, 28, 0.38);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding: 2rem 1.75rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-brand .mc-font {
    color: var(--primary);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.4rem;
}

.footer-brand p,
.copyright {
    font-size: 0.86rem;
    color: var(--text-muted);
}

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(6, 95, 70, 0.82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: #ecfdf5;
    border: 1px solid rgba(52, 211, 153, 0.55);
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* =========================================================================
   KONTROL TAMPILAN HALAMAN
   ========================================================================= */
[hidden],
.hidden-section {
    display: none !important;
}

.view-section {
    animation: sectionFadeIn 0.3s ease;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================================
   SIMETRI GRID FITUR DESKTOP
   ========================================================================= */
@media (min-width: 1180px) {
    .features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .features-grid > .feature-card:last-child:nth-child(3n + 2) {
        grid-column: 2 / 3;
    }
}

/* =========================================================================
   RESPONSIF TABLET & MOBILE
   ========================================================================= */
@media (max-width: 900px) {
    .mobile-topbar {
        display: flex;
    }

    .sidebar {
        top: 0;
        left: 0;
        bottom: 0;
        border-radius: 0 22px 22px 0;
        background: rgba(13, 12, 28, 0.78);
        transform: translateX(-105%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-close {
        display: flex;
    }

    .main-wrapper {
        margin-left: 0;
    }

    .hero {
        min-height: calc(100vh - 68px);
        padding: 3rem 1.25rem;
    }

    .section {
        padding: 4rem 1.25rem;
    }

    .ip-wrapper {
        grid-template-columns: 1fr;
    }

    .ip-box {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .ip-info {
        align-items: center;
        text-align: center;
    }

    .ip-action {
        width: 100%;
        justify-content: center;
    }

    .tutorial-tabs {
        flex-direction: column;
    }

    .rule-panel-inner p {
        padding: 0.9rem 1.2rem 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .toast {
        left: 1.25rem;
        right: 1.25rem;
        bottom: 1.25rem;
    }
}