:root {
    --bg-image: url('bg-light.png');
    --glass: rgba(255, 255, 255, 0.75);
    --text: #1a1a1a;
    --primary: #6366f1;
    --border: rgba(255, 255, 255, 0.3);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

[data-theme="dark"] {
    --bg-image: url('bg-dark.png');
    --glass: rgba(15, 23, 42, 0.85);
    --text: #f8fafc;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
    transition: background-color 0.4s ease, color 0.4s ease, transform 0.2s ease;
}

body {
    background: var(--bg-image) no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.card {
    width: 90%;
    max-width: 800px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.banner {
    width: 100%;
    height: 220px;
    background: url('thumbnail.png') center/cover;
    position: relative;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, var(--glass));
}

.main-content {
    padding: 30px;
    color: var(--text);
}

.social-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-social {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
}

.saweria { background: #faad14; }
.whatsapp { background: #25d366; }
.discord { background: #5865f2; }

.btn-social:hover { transform: scale(1.03); filter: brightness(1.1); }

.theme-toggle {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--glass);
    color: var(--text);
    cursor: pointer;
    font-size: 1.2rem;
}

.grid-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.platform-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 16px;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.platform-card:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal.active { display: flex; animation: fadeIn 0.3s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
    background: var(--glass);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 28px;
    width: 100%;
    max-width: 550px;
    color: var(--text);
    border: 1px solid var(--border);
    transform: scale(0.9);
}

.modal.active .modal-box { transform: scale(1); transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

.step-list {
    margin: 20px 0;
    padding-left: 20px;
}

.step-list li { margin-bottom: 10px; line-height: 1.5; }

.action-area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.btn-action {
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    background: var(--primary);
    color: white;
}

.btn-close {
    background: #ef4444;
    width: 100%;
    margin-top: 15px;
}