* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0e1a 0%, #0f1322 100%);
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== NAVBAR ==================== */
.navbar {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(88, 101, 242, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #5865f2;
}

.nav-logo {
    height: 35px;
    width: auto;
    margin-right: 10px;
}

.nav-brand i {
    margin-right: 10px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #5865f2;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('assets/images/bg-hero.jpg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.85) 0%, rgba(26, 31, 46, 0.9) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #5865f2, #7289da);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #b9bbbe;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-buttons {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}

.btn-danger {
    background: #ed4245;
    color: white;
}

.btn-danger:hover {
    background: #c03538;
    transform: translateY(-2px);
}

.btn-warning {
    background: #faa81a;
    color: #1e2230;
}

.btn-warning:hover {
    background: #e09500;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #4f545c;
    color: white;
}

.btn-secondary:hover {
    background: #3a3e45;
    transform: translateY(-2px);
}

.btn-buy {
    background: #57f287;
    color: #1e2230;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-buy:hover {
    background: #3ba55d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 242, 135, 0.3);
}

/* ==================== SERVER IP BOX ==================== */
.server-ip-box {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(88, 101, 242, 0.4);
    animation: fadeInUp 0.8s ease 0.3s backwards;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.ip-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.ip-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.ip-label {
    color: #b9bbbe;
    font-size: 0.9rem;
    font-weight: 500;
}

.ip-address {
    font-size: 1.3rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    color: #5865f2;
    letter-spacing: 0.5px;
}

/* GLOW EFFECT FOR COPY IP BUTTON */
.copy-ip-btn {
    background: #5865f2;
    border: none;
    padding: 6px 14px;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s infinite;
}

.copy-ip-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.copy-ip-btn:hover::before {
    left: 100%;
}

.copy-ip-btn:hover {
    background: #4752c4;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.6);
    animation: none;
}

.copy-ip-btn::after {
    content: 'Click to copy IP';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e2230;
    color: #ffffff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin-bottom: 8px;
    pointer-events: none;
}

.copy-ip-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(88, 101, 242, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(88, 101, 242, 0);
    }
}

/* ==================== SERVER STATUS ==================== */
.server-status {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.status-online {
    color: #57f287;
}

.status-offline {
    color: #ed4245;
}

.status-loading {
    color: #faa81a;
}

/* ==================== SERVER INFO SECTION ==================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
}

.section-title .highlight {
    background: linear-gradient(135deg, #5865f2, #7289da);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.server-info {
    padding: 80px 0;
}

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

.info-card {
    background: rgba(30, 34, 48, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    border: 1px solid rgba(88, 101, 242, 0.2);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 101, 242, 0.5);
}

.info-card i {
    font-size: 2.5rem;
    color: #5865f2;
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #b9bbbe;
}

.info-card p {
    font-size: 1.5rem;
    font-weight: bold;
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: rgba(30, 34, 48, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 15px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(114, 137, 218, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(88, 101, 242, 0.3);
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.4), rgba(114, 137, 218, 0.2));
}

.feature-icon i {
    font-size: 2.2rem;
    color: #5865f2;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.feature-card p {
    font-size: 0.85rem;
    color: #b9bbbe;
    line-height: 1.5;
}

.pixel-corner {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: transparent;
    border-right: 2px solid rgba(88, 101, 242, 0.4);
    border-bottom: 2px solid rgba(88, 101, 242, 0.4);
    border-radius: 0 0 5px 0;
    transition: all 0.3s;
}

.feature-card:hover .pixel-corner {
    border-right-color: #5865f2;
    border-bottom-color: #5865f2;
    width: 30px;
    height: 30px;
}

/* ==================== SHOP SECTION - RANK CARDS ==================== */
.ranks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 60px 0;
}

.rank-card {
    background: linear-gradient(135deg, #1e2230, #181c2a);
    border-radius: 20px;
    padding: 1.8rem;
    transition: all 0.3s;
    border: 1px solid rgba(88, 101, 242, 0.3);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease backwards;
}

.rank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5865f2, #7289da, #5865f2);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.rank-card:hover::before {
    transform: scaleX(1);
}

.rank-card:hover {
    transform: translateY(-8px);
    border-color: #5865f2;
    box-shadow: 0 20px 40px rgba(88, 101, 242, 0.2);
}

.rank-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #5865f2;
    font-weight: 700;
}

.rank-price {
    font-size: 2rem;
    font-weight: bold;
    margin: 0.8rem 0;
    color: #57f287;
    display: inline-block;
    padding: 0.2rem 1rem;
    background: rgba(87, 242, 135, 0.1);
    border-radius: 40px;
}

.rank-description {
    color: #b9bbbe;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.rank-benefits {
    list-style: none;
    margin: 1.2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rank-benefits li {
    padding: 4px 10px;
    font-size: 0.8rem;
    color: #b9bbbe;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: inline-block;
}

.rank-benefits li::before {
    content: '✓ ';
    color: #57f287;
    font-weight: bold;
}

/* ==================== ANNOUNCEMENT SECTION ==================== */
.announcement {
    padding: 60px 0;
}

.announcement-card {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(114, 137, 218, 0.1));
    border: 1px solid rgba(88, 101, 242, 0.5);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.announcement-card i {
    font-size: 2rem;
    color: #5865f2;
}

.announcement-content h3 {
    margin-bottom: 0.5rem;
    color: #5865f2;
}

.announcement-content p {
    color: #b9bbbe;
}

/* ==================== SHOP HERO ==================== */
.shop-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #0a0e1a, #1a1f2e);
}

.shop-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #5865f2, #7289da);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shop-hero p {
    color: #b9bbbe;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #0a0e1a;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(88, 101, 242, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: #b9bbbe;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #5865f2;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b9bbbe;
}

