/* Server Status Bar */
.server-status-bar {
    position: absolute;
    top: 10px;
    right: 30px;
    display: flex;
    gap: 15px;
    background: rgba(26, 26, 46, 0.7);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid rgba(106, 76, 147, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(106, 76, 147, 0.1);
    font-size: 0.9rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c77dff;
}

.status-item .status-value {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.online {
    background-color: #c77dff;
    box-shadow: 0 0 8px #c77dff;
}

.status-dot.offline {
    background-color: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.status-online {
    color: #c77dff;
}

.status-offline {
    color: #ef4444;
}

/* Theme Toggle Button */
.theme-toggle {
    position: absolute;
    top: 10px;
    left: 20px;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.8),
        rgba(22, 33, 62, 0.8)
    );
    border: 2px solid rgba(106, 76, 147, 0.3);
    color: #c77dff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(106, 76, 147, 0.1);
    transform: translateY(0);
}

.theme-toggle:hover {
    background: linear-gradient(135deg, 
        rgba(106, 76, 147, 0.4),
        rgba(157, 78, 221, 0.4)
    );
    color: #fff;
    box-shadow: 0 15px 40px rgba(106, 76, 147, 0.2);
    transform: rotate(180deg) scale(1.1);
    border-color: rgba(199, 125, 255, 0.5);
}

/* Navigation */
.top-nav {
    position: relative;
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 0;
    height: 100%;
    align-items: center;
}

.nav-btn {
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.9),
        rgba(22, 33, 62, 0.9)
    );
    border: 2px solid rgba(199, 125, 255, 0.3);
    color: #c77dff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(106, 76, 147, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 48px;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(199, 125, 255, 0.2),
        rgba(124, 58, 237, 0.2)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(199, 125, 255, 0.5);
    box-shadow: 0 8px 25px rgba(106, 76, 147, 0.2);
    color: #fff;
}

.nav-btn:hover::before {
    opacity: 1;
}

.nav-btn:active {
    transform: translateY(0);
}

.nav-btn span:first-child {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.nav-btn:hover span:first-child {
    transform: scale(1.1) rotate(5deg);
}

/* Light Theme Navigation */
[data-theme="light"] .nav-btn {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95),
        rgba(248, 250, 252, 0.95)
    );
    border-color: rgba(124, 58, 237, 0.2);
    color: #7c3aed;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .nav-btn:hover {
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.1),
        rgba(199, 125, 255, 0.1)
    );
    border-color: rgba(124, 58, 237, 0.3);
    color: #7c3aed;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.15);
}

/* Responsive Design for Navigation */
@media (max-width: 1200px) {
    .top-nav {
        gap: 12px;
        padding: 0 15px;
    }

    .nav-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        height: 44px;
    }
}

