/* ============================================================
   RESET & ASAS
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0b0b0b;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px;
    padding-top: 90px;
    position: relative;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

/* ============================================================
   ORB ANIMASI (LATAR BELAKANG)
   ============================================================ */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
}

body::before {
    width: 500px;
    height: 500px;
    background: #f4a300;
    top: -100px;
    left: -100px;
    animation: floatOrb 14s ease-in-out infinite alternate;
}

body::after {
    width: 450px;
    height: 450px;
    background: #d48c00;
    bottom: -80px;
    right: -80px;
    animation: floatOrb 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(60px, 50px) scale(1.15);
    }
}

/* ============================================================
   LIGHT MODE
   ============================================================ */
body.light-mode {
    background: #f0f0f0;
    color: #1a1a1a;
}

body.light-mode::before,
body.light-mode::after {
    opacity: 0.08;
}

body.light-mode .sticky-nav {
    background: rgba(240, 240, 240, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-mode .sticky-nav.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

body.light-mode .nav-title {
    color: #d48c00;
}

body.light-mode .nav-links li a {
    color: #333;
}

body.light-mode .nav-links li a:hover,
body.light-mode .nav-links li a:focus-visible {
    color: #d48c00;
    background: rgba(212, 140, 0, 0.08);
    border-color: rgba(212, 140, 0, 0.15);
}

body.light-mode .container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

body.light-mode .verification-header h1,
body.light-mode .home-header h1,
body.light-mode .page-header h2 {
    background: linear-gradient(135deg, #1a1a1a 40%, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .verification-header .tagline {
    color: #555;
}

body.light-mode .verification-header .tagline span {
    color: #d48c00;
}

body.light-mode .home-desc {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    color: #444;
}

body.light-mode .home-desc strong {
    color: #d48c00;
}

body.light-mode .offer-list ul li {
    color: #555;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

body.light-mode .btn-home {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #333;
}

body.light-mode .btn-home:hover,
body.light-mode .btn-home:focus-visible {
    background: rgba(212, 140, 0, 0.08);
    border-color: #d48c00;
    color: #d48c00;
}

body.light-mode .btn-home-small {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #444;
}

body.light-mode .btn-home-small:hover,
body.light-mode .btn-home-small:focus-visible {
    background: rgba(212, 140, 0, 0.08);
    border-color: #d48c00;
    color: #d48c00;
}

body.light-mode .page-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-mode .rule-block {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.light-mode .rule-block ul li {
    color: #444;
}

body.light-mode .rule-block h3 {
    color: #d48c00;
}

body.light-mode .rules-section-header .section-enforcement {
    color: #d48c00;
    border-left: 4px solid #d48c00;
}

body.light-mode .staff-card,
body.light-mode .committee-card,
body.light-mode .faq-item,
body.light-mode .rule-block,
body.light-mode .game-content {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.light-mode .staff-card .staff-name {
    color: #1a1a1a;
}

body.light-mode .committee-card h4 {
    color: #d48c00;
}

body.light-mode .staff-section h3,
body.light-mode .about-section h3,
body.light-mode .faq-section h3 {
    color: #d48c00;
}

body.light-mode .about-section p {
    color: #444;
}

body.light-mode .faq-question {
    color: #333;
}

body.light-mode .faq-question:hover {
    color: #d48c00;
}

body.light-mode .faq-answer {
    color: #555;
}

body.light-mode .coming-soon {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.light-mode .coming-soon h3 {
    color: #d48c00;
}

body.light-mode .coming-soon p {
    color: #555;
}

body.light-mode .footer-note {
    color: #999;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

body.light-mode .captcha-question {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.light-mode .captcha-question p {
    color: #333;
}

body.light-mode .verify-btn {
    border-color: rgba(212, 140, 0, 0.4);
    color: #d48c00;
}

body.light-mode .verify-btn.enabled:hover {
    background: #d48c00;
    color: #fff;
}

body.light-mode .toast {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #1a1a1a;
}

body.light-mode .back-to-top {
    background: rgba(212, 140, 0, 0.9);
    color: #fff;
}

body.light-mode .back-to-top:hover {
    background: #d48c00;
}

body.light-mode .game-tab {
    background: rgba(0, 0, 0, 0.04);
    color: #444;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-mode .game-tab.active {
    background: #d48c00;
    color: #fff;
    border-color: #d48c00;
}

body.light-mode .game-tab:hover:not(.active) {
    background: rgba(212, 140, 0, 0.08);
    border-color: #d48c00;
    color: #d48c00;
}

body.light-mode .ttt-cell {
    background: rgba(0, 0, 0, 0.03);
    border: 2px solid rgba(0, 0, 0, 0.06);
    color: #1a1a1a;
}

body.light-mode .ttt-cell:hover:not(.taken) {
    background: rgba(212, 140, 0, 0.05);
}

body.light-mode .ttt-cell.win {
    background: rgba(76, 175, 80, 0.15);
    border-color: #43a047;
}

body.light-mode .rps-btn {
    background: rgba(0, 0, 0, 0.04);
    border: 2px solid rgba(0, 0, 0, 0.06);
}

body.light-mode .rps-btn:hover {
    background: rgba(212, 140, 0, 0.08);
    border-color: #d48c00;
}

body.light-mode .ng-mode-btn {
    color: #333;
    border-color: #aaa;
}
body.light-mode .ng-mode-btn[data-mode="normal"] {
    color: #2e7d32;
    border-color: #2e7d32;
}
body.light-mode .ng-mode-btn[data-mode="normal"].active {
    background: rgba(46, 125, 50, 0.12);
}
body.light-mode .ng-mode-btn[data-mode="medium"] {
    color: #b8860b;
    border-color: #b8860b;
}
body.light-mode .ng-mode-btn[data-mode="medium"].active {
    background: rgba(184, 134, 11, 0.12);
}
body.light-mode .ng-mode-btn[data-mode="hard"] {
    color: #c62828;
    border-color: #c62828;
}
body.light-mode .ng-mode-btn[data-mode="hard"].active {
    background: rgba(198, 40, 40, 0.12);
}
body.light-mode .ng-game-area.mode-normal {
    background: rgba(46, 125, 50, 0.08);
}
body.light-mode .ng-game-area.mode-medium {
    background: rgba(184, 134, 11, 0.08);
}
body.light-mode .ng-game-area.mode-hard {
    background: rgba(198, 40, 40, 0.08);
}
body.light-mode .ng-info span {
    background: rgba(0, 0, 0, 0.04);
    color: #333;
}
body.light-mode .ng-input-group input {
    background: rgba(0, 0, 0, 0.03);
    color: #1a1a1a;
    border-color: #ccc;
}
body.light-mode #ngMessage {
    color: #333;
}

body.light-mode .setting-item {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.light-mode .setting-toggle {
    background: rgba(0, 0, 0, 0.04);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.light-mode .setting-toggle:hover {
    background: rgba(212, 140, 0, 0.08);
    border-color: #d48c00;
    color: #d48c00;
}

body.light-mode .setting-label {
    color: #333;
}

body.light-mode .setting-desc {
    color: #666;
}

body.light-mode .profile-setup-container {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.light-mode .profile-display {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.light-mode .profile-display p {
    color: #444;
}

body.light-mode .form-group label {
    color: #333;
}

body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #1a1a1a;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group select:focus,
body.light-mode .form-group textarea:focus {
    border-color: #d48c00;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 140, 0, 0.1);
}

body.light-mode .btn-save-profile {
    background: #d48c00;
    color: #fff;
}

body.light-mode .btn-save-profile:hover {
    background: #b87800;
}

body.light-mode .review-form-container,
body.light-mode .reviews-list-container {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.light-mode .review-item {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.light-mode .review-item .review-author {
    color: #333;
}

body.light-mode .review-item .review-text {
    color: #555;
}

body.light-mode .review-item .review-date {
    color: #888;
}

body.light-mode .review-item .review-actions button {
    color: #555;
}

body.light-mode .review-item .review-actions button:hover {
    color: #d48c00;
}

body.light-mode .review-item .review-actions .delete-btn:hover {
    color: #ef5350;
}

body.light-mode .setting-section h3 {
    color: #d48c00;
}

body.light-mode .changelog-item {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.light-mode .changelog-item .changelog-date {
    color: #555;
}

body.light-mode .changelog-item .changelog-title {
    color: #1a1a1a;
}

body.light-mode .changelog-item .changelog-change {
    color: #555;
}

body.light-mode .greeting {
    color: #444;
}

body.light-mode .social-buttons .btn-whatsapp {
    background: #25d366;
    color: #fff;
}

body.light-mode .social-buttons .btn-whatsapp:hover {
    background: #1da851;
}

body.light-mode .social-buttons .btn-discord {
    background: #5865f2;
    color: #fff;
}

body.light-mode .social-buttons .btn-discord:hover {
    background: #4752c4;
}

/* ============================================================
   STICKY NAVIGATION
   ============================================================ */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 11, 11, 0.92);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.sticky-nav.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

body.light-mode .nav-brand {
    color: #1a1a1a;
}

.nav-logo {
    font-size: 26px;
    line-height: 1;
}

.nav-title {
    color: #f4a300;
    transition: color 0.3s ease;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

body.light-mode .nav-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

body.light-mode .nav-toggle span {
    background: #1a1a1a;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links li a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 30px;
    color: #c0c0c0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a:focus-visible {
    color: #f4a300;
    background: rgba(244, 163, 0, 0.08);
    border-color: rgba(244, 163, 0, 0.15);
}

.nav-links li a:focus-visible {
    outline: 2px solid #f4a300;
    outline-offset: 2px;
}

body.light-mode .nav-links li a:focus-visible {
    outline-color: #d48c00;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(244, 163, 0, 0.9);
    color: #0b0b0b;
    border: none;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(244, 163, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.back-to-top:hover {
    background: #f4a300;
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(244, 163, 0, 0.5);
}

.back-to-top:focus-visible {
    outline: 2px solid #f4a300;
    outline-offset: 4px;
}

body.light-mode .back-to-top {
    background: rgba(212, 140, 0, 0.9);
    color: #fff;
}

body.light-mode .back-to-top:hover {
    background: #d48c00;
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    transition: opacity 0.3s ease;
}

body.light-mode .loading-spinner {
    background: rgba(255, 255, 255, 0.85);
}

.loading-spinner.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(244, 163, 0, 0.15);
    border-top-color: #f4a300;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

body.light-mode .spinner {
    border: 4px solid rgba(212, 140, 0, 0.15);
    border-top-color: #d48c00;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner p {
    color: #f4a300;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

body.light-mode .loading-spinner p {
    color: #d48c00;
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    width: 100%;
    pointer-events: none;
}

.toast {
    padding: 14px 20px;
    border-radius: 12px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    pointer-events: auto;
    animation: slideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
}

body.light-mode .toast {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #1a1a1a;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hiding {
    animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideInRight {
    0% {
        transform: translateX(120%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

.toast .toast-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.toast.success {
    border-left: 4px solid #43a047;
}
.toast.success .toast-icon {
    color: #43a047;
}

.toast.error {
    border-left: 4px solid #ef5350;
}
.toast.error .toast-icon {
    color: #ef5350;
}

.toast.info {
    border-left: 4px solid #1e88e5;
}
.toast.info .toast-icon {
    color: #1e88e5;
}

.toast.warning {
    border-left: 4px solid #fdd835;
}
.toast.warning .toast-icon {
    color: #fdd835;
}

.toast .toast-close {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 18px;
    padding: 0 4px;
    margin-left: auto;
    transition: color 0.2s;
}

.toast .toast-close:hover {
    color: #fff;
}

body.light-mode .toast .toast-close:hover {
    color: #1a1a1a;
}

/* ============================================================
   KONTENA UTAMA
   ============================================================ */
.container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    width: 100%;
    background: rgba(18, 18, 18, 0.75);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 48px;
    padding: 48px 40px 56px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: box-shadow 0.3s ease, background 0.3s ease, border 0.3s ease;
    margin-top: 10px;
}

@media (max-width: 700px) {
    .container {
        padding: 32px 20px 40px;
        border-radius: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 24px 14px 32px;
        border-radius: 24px;
    }
}

/* ============================================================
   HALAMAN (PAPARAN / SEMBUNYI)
   ============================================================ */
.page {
    display: none;
    animation: pageFadeIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.page.active {
    display: block;
}

@keyframes pageFadeIn {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.page.exit {
    animation: pageFadeOut 0.3s ease forwards;
}

@keyframes pageFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.97);
    }
}

/* ============================================================
   VERIFICATION
   ============================================================ */
.verification-header {
    text-align: center;
    margin-bottom: 24px;
}

.verification-header h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 40%, #c9c9c9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.verification-header .tagline {
    font-size: 18px;
    color: #b0b0b0;
    font-weight: 400;
    margin-top: 6px;
    letter-spacing: 0.3px;
}

.verification-header .tagline span {
    color: #f4a300;
    font-weight: 600;
}

.captcha-section {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-robot {
    background: #f4a300;
    color: #0b0b0b;
    border: none;
    padding: 14px 40px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 8px 28px rgba(244, 163, 0, 0.2);
    font-family: 'Inter', sans-serif;
}

.btn-robot:hover,
.btn-robot:focus-visible {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(244, 163, 0, 0.35);
    background: #ffb71a;
}

.btn-robot:focus-visible {
    outline: 2px solid #f4a300;
    outline-offset: 4px;
}

.btn-robot:active {
    transform: scale(0.97);
}

.btn-robot.hidden {
    display: none;
}

.captcha-question {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 28px 24px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.captcha-question.show {
    display: flex;
}

.captcha-question p {
    font-size: 18px;
    font-weight: 500;
    color: #e0e0e0;
}

.captcha-question p strong {
    color: #f4a300;
}

.color-options {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.color-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.color-btn:hover {
    transform: scale(1.08);
}

.color-btn:focus-visible {
    outline: 3px solid #f4a300;
    outline-offset: 3px;
}

.color-btn.selected {
    border-color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.color-btn:active {
    transform: scale(0.95);
}

.color-btn.blue {
    background: #1e88e5;
}
.color-btn.red {
    background: #e53935;
}
.color-btn.yellow {
    background: #fdd835;
}
.color-btn.green {
    background: #43a047;
}

.verify-btn {
    background: transparent;
    border: 2px solid rgba(244, 163, 0, 0.4);
    color: #f4a300;
    padding: 10px 36px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 15px;
    cursor: not-allowed;
    transition: all 0.25s;
    opacity: 0.5;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
}

.verify-btn.enabled {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    background: rgba(244, 163, 0, 0.08);
    border-color: #f4a300;
}

.verify-btn.enabled:hover,
.verify-btn.enabled:focus-visible {
    background: #f4a300;
    color: #0b0b0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(244, 163, 0, 0.3);
}

.verify-btn:focus-visible {
    outline: 2px solid #f4a300;
    outline-offset: 3px;
}

.verification-status {
    font-size: 16px;
    font-weight: 600;
    min-height: 28px;
    margin-top: 4px;
}

.verification-status.success {
    color: #66bb6a;
}

.verification-status.error {
    color: #ef5350;
}

/* ============================================================
   PROFILE SETUP
   ============================================================ */
.profile-setup-container {
    max-width: 550px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 32px 28px;
    transition: border-color 0.3s;
}

.profile-setup-container:hover {
    border-color: rgba(244, 163, 0, 0.15);
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #d0d0d0;
}

.form-group .required {
    color: #ef5350;
}

.form-group .optional {
    color: #888;
    font-weight: 400;
    font-size: 13px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #f4a300;
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 163, 0, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: #fff;
}

.form-group small {
    color: #888;
    font-size: 12px;
}

.btn-save-profile {
    padding: 14px 36px;
    border-radius: 60px;
    border: none;
    background: #f4a300;
    color: #0b0b0b;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Inter', sans-serif;
    margin-top: 8px;
    box-shadow: 0 8px 28px rgba(244, 163, 0, 0.2);
}

.btn-save-profile:hover {
    background: #ffb71a;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(244, 163, 0, 0.3);
}

.btn-save-profile:active {
    transform: scale(0.97);
}

.btn-save-profile:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ============================================================
   HOME
   ============================================================ */
.home-header {
    text-align: center;
    margin-bottom: 28px;
}

.home-header h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 40%, #c9c9c9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-header .sub-title {
    font-size: 22px;
    font-weight: 500;
    color: #f4a300;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.greeting {
    font-size: 20px;
    font-weight: 600;
    color: #d0d0d0;
    margin-top: 6px;
    min-height: 30px;
}

.home-desc {
    font-size: 18px;
    color: #c0c0c0;
    line-height: 1.8;
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.02);
    padding: 24px 28px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s;
}

.home-desc:hover {
    border-color: rgba(244, 163, 0, 0.08);
}

.home-desc p {
    margin-bottom: 12px;
}

.home-desc strong {
    color: #f4a300;
    font-weight: 600;
}

.offer-list {
    text-align: left;
    margin-top: 16px;
}

.offer-list ul {
    list-style: none;
    padding: 0;
    margin-top: 8px;
}

.offer-list ul li {
    padding: 6px 0;
    font-size: 16px;
    color: #d0d0d0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: padding-left 0.3s;
}

.offer-list ul li:hover {
    padding-left: 8px;
}

.offer-list ul li:last-child {
    border-bottom: none;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}

.btn-home {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(4px);
    text-decoration: none;
    flex: 1 0 auto;
    min-width: 160px;
    text-align: center;
}

.btn-home:hover,
.btn-home:focus-visible {
    background: rgba(244, 163, 0, 0.10);
    border-color: #f4a300;
    color: #f4a300;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(244, 163, 0, 0.08);
}

.btn-home:focus-visible {
    outline: 2px solid #f4a300;
    outline-offset: 3px;
}

.btn-home:active {
    transform: scale(0.97);
}

/* ============================================================
   SOCIAL BUTTONS (Discord + WhatsApp)
   ============================================================ */
.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 4px;
    margin-bottom: 32px;
}

.social-buttons .btn-discord,
.social-buttons .btn-whatsapp {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    text-align: center;
    flex: 1 0 auto;
    min-width: 200px;
    border: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.social-buttons .btn-discord {
    background: #5865f2;
    color: #fff;
}

.social-buttons .btn-discord:hover {
    background: #6773f5;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(88, 101, 242, 0.35);
}

.social-buttons .btn-whatsapp {
    background: #25d366;
    color: #fff;
}

.social-buttons .btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.35);
}

.social-buttons a:active {
    transform: scale(0.97);
}

/* ============================================================
   HEADER HALAMAN
   ============================================================ */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-header h2 {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.btn-home-small {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d0d0d0;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Inter', sans-serif;
}

.btn-home-small:hover,
.btn-home-small:focus-visible {
    background: rgba(244, 163, 0, 0.10);
    border-color: #f4a300;
    color: #f4a300;
    transform: translateY(-2px);
}

.btn-home-small:focus-visible {
    outline: 2px solid #f4a300;
    outline-offset: 3px;
}

.btn-home-small:active {
    transform: scale(0.97);
}

/* ============================================================
   ABOUT & FAQ
   ============================================================ */
.about-faq-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-section h3,
.faq-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #f4a300;
    margin-bottom: 14px;
    border-left: 4px solid #f4a300;
    padding-left: 16px;
}

.about-section p {
    color: #c8c8c8;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.faq-section .faq-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-section .faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-section .faq-item:hover {
    border-color: rgba(244, 163, 0, 0.15);
}

.faq-section .faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color 0.2s;
}

.faq-section .faq-question:hover {
    color: #f4a300;
}

.faq-section .faq-question::after {
    content: '+';
    font-size: 24px;
    color: #888;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-section .faq-question[aria-expanded="true"]::after {
    transform: rotate(45deg);
    color: #f4a300;
}

.faq-section .faq-question:focus-visible {
    outline: 2px solid #f4a300;
    outline-offset: -4px;
}

.faq-section .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.7;
}

.faq-section .faq-answer.open {
    max-height: 300px;
    padding: 0 20px 18px;
}

.faq-section .faq-answer strong {
    color: #f4a300;
}

.faq-section .faq-answer ul {
    list-style: none;
    padding-left: 0;
    margin-top: 4px;
}
.faq-section .faq-answer ul li {
    padding: 2px 0;
}

/* ============================================================
   PERATURAN (RULES)
   ============================================================ */
.rules-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rules-section-header {
    margin-top: 16px;
    margin-bottom: 8px;
    padding: 12px 16px;
    background: rgba(244, 163, 0, 0.06);
    border-radius: 12px;
    border-left: 4px solid #f4a300;
    transition: background 0.3s, border-color 0.3s;
}

.rules-section-header:hover {
    background: rgba(244, 163, 0, 0.10);
    border-color: #f4a300;
}

.rules-section-header .section-enforcement {
    font-size: 22px;
    font-weight: 700;
    color: #f4a300;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 0;
    border-left: none;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.rule-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px 24px;
    transition: border-color 0.3s, transform 0.2s;
}

.rule-block:hover {
    border-color: rgba(244, 163, 0, 0.2);
    transform: translateX(4px);
}

.rule-block h3 {
    font-size: 20px;
    font-weight: 700;
    color: #f4a300;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rule-tag {
    display: inline-block;
    background: rgba(244, 163, 0, 0.12);
    color: #f4a300;
    font-weight: 800;
    font-size: 14px;
    padding: 2px 12px;
    border-radius: 20px;
    border: 1px solid rgba(244, 163, 0, 0.15);
}

.rule-block ul {
    list-style: none;
    padding-left: 4px;
}

.rule-block ul li {
    padding: 4px 0;
    color: #c8c8c8;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    padding-left: 18px;
}

.rule-block ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #f4a300;
    font-weight: 700;
}

/* ============================================================
   STAFF
   ============================================================ */
.staff-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.staff-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
    border-left: 4px solid #f4a300;
    padding-left: 16px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.staff-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.staff-card:hover {
    border-color: rgba(244, 163, 0, 0.2);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.staff-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.staff-card p {
    color: #b0b0b0;
    font-size: 14px;
    margin: 4px 0;
}

.staff-card .staff-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 16px;
    margin-top: 6px;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.committee-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px 22px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.committee-card:hover {
    border-color: rgba(244, 163, 0, 0.2);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.committee-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #f4a300;
    margin-bottom: 8px;
}

.committee-card p {
    color: #c0c0c0;
    font-size: 15px;
    line-height: 1.6;
}

.committee-card .committee-desc {
    font-size: 13px;
    color: #888;
    margin-top: 6px;
    font-style: italic;
}

/* ============================================================
   GAMES
   ============================================================ */
.games-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.game-tab {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #b0b0b0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Inter', sans-serif;
}

.game-tab:hover:not(.active) {
    background: rgba(244, 163, 0, 0.06);
    border-color: rgba(244, 163, 0, 0.2);
    color: #f4a300;
    transform: translateY(-2px);
}

.game-tab.active {
    background: #f4a300;
    color: #0b0b0b;
    border-color: #f4a300;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(244, 163, 0, 0.2);
}

.game-content {
    display: none;
    text-align: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s;
}

.game-content:hover {
    border-color: rgba(244, 163, 0, 0.08);
}

.game-content.active {
    display: block;
    animation: gameContentFade 0.4s ease forwards;
}

@keyframes gameContentFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-content h3 {
    font-size: 24px;
    margin-bottom: 4px;
    color: #f4a300;
}

#tttBoard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 300px;
    margin: 12px auto 16px;
}

.ttt-cell {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    font-size: 48px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.ttt-cell:hover:not(.taken) {
    background: rgba(244, 163, 0, 0.05);
    border-color: rgba(244, 163, 0, 0.2);
    transform: scale(1.02);
}

.ttt-cell.taken {
    cursor: default;
}

.ttt-cell.win {
    background: rgba(76, 175, 80, 0.12);
    border-color: #43a047;
    animation: winPulse 0.6s ease infinite alternate;
}

@keyframes winPulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.06);
    }
}

.rps-choices {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.rps-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    font-size: 36px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rps-btn:hover {
    background: rgba(244, 163, 0, 0.06);
    border-color: rgba(244, 163, 0, 0.2);
    transform: scale(1.1) rotate(-6deg);
}

.rps-btn:focus-visible {
    outline: 2px solid #f4a300;
    outline-offset: 3px;
}

.rps-btn:active {
    transform: scale(0.95);
}

.game-score,
.rps-score {
    display: flex;
    justify-content: center;
    gap: 28px;
    font-size: 15px;
    color: #b0b0b0;
    margin: 10px 0 14px;
    flex-wrap: wrap;
}

.game-score span,
.rps-score span {
    font-weight: 600;
}

.game-score span:first-child,
.rps-score span:first-child {
    color: #43a047;
}
.game-score span:nth-child(2),
.rps-score span:nth-child(2) {
    color: #ef5350;
}
.game-score span:last-child,
.rps-score span:last-child {
    color: #fdd835;
}

.game-status {
    font-size: 18px;
    font-weight: 500;
    color: #d0d0d0;
    margin: 8px 0;
    min-height: 30px;
}

.btn-game-reset {
    padding: 10px 32px;
    border-radius: 30px;
    border: none;
    background: rgba(244, 163, 0, 0.12);
    color: #f4a300;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(244, 163, 0, 0.15);
}

.btn-game-reset:hover {
    background: #f4a300;
    color: #0b0b0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 163, 0, 0.2);
}

body.light-mode .btn-game-reset {
    background: rgba(212, 140, 0, 0.1);
    color: #d48c00;
    border-color: rgba(212, 140, 0, 0.15);
}

body.light-mode .btn-game-reset:hover {
    background: #d48c00;
    color: #fff;
}

/* ============================================================
   NUMBER GUESSING
   ============================================================ */
.ng-mode-selector {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.ng-mode-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 2px solid #555;
    background: transparent;
    color: #ccc;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.ng-mode-btn:hover {
    transform: scale(1.05);
}

.ng-mode-btn.active {
    border-color: currentColor;
    background: rgba(255, 255, 255, 0.05);
}

.ng-mode-btn[data-mode="normal"] {
    color: #4caf50;
    border-color: #4caf50;
}
.ng-mode-btn[data-mode="normal"].active {
    background: rgba(76, 175, 80, 0.15);
}
.ng-mode-btn[data-mode="medium"] {
    color: #ffc107;
    border-color: #ffc107;
}
.ng-mode-btn[data-mode="medium"].active {
    background: rgba(255, 193, 7, 0.15);
}
.ng-mode-btn[data-mode="hard"] {
    color: #f44336;
    border-color: #f44336;
}
.ng-mode-btn[data-mode="hard"].active {
    background: rgba(244, 67, 54, 0.15);
}

.ng-game-area {
    padding: 20px;
    border-radius: 16px;
    transition: background 0.4s, border 0.4s;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.06);
}

.ng-game-area.mode-normal {
    background: rgba(76, 175, 80, 0.05);
    border-color: #4caf50;
}
.ng-game-area.mode-medium {
    background: rgba(255, 193, 7, 0.05);
    border-color: #ffc107;
}
.ng-game-area.mode-hard {
    background: rgba(244, 67, 54, 0.05);
    border-color: #f44336;
}

.ng-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 16px;
    font-size: 16px;
    color: #ccc;
    flex-wrap: wrap;
    gap: 8px;
}

.ng-info span {
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 14px;
    border-radius: 20px;
}

#ngHint {
    font-size: 20px;
    font-weight: 600;
    margin: 12px 0;
    min-height: 32px;
    color: #d0d0d0;
}

.ng-input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.ng-input-group input {
    padding: 10px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-size: 16px;
    width: 150px;
    text-align: center;
}

.ng-input-group input:focus {
    outline: none;
    border-color: #f4a300;
}

.ng-input-group input:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ng-input-group button {
    padding: 10px 28px;
    border-radius: 30px;
    border: none;
    background: #f4a300;
    color: #0b0b0b;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.ng-input-group button:hover:not(:disabled) {
    background: #ffb71a;
    transform: scale(1.03);
}

.ng-input-group button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

#ngMessage {
    font-size: 18px;
    font-weight: 500;
    min-height: 30px;
    margin: 8px 0;
    color: #ddd;
}

#ngResetBtn {
    margin-top: 12px;
}

/* ============================================================
   REVIEWS – dengan klik untuk tunjuk Edit/Delete
   ============================================================ */
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.review-form-container,
.reviews-list-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 24px 28px;
    transition: border-color 0.3s;
}

.review-form-container:hover,
.reviews-list-container:hover {
    border-color: rgba(244, 163, 0, 0.08);
}

.review-form-container h3,
.reviews-list-container h3 {
    font-size: 20px;
    font-weight: 700;
    color: #f4a300;
    margin-bottom: 16px;
}

#reviewForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#reviewForm .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

#reviewsList {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 16px 20px;
    transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
}

.review-item:hover {
    border-color: rgba(244, 163, 0, 0.1);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.review-item .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.review-item .review-author {
    font-weight: 600;
    color: #e0e0e0;
    font-size: 15px;
}

.review-item .review-stars {
    color: #f4a300;
    font-size: 16px;
    letter-spacing: 1px;
}

.review-item .review-text {
    color: #c0c0c0;
    font-size: 15px;
    line-height: 1.6;
    margin: 4px 0 6px;
}

.review-item .review-date {
    font-size: 12px;
    color: #666;
}

.review-item .review-actions {
    display: none;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    animation: slideDown 0.3s ease forwards;
}

.review-item .review-actions.show {
    display: flex;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-item .review-actions button {
    background: none;
    border: none;
    color: #888;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.review-item .review-actions button:hover {
    background: rgba(244, 163, 0, 0.08);
    color: #f4a300;
}

.review-item .review-actions .delete-btn:hover {
    color: #ef5350;
    background: rgba(239, 83, 80, 0.08);
}

.review-item .click-hint {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    display: block;
}

body.light-mode .review-item .click-hint {
    color: #999;
}

body.light-mode .review-item .review-actions {
    border-top-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .review-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.light-mode .review-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.empty-state .empty-title {
    font-size: 20px;
    font-weight: 600;
    color: #b0b0b0;
    margin-bottom: 6px;
}

.empty-state .empty-desc {
    font-size: 15px;
    color: #888;
}

/* ============================================================
   SETTINGS
   ============================================================ */
.settings-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.setting-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px 24px;
    transition: border-color 0.3s;
}

.setting-section:hover {
    border-color: rgba(244, 163, 0, 0.08);
}

.setting-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #f4a300;
    margin-bottom: 12px;
}

.profile-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
    padding: 8px 0;
}

.profile-display p {
    color: #c0c0c0;
    font-size: 15px;
    padding: 4px 0;
}

.profile-display p strong {
    color: #e0e0e0;
    font-weight: 600;
}

.profile-display p:last-child {
    grid-column: 1 / -1;
}

#deleteDataBtn {
    border-color: #ef5350;
    color: #ef5350;
    background: rgba(239, 83, 80, 0.05);
}

#deleteDataBtn:hover {
    background: rgba(239, 83, 80, 0.15);
    border-color: #ef5350;
    color: #ef5350;
}

.setting-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 18px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    transition: border-color 0.3s;
}

.setting-item:hover {
    border-color: rgba(244, 163, 0, 0.15);
}

.setting-label {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    min-width: 80px;
}

.setting-toggle {
    padding: 8px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: #d0d0d0;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Inter', sans-serif;
    min-width: 100px;
}

.setting-toggle:hover {
    background: rgba(244, 163, 0, 0.06);
    border-color: rgba(244, 163, 0, 0.2);
    color: #f4a300;
    transform: translateY(-2px);
}

.setting-toggle:focus-visible {
    outline: 2px solid #f4a300;
    outline-offset: 3px;
}

.setting-desc {
    font-size: 13px;
    color: #888;
    width: 100%;
    margin-top: 2px;
}

/* ============================================================
   CHANGELOG
   ============================================================ */
.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.changelog-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 12px 16px;
    transition: border-color 0.3s;
}

.changelog-item:hover {
    border-color: rgba(244, 163, 0, 0.1);
}

.changelog-item .changelog-date {
    font-size: 11px;
    font-weight: 600;
    color: #f4a300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.changelog-item .changelog-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 2px 0 4px;
}

.changelog-item .changelog-change {
    font-size: 13px;
    color: #b0b0b0;
    line-height: 1.4;
    padding-left: 4px;
}

.changelog-item .changelog-change::before {
    content: '• ';
    color: #f4a300;
}

.changelog-item .changelog-badge {
    display: inline-block;
    background: rgba(244, 163, 0, 0.12);
    color: #f4a300;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 10px;
    border-radius: 20px;
    margin-left: 6px;
    border: 1px solid rgba(244, 163, 0, 0.1);
}

/* ============================================================
   COMING SOON
   ============================================================ */
.coming-soon {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s;
}

.coming-soon:hover {
    border-color: rgba(244, 163, 0, 0.08);
}

.coming-soon-icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.coming-soon h3 {
    font-size: 32px;
    font-weight: 700;
    color: #f4a300;
    margin-bottom: 12px;
}

.coming-soon p {
    font-size: 18px;
    color: #b0b0b0;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-note {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 24px;
}

/* ============================================================
   RESPONSIF
   ============================================================ */
@media (max-width: 900px) {
    body {
        padding-top: 80px;
    }
    .container {
        padding: 32px 24px 40px;
    }
    .nav-links li a {
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    .sticky-nav {
        padding: 0 16px;
        height: 64px;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(11, 11, 11, 0.98);
        backdrop-filter: blur(16px);
        padding: 16px 20px 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    }
    body.light-mode .nav-links {
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links li a {
        display: block;
        padding: 10px 16px;
        width: 100%;
        text-align: center;
        border-radius: 12px;
        font-size: 15px;
    }

    .verification-header h1,
    .home-header h1,
    .page-header h2 {
        font-size: 28px;
    }
    .home-header .sub-title {
        font-size: 18px;
    }
    .home-desc {
        font-size: 16px;
        padding: 16px;
    }
    .offer-list ul li {
        font-size: 14px;
    }

    .btn-home {
        min-width: 120px;
        font-size: 14px;
        padding: 10px 18px;
        flex: 1 1 100%;
    }

    .social-buttons .btn-discord,
    .social-buttons .btn-whatsapp {
        font-size: 14px;
        padding: 12px 24px;
        min-width: 150px;
        flex: 1 1 100%;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }
    .committee-grid {
        grid-template-columns: 1fr;
    }

    .rule-block {
        padding: 16px 18px;
    }
    .rule-block h3 {
        font-size: 17px;
    }
    .rule-block ul li {
        font-size: 14px;
    }

    .rules-section-header .section-enforcement {
        font-size: 18px;
    }

    .coming-soon {
        padding: 40px 16px;
    }
    .coming-soon h3 {
        font-size: 26px;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .toast-container {
        right: 12px;
        left: 12px;
        max-width: none;
        top: 80px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .games-tabs {
        gap: 6px;
    }
    .game-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
    #tttBoard {
        max-width: 240px;
    }
    .ttt-cell {
        font-size: 36px;
    }
    .rps-btn {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
    .game-score,
    .rps-score {
        gap: 16px;
        font-size: 13px;
    }

    .setting-item {
        padding: 16px 18px;
    }
    .setting-label {
        font-size: 14px;
        min-width: 60px;
    }
    .setting-toggle {
        padding: 6px 16px;
        font-size: 13px;
        min-width: 80px;
    }

    .profile-display {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .profile-setup-container {
        padding: 20px 16px;
    }

    .review-form-container,
    .reviews-list-container {
        padding: 18px 16px;
    }

    .greeting {
        font-size: 17px;
    }

    .ng-mode-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
    .ng-info {
        font-size: 14px;
    }
    .ng-input-group input {
        width: 120px;
        font-size: 14px;
    }
    .ng-input-group button {
        padding: 8px 20px;
        font-size: 14px;
    }
    #ngHint {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 16px 10px;
        padding-top: 76px;
    }
    .container {
        padding: 20px 12px 28px;
        border-radius: 20px;
    }
    .sticky-nav {
        height: 58px;
        padding: 0 12px;
    }
    .nav-links {
        top: 58px;
        padding: 12px 16px 20px;
    }
    .nav-links li a {
        font-size: 14px;
        padding: 8px 14px;
    }
    .nav-brand {
        font-size: 17px;
    }
    .nav-logo {
        font-size: 22px;
    }
    .nav-toggle span {
        width: 22px;
        height: 2px;
    }

    .verification-header h1,
    .home-header h1,
    .page-header h2 {
        font-size: 24px;
    }
    .verification-header .tagline {
        font-size: 15px;
    }

    .color-btn {
        width: 56px;
        height: 56px;
    }

    .btn-robot,
    .verify-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }
    .captcha-question {
        padding: 16px 12px;
    }
    .captcha-question p {
        font-size: 16px;
    }

    .home-desc {
        font-size: 15px;
        padding: 14px;
    }
    .offer-list ul li {
        font-size: 13px;
    }

    .staff-card,
    .committee-card {
        padding: 14px 16px;
    }
    .staff-icon {
        font-size: 26px;
    }
    .committee-card h4 {
        font-size: 16px;
    }

    .coming-soon-icon {
        font-size: 48px;
    }
    .coming-soon h3 {
        font-size: 22px;
    }
    .coming-soon p {
        font-size: 15px;
    }

    .faq-section .faq-question {
        font-size: 15px;
        padding: 14px 16px;
    }
    .faq-section .faq-answer {
        font-size: 14px;
    }
    .faq-section .faq-answer.open {
        padding: 0 16px 16px;
    }

    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .toast-container {
        top: 72px;
        right: 8px;
        left: 8px;
        gap: 8px;
    }
    .toast {
        font-size: 13px;
        padding: 12px 16px;
    }
    .toast .toast-icon {
        font-size: 18px;
    }

    #tttBoard {
        max-width: 200px;
        gap: 4px;
    }
    .ttt-cell {
        font-size: 28px;
        border-radius: 8px;
    }
    .rps-btn {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    .game-tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    .setting-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .setting-toggle {
        width: 100%;
    }

    .btn-save-profile {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
    }

    .profile-setup-container {
        padding: 16px 12px;
    }

    .changelog-item {
        padding: 10px 12px;
    }
    .changelog-item .changelog-title {
        font-size: 14px;
    }
    .review-item .review-actions {
        flex-direction: column;
        gap: 4px;
    }

    .rules-section-header .section-enforcement {
        font-size: 16px;
    }

    .ng-mode-btn {
        padding: 5px 12px;
        font-size: 12px;
    }
    .ng-info {
        font-size: 12px;
        gap: 4px;
    }
    .ng-info span {
        padding: 3px 10px;
    }
    .ng-input-group input {
        width: 100px;
        font-size: 13px;
        padding: 8px 12px;
    }
    .ng-input-group button {
        padding: 8px 16px;
        font-size: 13px;
    }
    #ngHint {
        font-size: 15px;
    }
    #ngMessage {
        font-size: 15px;
    }
    .ng-game-area {
        padding: 14px;
    }

    .social-buttons .btn-discord,
    .social-buttons .btn-whatsapp {
        font-size: 13px;
        padding: 10px 20px;
        min-width: 120px;
    }
}

/* ============================================================
   ACCESSIBILITY: REDUCE MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .page {
        animation: none !important;
    }
    .toast {
        animation: none !important;
    }
    .game-content.active {
        animation: none !important;
    }
    .ttt-cell.win {
        animation: none !important;
    }
    .review-item .review-actions {
        animation: none !important;
    }
}
