/* style.css - Tahanan SMP Modern Dark Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: #0a0f16;
    color: #edf2f7;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

/* animated background orbs */
.bg-orb {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(30, 130, 70, 0.15), transparent 50%),
                radial-gradient(circle at 90% 70%, rgba(212, 175, 55, 0.08), transparent 60%),
                linear-gradient(145deg, #0b1119 0%, #05090f 100%);
    z-index: -2;
    pointer-events: none;
}

/* custom scroll */
::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-track {
    background: #11161f;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #2ecc71;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #27ae60;
}

/* header styling with GREEN + GOLD logo */
header {
    padding: 70px 20px 50px;
    text-align: center;
    position: relative;
}

.header-content {
    max-width: 1100px;
    margin: 0 auto;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.logo-tahanan {
    font-size: 4.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #2ecc71, #1f8a4c, #2ecc71);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(46, 204, 113, 0.3);
    animation: shimmer 3s infinite;
}

.logo-smp {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f3b33d, #d4af37, #f5c542);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #b9c7d9;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46, 204, 113, 0.12);
    backdrop-filter: blur(4px);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #bbe9cf;
}

/* container and glass card style */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 30px 50px;
}

.glass-card {
    background: rgba(15, 22, 32, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 32px;
    transition: all 0.25s ease;
}

.glass-card:hover {
    border-color: rgba(46, 204, 113, 0.5);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.6);
    transform: translateY(-3px);
}

/* cards grid (3 columns) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 55px;
}

.card {
    padding: 28px 22px 32px;
    text-align: center;
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #fff, #cbd5e6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ip-display {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 60px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 18px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ip-display code {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    color: #9ef0cd;
    word-break: break-all;
    text-align: left;
}

.btn-icon {
    background: #2c3e3a;
    border: none;
    color: #b0f0d0;
    width: 34px;
    height: 34px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1rem;
}

.btn-icon:hover {
    background: #2ecc71;
    color: #0a0f16;
    transform: scale(1.02);
}

.status-row, .players-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    font-weight: 500;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #1e2a2a;
}

.status-online {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.15);
    border-left: 3px solid #2ecc71;
}

.status-offline {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.status-error {
    color: #f39c12;
}

.players-row i {
    color: #f3b33d;
}

.btn {
    border: none;
    padding: 12px 18px;
    border-radius: 44px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
    margin-top: 16px;
    font-family: inherit;
}

.primary-btn {
    background: linear-gradient(95deg, #1f8a4c, #2ecc71);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 8px 18px rgba(46, 204, 113, 0.3);
}

.discord-btn {
    background: #5865f2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.discord-btn:hover {
    background: #4752c4;
    transform: scale(0.98);
}

.discord-stats {
    background: rgba(88, 101, 242, 0.2);
    padding: 6px 12px;
    border-radius: 50px;
    display: inline-block;
    margin: 12px auto;
    font-size: 0.8rem;
}

/* FEATURE SECTION - PLUGINS GRID */
.feature-section {
    padding: 28px 32px;
    margin: 20px 0 40px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    border-left: 5px solid #2ecc71;
    padding-left: 20px;
}

.section-header h2 {
    font-size: 1.7rem;
    font-weight: 700;
}

.badge-pro {
    background: linear-gradient(135deg, #d4af37, #f3b33d);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #0b1119;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 24px;
    padding: 14px 16px;
    transition: 0.2s;
    border: 1px solid rgba(46, 204, 113, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(4px);
}

.feature-card i {
    font-size: 1.6rem;
    color: #d4af37;
    width: 32px;
}

.feature-card span {
    font-weight: 600;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.feature-card small {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-left: 6px;
}

.feature-card:hover {
    background: rgba(46, 204, 113, 0.1);
    transform: translateX(4px);
    border-color: #2ecc71;
}

.feature-loading {
    text-align: center;
    padding: 30px;
    color: #a0b3d9;
}

.feature-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.85rem;
    color: #b9c7d9;
    border-top: 1px dashed rgba(46, 204, 113, 0.3);
    padding-top: 18px;
}

/* info bar */
.info-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 50px;
    padding: 16px 24px;
    margin: 35px 0 20px;
    backdrop-filter: blur(8px);
}

.info-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-weight: 500;
}