@media (max-width: 992px) {
    .top-nav {
        gap: 10px;
    }

    .nav-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .server-status-bar {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin: 10px 0;
        justify-content: center;
        border-radius: 12px;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 0.7rem;
        height: 38px;
        min-width: 38px;
    }

    .nav-btn span:last-child {
        display: none;
    }

    .nav-btn span:first-child {
        margin: 0;
        font-size: 1.1rem;
    }

    .theme-toggle {
        position: relative;
        top: auto;
        left: auto;
        margin: 0;
    }

    .news-modal {
        padding: 10px;
    }

    .news-modal-content {
        margin: 20px auto;
        border-radius: 20px;
    }

    .news-modal-body {
        padding: 20px;
    }

    .news-modal-title {
        font-size: 1.5rem;
    }

    .news-modal-text {
        font-size: 0.95rem;
        padding: 15px;
    }

    .news-modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .quick-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .quick-stats .stat-card {
        padding: 12px;
    }
    
    .quick-stats .stat-value {
        font-size: 1rem;
        min-width: 60px;
    }
    
    .quick-stats .stat-label {
        font-size: 0.7rem;
    }

    .payment-history {
        padding: 15px;
    }

    .payment-item {
        padding: 12px;
        margin-bottom: 8px;
    }

    .payment-name {
        font-size: 0.85rem;
    }

    .payment-amount {
        font-size: 0.8rem;
    }

    .payment-date {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .quick-stats {
        grid-template-columns: 1fr;
    }

    .nav-btn {
        padding: 6px 10px;
        height: 34px;
        min-width: 34px;
    }

    .nav-btn span:first-child {
        font-size: 1rem;
    }

    .server-status-bar {
        padding: 6px 10px;
        height: auto;
    }

    .status-item {
        font-size: 0.75rem;
    }

    .news-modal-title {
        font-size: 1.3rem;
    }

    .news-modal-text {
        font-size: 0.9rem;
        padding: 12px;
    }

    .quick-stats .stat-card {
        padding: 10px;
    }

    .quick-stats .stat-value {
        font-size: 0.9rem;
    }

    .quick-stats .stat-label {
        font-size: 0.65rem;
    }
}

/* Stats Cards */
.stat-card {
    background: linear-gradient(135deg, 
        rgba(22, 33, 62, 0.8),
        rgba(26, 26, 46, 0.8)
    );
    border: 2px solid rgba(45, 45, 68, 0.3);
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(106, 76, 147, 0.1);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    border-color: rgba(106, 76, 147, 0.5);
    box-shadow: 0 15px 40px rgba(106, 76, 147, 0.15);
    transform: translateY(-5px) scale(1.02);
}

.stat-value {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #c77dff;
    font-family: 'Courier New', monospace;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Light Theme Stats Cards */
[data-theme="light"] .stat-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95),
        rgba(248, 250, 252, 0.95)
    );
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .stat-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .stat-value {
    color: #7c3aed;
}

[data-theme="light"] .stat-label {
    color: #64748b;
}

/* News Preview */
.news-preview {
    background: linear-gradient(135deg, 
        rgba(22, 33, 62, 0.8),
        rgba(26, 26, 46, 0.8)
    );
    border: 2px solid rgba(45, 45, 68, 0.3);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(106, 76, 147, 0.1);
    backdrop-filter: blur(10px);
}

.news-preview-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #c77dff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #6a4c93;
    padding-bottom: 10px;
}

.news-preview-item {
    background: linear-gradient(135deg, 
        rgba(22, 33, 62, 0.8),
        rgba(26, 26, 46, 0.8)
    );
    border: 1px solid rgba(199, 125, 255, 0.15);
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(199, 125, 255, 0.05);
    backdrop-filter: blur(5px);
    cursor: pointer;
    overflow: hidden;
}

.news-preview-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #c77dff, transparent);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.news-preview-item:hover {
    transform: translateX(5px) scale(1.01);
    border-color: rgba(199, 125, 255, 0.3);
    box-shadow: 0 15px 40px rgba(199, 125, 255, 0.1);
}

.news-preview-item:hover::before {
    opacity: 1;
}

.news-preview-item h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-preview-item h4::before {
    content: '📰';
    font-size: 1.1rem;
}

.news-preview-content {
    color: #b8b8b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-preview-date {
    color: #c77dff;
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-preview-date::before {
    content: '📅';
    font-size: 0.9rem;
}

/* Light Theme News Preview */
[data-theme="light"] .news-preview {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95),
        rgba(248, 250, 252, 0.95)
    );
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .news-preview-title {
    color: #7c3aed;
    border-bottom-color: rgba(124, 58, 237, 0.2);
}

[data-theme="light"] .news-preview-item {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95),
        rgba(248, 250, 252, 0.95)
    );
    border-color: rgba(124, 58, 237, 0.15);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.05);
}

[data-theme="light"] .news-preview-item:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .news-preview-item h4 {
    color: #1e293b;
}

[data-theme="light"] .news-preview-content {
    color: #475569;
}

[data-theme="light"] .news-preview-date {
    color: #7c3aed;
}

/* News Modal */
.news-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    overflow-y: auto;
    backdrop-filter: blur(8px);
    padding: 20px;
}

.news-modal-content {
    background: linear-gradient(135deg, 
        rgba(22, 33, 62, 0.95) 0%,
        rgba(26, 26, 46, 0.98) 100%
    );
    border: 1px solid rgba(199, 125, 255, 0.2);
    border-radius: 24px;
    max-width: 900px;
    margin: 40px auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(199, 125, 255, 0.25);
    overflow: hidden;
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-modal-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    margin: -30px -30px 20px -30px;
    background-color: var(--surface-2);
    position: relative;
}

