/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
    min-height: 100vh;
    position: relative;
}

/* body::before pseudo-element kaldırıldı - tamamen siyah arka plan için */

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-brand:hover {
    color: #cccccc;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.nav-brand i {
    font-size: 2rem;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-brand:hover .nav-logo {
    border-color: rgba(255, 193, 7, 0.6);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .nav-logo {
        width: 35px;
        height: 35px;
    }
    
    .nav-brand span {
        font-size: 1.3rem;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.2), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #ffc107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 165, 0, 0.1));
    border-color: rgba(255, 193, 7, 0.3);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.nav-link.active {
    color: #ffc107;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 165, 0, 0.2));
    border-color: rgba(255, 193, 7, 0.5);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.logout-btn {
    color: #ef4444 !important;
}

.logout-btn:hover {
    color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

/* Profile Widget Styles */
.profile-widget {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-widget-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.profile-widget-content:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.profile-avatar-small {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.profile-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.profile-avatar-small:hover img {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.profile-avatar-small i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.profile-info-small {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.profile-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-level {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.level-badge {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: #ffffff;
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.level-progress {
    width: 3rem;
    height: 0.25rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.125rem;
    overflow: hidden;
}

.level-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
    border-radius: 0.125rem;
    transition: width 0.3s ease;
}

.profile-dropdown {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.profile-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.profile-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-item i {
    width: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.dropdown-item:hover i {
    color: #4ecdc4;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.dropdown-item.admin-only {
    color: #4ecdc4;
}

.dropdown-item.admin-only:hover {
    background: rgba(78, 205, 196, 0.1);
}

/* Pages */
.page {
    display: none;
    min-height: calc(100vh - 70px);
    background: #000000;
}

.page.active {
    display: block;
    background: url('assets/media/games/bgg.jpg') no-repeat center center / cover;
}

.main-content {
    padding: 2rem 0;
    background: #000000;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 0;
    margin-bottom: 3rem;
    position: relative;
    border-radius: 1rem;
    margin: 2rem;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 1rem;
    margin: 0 2rem;
    backdrop-filter: blur(10px);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.prev-btn, .next-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background: #ffc107;
    transform: scale(1.2);
}



.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    }
    to {
        text-shadow: 0 4px 30px rgba(255, 255, 255, 0.6);
    }
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.features-preview {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
}

.feature-item i {
    font-size: 1.25rem;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(200, 200, 200, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

/* Services */
.services {
    margin-bottom: 3rem;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.service-category {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 165, 0, 0.2));
    color: #ffc107;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.service-platform {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.service-duration,
.service-users {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: rgba(20, 20, 20, 0.9);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-2px);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #10b981;
}

/* How It Works */
.how-it-works {
    background: rgba(20, 20, 20, 0.9);
    padding: 3rem;
    border-radius: 0.75rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #ffffff;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.step p {
    color: #cccccc;
}

/* Auth Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.auth-card {
    background: rgba(20, 20, 20, 0.95);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.8);
}

.auth-footer {
    text-align: center;
    margin-top: 1rem;
}

.auth-footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    color: #cccccc;
}

/* Key Activation */
.key-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.key-card {
    background: rgba(20, 20, 20, 0.95);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.key-header {
    text-align: center;
    margin-bottom: 2rem;
}

.key-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.key-input {
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
}

.key-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.key-info h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.key-info ul {
    list-style: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.key-info li {
    margin-bottom: 0.25rem;
}

/* Profile */
.profile-header {
    margin-bottom: 2rem;
}

.profile-info {
    background: rgba(20, 20, 20, 0.95);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar {
    width: 4rem;
    height: 4rem;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.5rem;
}

.profile-details h1 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.profile-details p {
    color: rgba(255, 255, 255, 0.8);
}

.profile-content h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ffffff;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.user-service-card {
    background: rgba(20, 20, 20, 0.95);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #10b981;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.user-service-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.service-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.service-meta div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Control Center */
.control-center-header {
    margin-bottom: 2rem;
}

.control-center-info {
    background: rgba(20, 20, 20, 0.95);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.control-center-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.control-center-info h1 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.control-center-info p {
    color: rgba(255, 255, 255, 0.8);
}

.control-center-content {
    background: rgba(20, 20, 20, 0.95);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-state {
    text-align: center;
    padding: 3rem;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-icon {
    width: 4rem;
    height: 4rem;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #94a3b8;
    font-size: 1.5rem;
}

/* Admin Panel */
.admin-header {
    margin-bottom: 2rem;
}

.admin-info {
    background: linear-gradient(135deg, rgba(26, 31, 74, 0.9) 0%, rgba(42, 47, 90, 0.9) 100%);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 193, 7, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.admin-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
}

.admin-icon {
    width: 4rem;
    height: 4rem;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 1.5rem;
}

/* Dashboard */
.dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: rgba(20, 20, 20, 0.95);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
}

.stat-card.bg-blue {
    color: #3b82f6;
}

.stat-card.bg-green {
    color: #10b981;
}

.stat-card.bg-purple {
    color: #8b5cf6;
}

.stat-card.bg-red {
    color: #ef4444;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: currentColor;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    color: #ffffff;
}

.stat-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.key-stats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 0.5rem;
    border-left: 4px solid #3b82f6;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-stat-info h4 {
    margin: 0 0 0.25rem 0;
    color: #ffffff;
}

.service-stat-info p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.service-stat-numbers {
    display: flex;
    gap: 1rem;
    text-align: center;
}

.stat-number {
    display: flex;
    flex-direction: column;
}

.stat-number .number {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffffff;
}

.stat-number .label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.activities-list {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.activity-icon.success {
    background: #d1fae5;
    color: #065f46;
}

.activity-icon.info {
    background: #dbeafe;
    color: #1e40af;
}

.activity-content {
    flex: 1;
}

.activity-content p {
    margin: 0;
    color: #1e293b;
}

.activity-content small {
    color: #64748b;
    font-size: 0.75rem;
}

/* Key Management */
.keys-management {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-controls {
    display: flex;
    gap: 0.5rem;
}

.filter-controls select {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.keys-list {
    max-height: 500px;
    overflow-y: auto;
}

.key-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    background: rgba(20, 20, 20, 0.95);
}

.key-info {
    flex: 1;
}

.key-code {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.key-details {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.key-status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.key-status.unused {
    background: #d1fae5;
    color: #065f46;
}

.key-status.used {
    background: #fee2e2;
    color: #991b1b;
}

.key-status.expired {
    background: #fef3c7;
    color: #92400e;
}

.key-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

/* User Management */
.users-management {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.users-list {
    max-height: 500px;
    overflow-y: auto;
}

.user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    background: rgba(20, 20, 20, 0.95);
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.user-details {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

.user-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.user-badge.admin {
    background: #fee2e2;
    color: #991b1b;
}

.user-badge.user {
    background: #dbeafe;
    color: #1e40af;
}

.user-actions {
    display: flex;
    gap: 0.5rem;
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.user-stat-card {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid #3b82f6;
}

.user-stat-card h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
}

.user-stat-card .number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3b82f6;
}

.user-stat-card .label {
    font-size: 0.875rem;
    color: #64748b;
}

/* Enhanced Service List */
.admin-service-item {
    position: relative;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background: white;
    transition: box-shadow 0.2s;
}

.admin-service-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.service-actions {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.service-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.last-purchase {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0fdf4;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #bbf7d0;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    margin: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.modal-form {
    padding: 1.5rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-info h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #ffc107 0%, #ffca28 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.admin-info p {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(40, 40, 40, 0.9);
    color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    background: #ffffff;
    color: #000000;
}

.tab-btn:hover:not(.active) {
    background: rgba(60, 60, 60, 0.9);
}

.admin-tab {
    display: none;
}

.admin-tab.active {
    display: block;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.admin-card {
    background: rgba(20, 20, 20, 0.95);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}



.admin-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.1);
}

.admin-card h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.admin-card .admin-form {
    position: relative;
    z-index: 10;
}

.admin-services-list {
    max-height: 400px;
    overflow-y: auto;
}

.admin-service-item {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    background: rgba(30, 30, 30, 0.5);
}

.admin-service-item h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.admin-service-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.admin-service-item .price {
    font-weight: bold;
    color: #10b981;
}

.key-generation {
    max-width: 600px;
    margin: 0 auto;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
    background: rgba(40, 40, 40, 0.9);
    color: #ffffff;
    position: relative;
    z-index: 10;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23ffffff" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 0.75rem;
    padding-right: 2.5rem;
}

.form-group select option {
    background: #333;
    color: #ffffff;
    padding: 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
    background: #444;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #4a5568;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.875rem;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 1rem;
}

.password-toggle:hover {
    color: #374151;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    color: #000;
    border-color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.btn-secondary:hover:not(:disabled) {
    background: #545b62;
    border-color: #545b62;
}

.btn-success {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
    border-color: #4caf50;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-success:hover:not(:disabled) {
    background: linear-gradient(135deg, #66bb6a 0%, #388e3c 100%);
    border-color: #66bb6a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.btn-danger {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.btn-danger:hover:not(:disabled) {
    background: #c82333;
    border-color: #c82333;
}

.btn-full {
    width: 100%;
}

/* Alerts */
.alert-container {
    position: fixed;
    top: 90px;
    right: 1rem;
    z-index: 1000;
    max-width: 400px;
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease-out;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-green { color: #10b981; }
.text-blue { color: #3b82f6; }
.text-purple { color: #8b5cf6; }
.bg-blue { background-color: #3b82f6; }
.bg-green { background-color: #10b981; }
.bg-purple { background-color: #8b5cf6; }
.bg-red { background-color: #ef4444; }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .navbar .container {
        flex-direction: column;
        height: auto;
        padding: 1rem 0.5rem;
    }
    
    .nav-menu {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features-preview {
        gap: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
    
    .alert-container {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

/* Account Details Modal */
.account-details {
    padding: 1rem 0;
}

.account-info {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.account-info h4 {
    color: #ffc107;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #444;
}

.account-detail:last-child {
    border-bottom: none;
}

.account-detail-label {
    font-weight: 500;
    color: #ccc;
}

.account-detail-value {
    color: #fff;
    font-family: monospace;
    background: #1a1a1a;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn {
    background: #007bff;
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.8rem;
}

.copy-btn:hover {
    background: #0056b3;
}

/* Responsive Design for Profile Layout */
@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-left {
        order: 2;
    }
    
    .profile-right {
        order: 1;
    }
    
    .announcements-section {
        padding: 1rem;
    }
    
    .announcement-item {
        padding: 0.75rem;
    }
    
    .announcement-actions {
        position: static;
        margin-top: 1rem;
        justify-content: flex-end;
    }
}

/* Profile Layout Styles */
.profile-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
}

.profile-left {
    min-width: 0;
}

.profile-right {
    min-width: 0;
}

/* Announcements Styles */
.announcements-section {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.announcements-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    color: #4ecdc4;
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.announcement-item {
    background: #333;
    border: 1px solid #555;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-color: #4ecdc4;
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.announcement-title {
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.announcement-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #aaa;
}

.announcement-type {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.announcement-type.info {
    background: #3498db;
    color: #fff;
}

.announcement-type.warning {
    background: #f39c12;
    color: #fff;
}

.announcement-type.success {
    background: #27ae60;
    color: #fff;
}

.announcement-type.error {
    background: #e74c3c;
    color: #fff;
}

.announcement-priority {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.announcement-priority.low {
    background: #95a5a6;
    color: #fff;
}

.announcement-priority.medium {
    background: #f39c12;
    color: #fff;
}

.announcement-priority.high {
    background: #e67e22;
    color: #fff;
}

.announcement-priority.urgent {
    background: #e74c3c;
    color: #fff;
}

.announcement-content {
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.announcement-date {
    font-size: 0.8rem;
    color: #888;
    text-align: right;
}

/* Admin Announcements Management */
.announcements-management {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.announcements-list .announcement-item {
    position: relative;
}

.announcement-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.announcement-actions button {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.announcement-actions .edit-btn {
    background: #3498db;
    color: #fff;
}

.announcement-actions .edit-btn:hover {
    background: #2980b9;
}

.announcement-actions .delete-btn {
    background: #e74c3c;
    color: #fff;
}

.announcement-actions .delete-btn:hover {
    background: #c0392b;
}

/* Level System Styles */
.level-system {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.level-header {
    text-align: center;
    margin-bottom: 2rem;
}

.level-header h2 {
    color: #4ecdc4;
    margin-bottom: 0.5rem;
}

.level-header p {
    color: #ccc;
    font-size: 0.9rem;
}

.level-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.level-stat {
    text-align: center;
    padding: 1rem;
    background: #333;
    border-radius: 0.5rem;
    border: 1px solid #555;
}

.level-stat h3 {
    font-size: 2rem;
    color: #4ecdc4;
    margin-bottom: 0.5rem;
}

.level-stat p {
    color: #ccc;
    font-size: 0.8rem;
}

.level-progress-large {
    margin-bottom: 2rem;
}

.level-progress-large h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.level-progress-large span {
    color: #4ecdc4;
    font-weight: 600;
}

.progress-container {
    width: 100%;
    height: 0.5rem;
    background: #333;
    border-radius: 0.25rem;
    overflow: hidden;
}

.progress-bar-large {
    height: 100%;
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
    border-radius: 0.25rem;
    transition: width 0.3s ease;
}

.level-rewards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.level-reward {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: #333;
    border-radius: 0.5rem;
    border: 1px solid #555;
    text-align: center;
    transition: all 0.3s ease;
}

.level-reward.unlocked {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
}

.level-reward.locked {
    opacity: 0.6;
    filter: grayscale(1);
}

.reward-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.reward-icon.unlocked {
    background: #4ecdc4;
    color: #fff;
}

.reward-icon.locked {
    background: #666;
    color: #ccc;
}

.reward-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.reward-description {
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.4;
}

/* Avatar Upload Styles */
.avatar-upload-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #333;
    border-radius: 0.75rem;
    border: 1px solid #555;
}

.current-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid #4ecdc4;
}

.current-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.current-avatar i {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
}

.avatar-upload-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Responsive Design for Profile Widget */
@media (max-width: 768px) {
    .profile-widget-content {
        padding: 0.4rem 0.8rem;
    }
    
    .profile-info-small {
        display: none;
    }
    
    .profile-dropdown-menu {
        right: -1rem;
        min-width: 180px;
    }
    
    .level-stats {
        grid-template-columns: 1fr;
    }
    
    .level-rewards {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .avatar-upload-section {
        flex-direction: column;
        text-align: center;
    }
}

/* Settings Page Styles */
.settings-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.settings-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.settings-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.settings-icon i {
    font-size: 1.8rem;
    color: #ffffff;
}

.settings-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.settings-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 400;
}

.settings-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.stat-item i {
    color: #667eea;
    font-size: 1rem;
}

.stat-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.settings-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.settings-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.settings-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.settings-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.settings-tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6), 0 0 0 10px rgba(102, 126, 234, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    }
}

.settings-tab-btn i {
    font-size: 1.1rem;
}

.settings-tab {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.settings-tab.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.settings-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.settings-section:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.section-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 20px;
    color: #000000;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.section-badge i {
    color: #000000;
    font-size: 0.9rem;
}

.settings-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-section h3 i {
    color: #667eea;
    font-size: 1.2rem;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

/* Avatar Upload Section */
.avatar-upload-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.current-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.current-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.current-avatar i {
    font-size: 2rem;
    color: #ffffff;
}

.avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

.avatar-status i {
    font-size: 0.8rem;
    color: #ffffff;
}

.avatar-upload-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    animation: buttonGlow 1.5s ease-in-out infinite alternate;
}

@keyframes buttonGlow {
    from {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    }
    to {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4), 0 0 20px rgba(102, 126, 234, 0.6);
    }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

.btn-outline:hover {
    background: #ff6b6b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Session History */
.session-list {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Enhanced Animations */
.settings-section {
    animation: slideInUp 0.6s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.settings-tab-btn {
    position: relative;
    overflow: hidden;
}

.settings-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.settings-tab-btn:hover::before {
    left: 100%;
}

/* Glow Effects */
.settings-header {
    position: relative;
}

.settings-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(102, 126, 234, 0.1) 50%, transparent 70%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.settings-header:hover::after {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .settings-tabs {
        flex-direction: column;
    }
    
    .settings-tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .avatar-upload-section {
        flex-direction: column;
        text-align: center;
    }
    
    .settings-header {
        padding: 1.5rem;
    }
    
    .settings-content {
        padding: 1.5rem;
    }
    
    .settings-section {
        padding: 1.5rem;
    }
    
    .settings-info h1 {
        font-size: 2rem;
    }
    
    .settings-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .settings-header {
        padding: 1rem;
    }
    
    .settings-content {
        padding: 1rem;
    }
    
    .settings-section {
        padding: 1rem;
    }
    
    .settings-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .settings-icon {
        width: 50px;
        height: 50px;
    }
    
    .settings-icon i {
        font-size: 1.5rem;
    }
}

/* Profile Announcements Styles */
.profile-announcement-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.profile-announcement-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.profile-announcement-item .announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.profile-announcement-item .announcement-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.profile-announcement-item .announcement-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.profile-announcement-item .announcement-type,
.profile-announcement-item .announcement-priority {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-announcement-item .announcement-type.info {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.profile-announcement-item .announcement-type.warning {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.profile-announcement-item .announcement-type.success {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.profile-announcement-item .announcement-type.error {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.profile-announcement-item .announcement-priority.low {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.profile-announcement-item .announcement-priority.medium {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.profile-announcement-item .announcement-priority.high {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.profile-announcement-item .announcement-priority.urgent {
    background: rgba(147, 51, 234, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.profile-announcement-item .announcement-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.profile-announcement-item .announcement-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-style: italic;
}

/* Responsive Profile Announcements */
@media (max-width: 768px) {
    .profile-announcement-item {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .profile-announcement-item .announcement-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .profile-announcement-item .announcement-title {
        font-size: 1.1rem;
    }
    
    .profile-announcement-item .announcement-meta {
        justify-content: flex-start;
    }
}

/* Profile Notification Styles */
.profile-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 350px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 9999;
    animation: slideInRight 0.5s ease-out;
    overflow: hidden;
}

.profile-notification .notification-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-notification .notification-icon {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.profile-notification .notification-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    flex-grow: 1;
}

.profile-notification .notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-notification .notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: scale(1.1);
}

.profile-notification .notification-content {
    padding: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    text-align: center;
}

/* Notification Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Responsive Notification */
@media (max-width: 768px) {
    .profile-notification {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
    
    .profile-notification .notification-header {
        padding: 0.875rem 1rem;
    }
    
    .profile-notification .notification-content {
        padding: 1rem;
        font-size: 0.95rem;
    }
}
