/* Basic Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #00bfff 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: white;
}

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

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.cloud-loader {
    position: relative;
    margin-bottom: 30px;
}

.cloud {
    font-size: 60px;
    animation: float 3s ease-in-out infinite;
}

.loading-screen h1 {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Floating Particles - Removed */
/*
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    font-size: 20px;
    opacity: 0.6;
    animation: float-up 10s linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}
*/

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.cloud-logo,
.server-logo {
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.server-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.cart-icon {
    position: relative;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Pages */
.page {
    display: none;
    padding: 120px 0 50px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Home Page */
.hero {
    text-align: center;
    padding: 60px 0;
}

.hero-logo {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.floating-cloud,
.hero-server-logo {
    font-size: 80px;
    animation: float 4s ease-in-out infinite;
}

.hero-server-logo {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
}

.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sparkle {
    position: absolute;
    font-size: 20px;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 30%;
    right: 20%;
    animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 1s;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.subtitle {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn.primary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.btn.primary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn.secondary {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
}

.btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn.gold {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
}

.btn.discord {
    background: linear-gradient(45deg, #7289DA, #5865F2);
    color: white;
}

.btn.discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(114, 137, 218, 0.4);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Gold Section */
.gold-section {
    padding: 60px 0;
}

.gold-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.gold-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.gold-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: float 4s ease-in-out infinite;
}

.gold-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.gold-card p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Discord Section */
.discord-section {
    padding: 60px 0;
}

.discord-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.discord-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.discord-card p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

/* Store Page */
.page-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.page-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover,
.tab-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.product-card.gold {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.product-card.gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    animation: shimmer 3s linear infinite;
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.product-price {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.price-le {
    color: #FFD700;
    font-weight: bold;
}

.price-usd {
    color: rgba(255, 255, 255, 0.8);
}

.product-tier {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.tier-legendary {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
}

.tier-epic {
    background: linear-gradient(45deg, #9B59B6, #E91E63);
    color: white;
}

.tier-rare {
    background: linear-gradient(45deg, #3498DB, #00BCD4);
    color: white;
}

/* Checkout Page */
.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.cart-section,
.user-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
}

.cart-section h2,
.user-info h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.item-price {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.quantity-value {
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

.remove-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: rgba(239, 68, 68, 0.3);
}

.logout-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    white-space: nowrap;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.3);
}

.cart-total {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total-row span:last-child {
    font-weight: bold;
    font-size: 1.2rem;
}

.total-le {
    color: #FFD700;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: none;
    min-height: 100px;
}

/* Payment Page */
.payment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.order-summary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
}

.order-info {
    margin-bottom: 20px;
}

.order-id {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    color: #FFD700;
    font-weight: bold;
}

.user-details {
    display: grid;
    gap: 10px;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-total {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

.payment-methods {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
}

.payment-methods h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.payment-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.payment-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.payment-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.payment-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.payment-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
}

.payment-badge.auto {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.payment-badge.manual {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Success Page */
.success-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: success-bounce 0.6s ease;
}

@keyframes success-bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-title {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.success-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.success-details {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.success-order-id {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    color: #FFD700;
    font-weight: bold;
}

.success-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
}

.info-card h3 {
    margin-bottom: 15px;
    color: #FFD700;
}

.info-details {
    display: grid;
    gap: 10px;
}

.info-details div {
    display: flex;
    justify-content: space-between;
}

.order-summary-items {
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.success-total {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
    font-weight: bold;
    color: #FFD700;
}

.success-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .server-logo {
        width: 30px;
        height: 30px;
    }

    .hero-server-logo {
        width: 80px;
        height: 80px;
    }

    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .checkout-content,
    .payment-content,
    .success-info {
        grid-template-columns: 1fr;
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .category-tabs {
        flex-direction: column;
        align-items: center;
    }

    .success-actions {
        flex-direction: column;
        align-items: center;
    }

    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .feature-card,
    .product-card,
    .cart-section,
    .user-info,
    .order-summary,
    .payment-methods {
        padding: 20px;
    }

    .gold-card,
    .discord-card {
        padding: 25px;
    }
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #00bfff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.login-header h1 {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.login-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.form-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.form-tabs .tab-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-tabs .tab-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

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

.avatar-selection {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.avatar-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.avatar-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.avatar-option input[type="radio"] {
    display: none;
}

.avatar-option input[type="radio"]:checked + .avatar-img {
    border: 3px solid #FFD700;
    transform: scale(1.1);
}

.avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.avatar-option span {
    margin-top: 5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.login-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.login-footer a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

.role-badge {
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.role-badge.default {
    background: rgba(128, 128, 128, 0.3);
    color: #d3d3d3;
    border: 1px solid rgba(128, 128, 128, 0.5);
}

/* User Profile Styles */
.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1001;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-info {
    flex: 1;
    min-width: 120px;
}

.user-actions {
    display: none; /* Hidden by default, shown in dropdown */
}

/* Profile Dropdown Menu */
.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 250px;
    z-index: 1002;
    display: none;
    overflow: hidden;
}

.profile-dropdown.active {
    display: block;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-header {
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.dropdown-header .dropdown-username {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.dropdown-header .dropdown-email {
    font-size: 0.9rem;
    opacity: 0.8;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 5px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.dropdown-item.danger {
    color: #e74c3c;
}

.dropdown-item.danger:hover {
    background: rgba(231, 76, 60, 0.1);
}

.dropdown-icon {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.dropdown-text {
    flex: 1;
}

.dropdown-badge {
    background: #e74c3c;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Profile Modal Styles */
.profile-view {
    text-align: center;
}

.profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.profile-large-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-info h2 {
    color: #FFD700;
    margin-bottom: 5px;
}

.profile-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.profile-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Settings Styles */
.settings-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.settings-section h4 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.setting-item {
    margin-bottom: 20px;
}

.setting-item label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.setting-item input {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
}

.setting-item small {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #667eea;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Purchase History Styles */
.purchase-history {
    max-height: 400px;
    overflow-y: auto;
}

.purchase-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.purchase-info h4 {
    color: #FFD700;
    margin-bottom: 10px;
}

.purchase-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.status.completed {
    color: #4CAF50;
}

.status.pending {
    color: #FF9800;
}

.status.cancelled {
    color: #f44336;
}

.purchase-items {
    margin: 15px 0;
}

.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.item:last-child {
    border-bottom: none;
}

.item-name {
    flex: 1;
    color: white;
}

.item-quantity {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 15px;
}

.item-price {
    color: #FFD700;
    font-weight: bold;
}

.purchase-total {
    text-align: right;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFD700;
    font-size: 1.1rem;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.8);
}

.user-name {
    font-weight: bold;
    color: white;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.user-email {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.user-role {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 10px;
}

.user-role.owner {
    background: rgba(139, 0, 0, 0.3);
    color: #ff6b6b;
    border: 1px solid rgba(139, 0, 0, 0.5);
}

.user-role.manager {
    background: rgba(255, 99, 71, 0.3);
    color: #ffa07a;
    border: 1px solid rgba(255, 99, 71, 0.5);
}

.user-role.default {
    background: rgba(128, 128, 128, 0.3);
    color: #d3d3d3;
    border: 1px solid rgba(128, 128, 128, 0.5);
}

/* Enhanced Admin Panel Styles */
.admin-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.admin-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-server-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: translateY(-15px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    }
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.admin-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

.admin-tab-btn {
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.admin-tab-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.admin-tab-btn.active {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    border-color: rgba(255, 215, 0, 0.3);
}

.admin-tab-content {
    display: none;
    position: relative;
    z-index: 2;
}

.admin-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.admin-content {
    display: grid;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.admin-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.admin-card h3 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.quick-btn {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.activity-text {
    color: rgba(255, 255, 255, 0.8);
}

.activity-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.admin-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.admin-section h2 {
    color: #FFD700;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

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

.user-management,
.item-management {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.users-list,
.ranks-grid,
.gold-grid,
.orders-list {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

.user-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.user-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.user-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.user-avatar-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-info-small {
    flex: 1;
}

.user-name-small {
    font-weight: bold;
    color: white;
    margin-bottom: 3px;
}

.user-email-small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.user-role-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
}

.user-card-actions {
    display: flex;
    gap: 10px;
}

.rank-card,
.gold-card-admin {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.rank-card:hover,
.gold-card-admin:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

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

.rank-icon,
.gold-icon {
    font-size: 2rem;
}

.rank-tier,
.gold-amount {
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.gold-amount {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.rank-name,
.gold-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
}

.rank-description,
.gold-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.rank-prices,
.gold-prices {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.rank-actions,
.gold-actions {
    display: flex;
    gap: 10px;
}

.rank-footer,
.gold-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rank-footer small,
.gold-footer small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

.rank-image,
.gold-icon {
    font-size: 3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-perks,
.gold-features {
    color: rgba(255, 215, 0, 0.9);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.order-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.order-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.order-id {
    font-weight: bold;
    color: #FFD700;
}

.order-status {
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    background: rgba(255, 165, 0, 0.2);
    color: #FFA500;
}

.order-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-user {
    color: rgba(255, 255, 255, 0.8);
}

.order-total {
    font-weight: bold;
    color: #FFD700;
}

.order-actions {
    display: flex;
    gap: 10px;
}

.custom-items-list {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

.custom-item-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.custom-item-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.item-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.item-info {
    flex: 1;
}

.item-name {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    font-weight: 900;
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
    animation: glow 2s ease-in-out infinite alternate;
}

.item-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.item-tier, .item-category, .item-stock {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
}

.item-stock.in-stock {
    background: rgba(76, 175, 80, 0.3);
    border: 1px solid rgba(76, 175, 80, 0.5);
}

.item-stock.out-stock {
    background: rgba(244, 67, 54, 0.3);
    border: 1px solid rgba(244, 67, 54, 0.5);
}

.item-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    line-height: 1.4;
}

.item-features {
    color: rgba(255, 215, 0, 0.9);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.item-payment-methods {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.item-footer small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

/* Enhanced Form Styles */
.image-upload {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.image-preview {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-picker {
    display: flex;
    gap: 10px;
    align-items: center;
}

.color-picker input[type="color"] {
    width: 50px;
    height: 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.color-picker input[type="text"] {
    flex: 1;
}

.payment-methods-checkbox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
}

.payment-methods-checkbox label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
}

.payment-methods-checkbox input[type="checkbox"] {
    margin: 0;
}

.custom-items-section {
    margin-top: 40px;
}

.custom-items-section h3 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.filter-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-controls input,
.filter-controls select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
}

.filter-controls input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 20px;
}

/* Form Styles for Gold and Ranks */
.gold-management,
.rank-management {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.gold-management h3,
.rank-management h3 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.gold-packages-section,
.ranks-section {
    margin-top: 40px;
}

.gold-packages-section h3,
.ranks-section h3 {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.no-data {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 40px;
    font-size: 1.1rem;
}

.btn.danger {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn.danger:hover {
    background: rgba(239, 68, 68, 0.3);
}

.btn.secondary {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.btn.secondary:hover {
    background: rgba(59, 130, 246, 0.3);
}

.logout-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.3);
}

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

@keyframes glow {
    from {
        text-shadow: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor, 0 0 20px currentColor;
    }
    to {
        text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor, 0 0 40px currentColor;
    }
}

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

/* Admin Footer */
.admin-footer {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-size: 1rem;
}

.admin-footer .credit {
    color: #FFD700;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 0;
}

/* Discord Verification Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.modal-header h3 {
    color: #FFD700;
    font-size: 1.5rem;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    margin-bottom: 20px;
}

.modal-body p {
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.verification-steps {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.verification-steps h4 {
    color: #FFD700;
    margin-bottom: 10px;
}

.verification-steps ol {
    color: white;
    padding-left: 20px;
}

.verification-steps li {
    margin-bottom: 5px;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Discord Verification Status */
.discord-verified {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 5px;
}

.discord-not-verified {
    background: linear-gradient(135deg, #f44336, #da190b);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

.avatar-synced {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 5px;
}

.discord-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-top: 5px;
}

.discord-connect-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.discord-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.discord-connect-info h4 {
    color: #FFD700;
    margin-bottom: 10px;
}

.discord-connect-info ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.discord-connect-info li {
    color: white;
    margin-bottom: 8px;
    padding: 5px 0;
}

.oauth-section {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: rgba(114, 137, 218, 0.2);
    border-radius: 10px;
    border: 2px solid #7289DA;
}

.discord-oauth-btn {
    background: linear-gradient(135deg, #7289DA, #5865F2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.discord-oauth-btn:hover {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(114, 137, 218, 0.3);
}

.discord-logo {
    font-size: 1.2rem;
}


.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
    border-color: #7289DA;
}

.setup-instructions {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.setup-instructions h4 {
    color: #FFD700;
    margin-bottom: 15px;
}

.setup-instructions ol {
    color: white;
    padding-left: 20px;
    margin-bottom: 15px;
}

.setup-instructions li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.setup-instructions a {
    color: #7289DA;
    text-decoration: underline;
}

.setup-instructions a:hover {
    color: #5865F2;
}

.code-example {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 15px;
}

.code-example code {
    color: #4CAF50;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}