.news-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
    transition: opacity 0.3s ease;
}

.news-modal-image[style*="display: none"] {
    opacity: 0;
}

.news-modal-image:not([style*="display: none"]) {
    opacity: 1;
}

.news-modal-body {
    padding: 40px;
    position: relative;
}

.news-modal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(199, 125, 255, 0.2) 50%,
        transparent 100%
    );
}

.news-modal-title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.3;
    background: linear-gradient(135deg, #fff 0%, #c77dff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(199, 125, 255, 0.2);
}

.news-modal-date {
    color: #c77dff;
    font-size: 0.95rem;
    margin-bottom: 25px;
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-modal-date::before {
    content: '📅';
    font-size: 1.1rem;
}

.news-modal-text {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 1.1rem;
    white-space: pre-line;
    background: rgba(199, 125, 255, 0.03);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(199, 125, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.news-modal-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(199, 125, 255, 0.05) 0%,
        transparent 100%
    );
    pointer-events: none;
}

.news-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(199, 125, 255, 0.1);
    border: 1px solid rgba(199, 125, 255, 0.2);
    color: #c77dff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    backdrop-filter: blur(4px);
}

.news-modal-close:hover {
    background: rgba(199, 125, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(199, 125, 255, 0.4);
    box-shadow: 0 0 20px rgba(199, 125, 255, 0.2);
}

/* Payment History */
.payment-history {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    border: 2px solid #2d2d44;
    padding: 25px;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(106, 76, 147, 0.1);
}

.payment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-item {
    background: linear-gradient(135deg, 
        rgba(10, 10, 15, 0.6),
        rgba(26, 26, 46, 0.6)
    );
    border: 1px solid rgba(45, 45, 68, 0.3);
    padding: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(106, 76, 147, 0.05);
    backdrop-filter: blur(5px);
    margin: 0;
}

.payment-item:hover {
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.8),
        rgba(22, 33, 62, 0.8)
    );
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(106, 76, 147, 0.1);
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.customer-name {
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.customer-name i {
    color: #c77dff;
    font-size: 0.9rem;
    opacity: 0.8;
}

.payment-amount {
    color: #10b981;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(16, 185, 129, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    transition: all 0.3s ease;
}

.payment-amount i {
    color: #10b981;
    font-size: 0.8rem;
    opacity: 0.8;
}

.payment-date {
    font-size: 0.75rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.payment-date i {
    color: #c77dff;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Light Theme Payment History */
[data-theme="light"] .payment-history {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95),
        rgba(248, 250, 252, 0.95)
    );
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .payment-item {
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.95),
        rgba(241, 245, 249, 0.95)
    );
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.05);
}

[data-theme="light"] .payment-item:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95),
        rgba(248, 250, 252, 0.95)
    );
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .customer-name {
    color: #1e293b;
}

[data-theme="light"] .customer-name i {
    color: #7c3aed;
}

[data-theme="light"] .payment-date {
    color: #64748b;
}

[data-theme="light"] .payment-date i {
    color: #7c3aed;
}

[data-theme="light"] .payment-amount {
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
    border-color: rgba(5, 150, 105, 0.15);
}

[data-theme="light"] .payment-amount i {
    color: #059669;
}

[data-theme="light"] .payment-item:hover .payment-amount {
    background: rgba(5, 150, 105, 0.12);
    border-color: rgba(5, 150, 105, 0.25);
}

/* Quick Stats */
.quick-stats {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    border: 2px solid #2d2d44;
    padding: 20px;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(106, 76, 147, 0.1);
    margin-bottom: 30px;
}

.quick-stats .stat-card {
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    border: 2px solid #2d2d44;
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quick-stats .stat-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin: 0;
}

.quick-stats .stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #c77dff;
    font-family: 'Courier New', monospace;
    margin: 0;
    min-width: 70px;
    text-align: right;
}

.quick-stats .stat-value.ping {
    color: #10b981;
}

.quick-stats .stat-value.ping.high {
    color: #ef4444;
}