.info-item i {
    color: #d4af37;
    font-size: 1.1rem;
}

.info-item span {
    font-weight: 700;
    color: #e0f2e9;
}

.info-item small {
    font-size: 0.7rem;
    color: #95a5a6;
}

/* footer */
footer {
    text-align: center;
    padding: 35px 20px 30px;
    border-top: 1px solid rgba(46, 204, 113, 0.2);
    margin-top: 30px;
    font-size: 0.85rem;
    color: #8d9bb0;
}

.footer-ip {
    margin-top: 10px;
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6c86a3;
}

/* Navigation Bar */
.nav-links, .nav-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(15, 22, 32, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 40px;
    color: #edf2f7;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.nav-link:hover {
    background: rgba(46, 204, 113, 0.2);
    border-color: #2ecc71;
    transform: translateY(-2px);
    color: #2ecc71;
}

.nav-link.active {
    background: linear-gradient(95deg, #1f8a4c, #2ecc71);
    border-color: #2ecc71;
    color: white;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.nav-link.discord-nav {
    background: rgba(88, 101, 242, 0.2);
    border-color: #5865f2;
}

.nav-link.discord-nav:hover {
    background: #5865f2;
    color: white;
    border-color: #5865f2;
}

/* Store button highlight */
.store-badge {
    background: linear-gradient(135deg, #f3b33d, #d4af37);
    color: #0a0f16;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-left: 6px;
}

/* ========== STORE PAGE SPECIFIC STYLES ========== */
.store-header {
    padding: 50px 20px 30px;
    text-align: center;
    position: relative;
}

.logo-store {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f3b33d, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rate-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(46, 204, 113, 0.12);
    backdrop-filter: blur(4px);
    padding: 8px 24px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(46, 204, 113, 0.4);
    margin-top: 20px;
}

.section-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 5px solid #f3b33d;
    padding-left: 20px;
}

.section-title i {
    color: #d4af37;
}

.promo-banner {
    background: linear-gradient(95deg, #1f5e3a, #2ecc7140);
    border-radius: 28px;
    padding: 18px 28px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border: 1px solid #2ecc7150;
}

.promo-text {
    font-weight: 700;
    font-size: 1.25rem;
}

.promo-text span {
    color: #f3b33d;
    font-size: 1.4rem;
}

.badge-fire {
    background: #d4af37;
    color: #0a0f16;
    padding: 6px 18px;
    border-radius: 60px;
    font-weight: 800;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.price-card {
    padding: 24px 22px;
    text-align: center;
    transition: transform 0.2s;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-icon {
    font-size: 2.6rem;
    margin-bottom: 12px;
    color: #d4af37;
}

.price-name {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #2ecc71;
    margin: 12px 0;
}

.price-desc {
    color: #b9c7d9;
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.btn-store {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid #2ecc71;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 700;
    color: #e2f0e6;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
}

.btn-store:hover {
    background: #2ecc71;
    color: #0a0f16;
    transform: scale(0.98);
}

.bundle-badge {
    background: #d4af37;
    color: #0a0f16;
    border-radius: 30px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 10px;
}

.save-tag {
    color: #f3b33d;
    font-weight: 700;
    font-size: 0.8rem;
}

.mega-card {
    background: linear-gradient(145deg, #16212e, #0b1119);
    border: 2px solid #d4af37;
}

.contact-info {
    margin-top: 40px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 48px;
    padding: 24px;
    backdrop-filter: blur(4px);
}

.contact-btn {
    background: #5865f2;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 700;
    margin-top: 12px;
    transition: 0.2s;
    text-decoration: none;
    color: white;
}

.contact-btn:hover {
    background: #4752c4;
    transform: scale(1.02);
}

/* responsive */
@media (max-width: 760px) {
    .logo-tahanan, .logo-smp, .logo-store {
        font-size: 2.6rem;
    }
    .container {
        padding: 15px 18px;
    }
    .section-header h2, .section-title {
        font-size: 1.3rem;
    }
    .info-bar {
        border-radius: 28px;
        gap: 15px;
    }
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nav-links, .nav-bar {
        gap: 12px;
    }
    .nav-link {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .price-name {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .cards-grid {
        gap: 18px;
    }
}