/* ==================== FLOATING SOCIAL BUTTONS ==================== */
.social-floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: #5865f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.social-btn:hover {
    transform: scale(1.1);
    background: #4752c4;
}

/* ==================== TOAST NOTIFICATION ==================== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #5865f2;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2000;
    font-weight: 500;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.toast.show {
    opacity: 1;
}

/* ==================== LOADING SPINNER ==================== */
.loading-spinner {
    text-align: center;
    padding: 40px;
}

.loading-spinner i {
    font-size: 2rem;
    color: #5865f2;
}

/* ==================== ADMIN LOGIN PAGE STYLES ==================== */
.admin-login-body {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-card {
    background: rgba(30, 34, 48, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid rgba(88, 101, 242, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.5s ease;
}

.login-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 20px;
}

.login-card h2 {
    font-size: 28px;
    background: linear-gradient(135deg, #5865f2, #7289da);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.login-card p {
    color: #b9bbbe;
    margin-bottom: 32px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #5865f2;
    font-size: 18px;
}

.input-group input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: #2a2e3d;
    border: 1px solid #3a3e4d;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
    outline: none;
}

.input-group input:focus {
    border-color: #5865f2;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
}

.login-btn {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    border: none;
    padding: 14px;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(88, 101, 242, 0.4);
}

.login-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-footer p {
    color: #4f545c;
    font-size: 12px;
    margin-bottom: 0;
}

/* ==================== ADMIN DASHBOARD STYLES - SIDEBAR FIXED ==================== */
.admin-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.admin-sidebar {
    width: 280px;
    background: #1e2230;
    padding: 2rem 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid rgba(88, 101, 242, 0.2);
    z-index: 100;
    display: flex;
    flex-direction: column;
}

/* Scrollbar styling untuk sidebar */
.admin-sidebar::-webkit-scrollbar {
    width: 4px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: #2a2e3d;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: #5865f2;
    border-radius: 4px;
}

.admin-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #5865f2;
    padding: 0 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.admin-logo-img {
    height: 35px;
    width: auto;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.admin-nav-item {
    background: transparent;
    border: none;
    color: #b9bbbe;
    padding: 12px 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-nav-item i {
    width: 20px;
    font-size: 1.1rem;
}

.admin-nav-item:hover, .admin-nav-item.active {
    background: rgba(88, 101, 242, 0.2);
    color: #5865f2;
    border-left: 3px solid #5865f2;
}

.admin-user-info {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    flex-shrink: 0;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(88, 101, 242, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar i {
    font-size: 20px;
    color: #5865f2;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-username {
    font-weight: 600;
    color: white;
}

.user-role {
    font-size: 0.7rem;
    color: #b9bbbe;
}

.logout-btn {
    background: rgba(237, 66, 69, 0.2);
    border: 1px solid rgba(237, 66, 69, 0.3);
    padding: 12px;
    border-radius: 10px;
    color: #ed4245;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    margin: 16px 20px;
    flex-shrink: 0;
}

.logout-btn:hover {
    background: rgba(237, 66, 69, 0.4);
    border-color: #ed4245;
}

.admin-main {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    min-height: 100vh;
    width: calc(100% - 280px);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(87, 242, 135, 0.1);
    padding: 6px 14px;
    border-radius: 40px;
    color: #57f287;
    font-size: 0.85rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #57f287;
    box-shadow: 0 0 5px #57f287;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* Tab Header */
.tab-header {
    margin-bottom: 24px;
}

.tab-header h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.tab-header p {
    color: #b9bbbe;
}

/* Admin Forms */
.admin-form {
    max-width: 800px;
    background: #1e2230;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #b9bbbe;
    font-weight: 500;
}

.form-group label i {
    margin-right: 8px;
    color: #5865f2;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: #2a2e3d;
    border: 1px solid #3a3e4d;
    color: white;
    border-radius: 10px;
    transition: all 0.3s;
    outline: none;
    font-size: 0.9rem;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #5865f2;
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.2);
}

.form-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #3a3e4d;
}

.form-divider span {
    background: #1e2230;
    padding: 0 1rem;
    position: relative;
    color: #b9bbbe;
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-group input {
    width: auto;
}

/* ==================== RANK MANAGEMENT STYLES ==================== */

/* Action Buttons Bar */
.rank-actions-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 16px;
    background: #1e2230;
    border-radius: 16px;
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.action-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.action-btn.primary {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    color: white;
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.action-btn.danger {
    background: #ed4245;
    color: white;
}

.action-btn.danger:hover {
    background: #c03538;
    transform: translateY(-2px);
}

.action-btn.warning {
    background: #faa81a;
    color: #1e2230;
}

.action-btn.warning:hover {
    background: #e09500;
    transform: translateY(-2px);
}

.action-btn.secondary {
    background: #4f545c;
    color: white;
}

.action-btn.secondary:hover:not(:disabled) {
    background: #3a3e45;
    transform: translateY(-2px);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Rank Cards for Mobile */
.ranks-cards-container {
    display: none;
    gap: 16px;
    flex-direction: column;
    margin-bottom: 24px;
}

.rank-card-item {
    background: #1e2230;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(88, 101, 242, 0.2);
    transition: all 0.3s;
}

.rank-card-item.inactive {
    opacity: 0.7;
    border-color: rgba(237, 66, 69, 0.3);
}

.rank-card-item:hover {
    transform: translateY(-2px);
    border-color: #5865f2;
}

.rank-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.rank-card-header h3 {
    font-size: 1.3rem;
    color: #5865f2;
    margin: 0;
}

.rank-card-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.rank-card-status.active {
    background: rgba(87, 242, 135, 0.2);
    color: #57f287;
}

.rank-card-status.inactive {
    background: rgba(237, 66, 69, 0.2);
    color: #ed4245;
}

.rank-card-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #57f287;
    margin-bottom: 12px;
}

.rank-card-desc {
    color: #b9bbbe;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.rank-card-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.benefit-tag {
    background: rgba(88, 101, 242, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #b9bbbe;
}

.rank-card-actions {
    display: flex;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rank-card-actions button {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
}

.rank-card-actions .edit-rank-btn {
    background: #faa81a;
    color: #1e2230;
}

.rank-card-actions .edit-rank-btn:hover {
    background: #e09500;
}

.rank-card-actions .delete-rank-btn {
    background: #ed4245;
    color: white;
}

.rank-card-actions .delete-rank-btn:hover {
    background: #c03538;
}

/* Ranks Table */
.ranks-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
}

.ranks-table {
    width: 100%;
    background: #1e2230;
    border-radius: 12px;
    overflow: hidden;
    border-collapse: collapse;
}

.ranks-table th {
    background: #2a2e3d;
    color: #5865f2;
    font-weight: 600;
    padding: 14px 16px;
    font-size: 0.85rem;
    text-align: left;
}

.ranks-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #2a2e3d;
    color: #b9bbbe;
    font-size: 0.85rem;
}

.ranks-table tr:hover td {
    background: rgba(88, 101, 242, 0.05);
}

.checkbox-col {
    width: 40px;
    text-align: center;
}

.checkbox-col input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #5865f2;
}

.actions-col {
    white-space: nowrap;
}

.price-cell {
    font-weight: 600;
    color: #57f287;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(87, 242, 135, 0.2);
    color: #57f287;
}

.status-badge.inactive {
    background: rgba(237, 66, 69, 0.2);
    color: #ed4245;
}

.edit-rank-btn, .delete-rank-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin: 0 3px;
    transition: all 0.3s;
    font-size: 0.75rem;
}

.edit-rank-btn {
    background: #faa81a;
    color: #1e2230;
}

.edit-rank-btn:hover {
    background: #e09500;
    transform: scale(1.02);
}

.delete-rank-btn {
    background: #ed4245;
    color: white;
}

.delete-rank-btn:hover {
    background: #c03538;
    transform: scale(1.02);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    background: #1e2230;
    border-radius: 16px;
    border: 1px dashed rgba(88, 101, 242, 0.3);
}

.empty-state i {
    font-size: 48px;
    color: #5865f2;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    color: #b9bbbe;
    margin-bottom: 20px;
}

.loading-state {
    text-align: center;
    padding: 48px;
}

.loading-state i {
    font-size: 32px;
    color: #5865f2;
}

/* Announcement Section */
.current-announcement {
    background: #1e2230;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(88, 101, 242, 0.3);
}

.current-announcement .card-header h3 {
    margin-bottom: 1rem;
    color: #5865f2;
    font-size: 1.1rem;
}

.announcement-preview {
    background: #2a2e3d;
    border-radius: 12px;
    padding: 1rem;
}

.announcement-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #3a3e4d;
}

.announcement-preview-header strong {
    font-size: 1.1rem;
    color: #57f287;
}

.delete-announcement-btn {
    background: #ed4245;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
}

.delete-announcement-btn:hover {
    background: #c03538;
    transform: scale(1.02);
}

.announcement-preview p {
    margin: 0.5rem 0;
    color: #b9bbbe;
}

.announcement-preview small {
    color: #4f545c;
    font-size: 0.8rem;
}

.announcement-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.announcement-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #3a3e4d;
}

.announcement-divider span {
    background: #1e2230;
    padding: 0 1rem;
    position: relative;
    color: #b9bbbe;
    font-size: 0.9rem;
}

/* Assets Section */
.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.asset-card {
    background: #1e2230;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(88, 101, 242, 0.2);
    transition: transform 0.3s;
}

.asset-card:hover {
    transform: translateY(-4px);
    border-color: rgba(88, 101, 242, 0.4);
}

.asset-icon {
    font-size: 32px;
    color: #5865f2;
    margin-bottom: 12px;
}

.asset-card h3 {
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.asset-preview {
    width: 150px;
    height: 150px;
    margin: 0 auto 16px;
    background: #2a2e3d;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.asset-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bg-preview {
    background-size: cover;
    background-position: center;
}

.asset-info code {
    background: #2a2e3d;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    color: #57f287;
}

.asset-info span {
    display: block;
    font-size: 0.7rem;
    color: #b9bbbe;
    margin-top: 8px;
}

.assets-tip {
    background: rgba(88, 101, 242, 0.1);
    border-left: 4px solid #5865f2;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-top: 20px;
}

.assets-tip code {
    background: #2a2e3d;
    padding: 2px 6px;
    border-radius: 4px;
}

/* ==================== MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #1e2230;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    max-width: 500px;
    position: relative;
    border: 1px solid rgba(88, 101, 242, 0.3);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #2a2e3d;
}

.modal-header h3 {
    margin: 0;
    color: #5865f2;
}

.close-modal {
    font-size: 28px;
    cursor: pointer;
    color: #b9bbbe;
    transition: color 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: #ed4245;
}

#rank-form {
    padding: 24px;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rank-card:nth-child(1) { animation-delay: 0.05s; }
.rank-card:nth-child(2) { animation-delay: 0.1s; }
.rank-card:nth-child(3) { animation-delay: 0.15s; }
.rank-card:nth-child(4) { animation-delay: 0.2s; }
.rank-card:nth-child(5) { animation-delay: 0.25s; }
.rank-card:nth-child(6) { animation-delay: 0.3s; }

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(88, 101, 242, 0.2);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .server-ip-box {
        flex-direction: row;
        padding: 0.6rem 1rem;
        border-radius: 40px;
    }
    
    .ip-logo {
        width: 30px;
        height: 30px;
    }
    
    .ip-content {
        gap: 0.5rem;
    }
    
    .ip-address {
        font-size: 0.9rem;
    }
    
    .ip-label {
        font-size: 0.75rem;
    }
    
    .copy-ip-btn {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
    }
    
    .feature-icon i {
        font-size: 1.6rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.75rem;
    }
    
    /* RANK CARDS RESPONSIVE */
    .ranks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 40px 0;
    }
    
    .rank-card {
        padding: 1.2rem;
        border-radius: 16px;
    }
    
    .rank-card h3 {
        font-size: 1.3rem;
    }
    
    .rank-price {
        font-size: 1.4rem;
        padding: 0.15rem 0.8rem;
    }
    
    .rank-description {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .rank-benefits {
        margin: 0.8rem 0;
        gap: 0.4rem;
    }
    
    .rank-benefits li {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
    
    .btn-buy {
        padding: 8px;
        font-size: 0.85rem;
    }
    
    /* ADMIN RESPONSIVE - SIDEBAR MENGEcil */
    .admin-sidebar {
        width: 70px;
        padding: 1rem 0;
    }
    
    .admin-sidebar span:not(.status-text) {
        display: none;
    }
    
    .admin-logo span {
        display: none;
    }
    
    .admin-logo {
        padding: 0 0 1rem 0;
    }
    
    .admin-logo-img {
        height: 35px;
        margin: 0 auto;
    }
    
    .admin-nav-item {
        justify-content: center;
        padding: 12px 0;
    }
    
    .admin-nav-item i {
        margin-right: 0;
        font-size: 1.3rem;
    }
    
    .admin-user-info {
        justify-content: center;
        padding: 12px 0;
    }
    
    .user-details {
        display: none;
    }
    
    .logout-btn span {
        display: none;
    }
    
    .logout-btn {
        justify-content: center;
        margin: 16px 10px;
        padding: 10px;
    }
    
    .admin-main {
        margin-left: 70px;
        width: calc(100% - 70px);
        padding: 1rem;
    }
    
    /* Show cards, hide table on mobile */
    .ranks-table-wrapper {
        display: none;
    }
    
    .ranks-cards-container {
        display: flex;
    }
    
    .rank-actions-bar {
        flex-direction: column;
    }
    
    .action-btn {
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .assets-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 95%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .admin-header h1 {
        font-size: 1.5rem;
    }
    
    .tab-header h2 {
        font-size: 1.4rem;
    }
}

@media (min-width: 769px) {
    .ranks-cards-container {
        display: none;
    }
    
    .ranks-table-wrapper {
        display: block;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .server-ip-box {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 30px;
    }
    
    .ip-content {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* RANK CARDS MOBILE */
    .ranks-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 30px 0;
    }
    
    .rank-card {
        padding: 1rem;
    }
    
    .rank-card h3 {
        font-size: 1.2rem;
    }
    
    .rank-price {
        font-size: 1.3rem;
        padding: 0.15rem 0.6rem;
    }
    
    .rank-benefits li {
        padding: 3px 7px;
        font-size: 0.65rem;
    }
    
    .btn-buy {
        padding: 8px;
        font-size: 0.8rem;
    }
    
    .login-card {
        padding: 30px 20px;
    }
    
    .admin-main {
        padding: 0.8rem;
    }
    
    .admin-form {
        padding: 1rem;
    }
    
    .rank-card-item {
        padding: 12px;
    }
    
    .rank-card-header h3 {
        font-size: 1.1rem;
    }
    
    .rank-card-price {
        font-size: 1.2rem;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    #rank-form {
        padding: 20px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.4rem;
    }
    
    .server-ip-box {
        flex-direction: column;
        text-align: center;
    }
    
    .ip-content {
        justify-content: center;
    }
    
    .rank-card {
        padding: 0.8rem;
    }
    
    .rank-card h3 {
        font-size: 1rem;
    }
    
    .rank-price {
        font-size: 1.1rem;
    }
    
    .rank-description {
        font-size: 0.7rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, #5865f2, #7289da);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hide {
    display: none;
}

.show {
    display: block;
}