.quick-stats .stat-value.ping.medium {
    color: #f59e0b;
}

/* Kredi Yükle Butonları */
.credit-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.credit-btn {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.8));
    border: 2px solid rgba(106, 76, 147, 0.3);
    color: #c77dff;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(106, 76, 147, 0.1);
    position: relative;
    overflow: hidden;
}

.credit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 76, 147, 0.2), rgba(157, 78, 221, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.credit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(106, 76, 147, 0.2);
    border-color: rgba(199, 125, 255, 0.5);
}

.credit-btn:hover::before {
    opacity: 1;
}

.credit-btn.premium {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.05));
    border-color: rgba(234, 179, 8, 0.3);
    color: #fbbf24;
}

.credit-btn.vip {
    background: linear-gradient(135deg, rgba(199, 125, 255, 0.1), rgba(199, 125, 255, 0.05));
    border-color: rgba(199, 125, 255, 0.3);
    color: #c77dff;
}

.credit-btn.iron {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.1), rgba(156, 163, 175, 0.05));
    border-color: rgba(156, 163, 175, 0.3);
    color: #9ca3af;
}

.credit-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.credit-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.credit-price {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Light Theme için Kredi Butonları */
[data-theme="light"] .credit-btn {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(241, 245, 249, 0.8));
    border-color: rgba(124, 58, 237, 0.2);
    color: #7c3aed;
}

[data-theme="light"] .credit-btn.premium {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.05));
    border-color: rgba(234, 179, 8, 0.3);
    color: #d97706;
}

[data-theme="light"] .credit-btn.vip {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.05));
    border-color: rgba(124, 58, 237, 0.3);
    color: #7c3aed;
}

[data-theme="light"] .credit-btn.iron {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.1), rgba(100, 116, 139, 0.05));
    border-color: rgba(100, 116, 139, 0.3);
    color: #64748b;
}

[data-theme="light"] .credit-btn:hover {
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
}

/* Responsive Tasarım için Kredi Butonları */
@media (max-width: 768px) {
    .credit-buttons {
        gap: 10px;
    }

    .credit-btn {
        padding: 12px 20px;
        min-width: 100px;
    }

    .credit-icon {
        font-size: 1.3rem;
    }

    .credit-title {
        font-size: 0.8rem;
    }

    .credit-price {
        font-size: 1rem;
    }
}

/* Responsive Design for Components */
@media (max-width: 1200px) {
    .top-nav {
        padding: 8px 15px;
    }

    .nav-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .top-nav {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .nav-btn {
        padding: 8px 12px;
        font-size: 0.7rem;
    }

    .nav-btn span:last-child {
        display: none;
    }

    .nav-btn span:first-child {
        margin: 0;
    }

    .news-modal {
        padding: 10px;
    }

    .news-modal-content {
        margin: 20px auto;
        border-radius: 20px;
    }

    .news-modal-body {
        padding: 25px;
    }

    .news-modal-title {
        font-size: 1.8rem;
    }

    .news-modal-text {
        font-size: 1rem;
        padding: 20px;
    }

    .news-modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .quick-stats .stat-card {
        padding: 12px 15px;
    }
    
    .quick-stats .stat-value {
        font-size: 1.1rem;
        min-width: 70px;
    }
    
    .quick-stats .stat-label {
        font-size: 0.8rem;
    }
}

/* Light Theme Quick Stats */
[data-theme="light"] .quick-stats {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95),
        rgba(248, 250, 252, 0.95)
    );
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .quick-stats .stat-card {
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.95),
        rgba(241, 245, 249, 0.95)
    );
    border-color: rgba(124, 58, 237, 0.2);
}

[data-theme="light"] .quick-stats .stat-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .quick-stats .stat-label {
    color: #64748b;
}

[data-theme="light"] .quick-stats .stat-value {
    color: #7c3aed;
}

/* Light Theme Server Status Bar */
[data-theme="light"] .server-status-bar {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .status-item {
    color: #7c3aed;
}

[data-theme="light"] .status-online {
    color: #059669;
}

[data-theme="light"] .status-offline {
    color: #dc2626;
}

[data-theme="light"] .status-dot.online {
    background-color: #059669;
    box-shadow: 0 0 8px rgba(5, 150, 105, 0.5);
}

[data-theme="light"] .status-dot.offline {
    background-color: #dc2626;
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.5);
}

/* Light Theme Theme Toggle */
[data-theme="light"] .theme-toggle {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95),
        rgba(248, 250, 252, 0.95)
    );
    border-color: rgba(124, 58, 237, 0.2);
    color: #7c3aed;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .theme-toggle:hover {
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.1),
        rgba(199, 125, 255, 0.1)
    );
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.15);
}

/* Payment History Loading and Error States */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
}

.loading {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(199, 125, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--amethyst-primary);
    animation: spin 1s linear infinite;
}

.loading-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.retry-button {
    background: linear-gradient(135deg, var(--amethyst-primary), var(--amethyst-secondary));
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.retry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(199, 125, 255, 0.2);
}

.retry-button i {
    font-size: 0.8rem;
}

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

.payment-info {
    position: relative;
}

.payment-status {
    position: absolute;
    bottom: -2px;
    right: 0;
    font-size: 0.7rem;
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(239, 68, 68, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    font-weight: 500;
}

.payment-status i {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* Light Theme Payment Status */
[data-theme="light"] .payment-status {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
}

[data-theme="light"] .payment-status i {
    color: #dc2626;
}

/* Slideshow styles */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.1);
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Ensure logo and other elements stay above slideshow */
.logo-container {
    position: relative;
    z-index: 1;
}

.logo, .server-ip {
    position: relative;
    z-index: 2;
}

/* Add a dark overlay to make text more readable */
.slideshow-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #c77dff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(199, 125, 255, 0.2);
    padding-bottom: 10px;
}

[data-theme="light"] .section-title {
    color: #7c3aed;
    border-bottom-color: rgba(124, 58, 237, 0.2);
} 

/* Credit Purchase Styles */
.credit-purchase {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.credit-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.credit-option {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.credit-option:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.credit-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-color-light);
}

.credit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: 50%;
    color: var(--primary-color);
}

.credit-details {
    text-align: center;
}

.credit-amount {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.credit-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.credit-bonus {
    font-size: 0.875rem;
    color: var(--success-color);
    font-weight: 500;
}

.credit-form {
    margin-top: 2rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-color-light);
}

.selected-package {
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.package-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.package-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.package-amount {
    font-weight: 600;
    color: var(--text-primary);
}

.package-price {
    font-weight: 700;
    color: var(--primary-color);
}

.btn-submit {
    padding: 12px 20px;
    background: linear-gradient(45deg, #9b4dca, #6a1b9a);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(155, 77, 202, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-submit:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 77, 202, 0.4);
    background: linear-gradient(45deg, #a55ddb, #7c1fb9);
}

.btn-submit:active:not(.disabled) {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(155, 77, 202, 0.3);
}

.btn-submit.disabled {
    background: linear-gradient(45deg, #9b4dca80, #6a1b9a80);
    cursor: not-allowed;
    box-shadow: none;
}

.username-group .input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 100%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    transition: all 0.3s ease;
}

.username-group .input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color-light);
}

.username-group .form-control {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.username-group .form-control:focus {
    outline: none;
    box-shadow: none;
}

.minecraft-head {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    background: #fff;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.minecraft-head:hover {
    transform: scale(1.1) rotate(5deg);
}

.minecraft-head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.username-validation {
    margin-top: 8px;
    font-size: 0.85rem;
}

.validation-error {
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.validation-success {
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.validation-error i,
.validation-success i {
    font-size: 1rem;
}

/* Light theme adjustments */
[data-theme="light"] .username-group .input-group {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(124, 58, 237, 0.2);
}

[data-theme="light"] .username-group .input-group:focus-within {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .minecraft-head {
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .validation-error {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.1);
}

[data-theme="light"] .validation-success {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .username-group .input-group {
        flex-wrap: wrap;
        padding: 8px;
    }
    
    .minecraft-head {
        width: 32px;
        height: 32px;
    }
    
    .btn-submit {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .btn-submit .btn-text {
        display: none;
    }
    
    .btn-submit .btn-icon {
        margin: 0;
    }
} 