/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --accent-bg: #2a2a2a;
    --hover-bg: #3a3a3a;
    --primary-text: #ffffff;
    --secondary-text: #b0b0b0;
    --accent-text: #808080;
    --neon-blue: #4a9eff;
    --neon-purple: #8a4fff;
    --neon-green: #4eff88;
    --neon-red: #ff4a85;
    --neon-orange: #ff8844;
    --gradient-primary: linear-gradient(135deg, rgba(74, 158, 255, 0.8), rgba(138, 79, 255, 0.8));
    --gradient-secondary: linear-gradient(135deg, rgba(74, 255, 136, 0.8), rgba(74, 158, 255, 0.8));
    --gradient-accent: linear-gradient(135deg, rgba(255, 74, 133, 0.8), rgba(255, 136, 68, 0.8));
    --box-shadow: 0 4px 20px rgba(74, 158, 255, 0.15);
    --box-shadow-hover: 0 6px 30px rgba(74, 158, 255, 0.25);
    --border-radius: 12px;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(74, 158, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(138, 79, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(74, 255, 136, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Navbar */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 158, 255, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: padding 0.3s ease;
}

/* Smaller header for chat page */
.chat-page .navbar {
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    transition: padding 0.3s ease;
}

/* Smaller nav container padding for chat page */
.chat-page .nav-container {
    padding: 0 1.5rem;
}

/* Hide footer on chat page */
.chat-page .footer {
    display: none;
}

.brand-link {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.brand-link:hover {
    opacity: 0.8;
}

.brand-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(74, 158, 255, 0.3);
    margin: 0;
    transition: font-size 0.3s ease;
}

/* Smaller brand name for chat page */
.chat-page .brand-name {
    font-size: 1.4rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--secondary-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--primary-text);
    border-color: var(--accent-bg);
}

.login-btn {
    background: var(--accent-bg);
    color: var(--primary-text);
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-weight: 500;
    border: 1px solid var(--hover-bg);
}

.login-btn:hover {
    background: var(--hover-bg);
    color: var(--primary-text);
    border-color: var(--hover-bg);
}

.login-logo-btn {
    background: var(--accent-bg);
    color: var(--primary-text);
    border-radius: 50%;
    padding: 0.5rem;
    font-weight: 500;
    border: 1px solid var(--hover-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    font-size: 1.2rem;
    transition: width 0.3s ease, height 0.3s ease, padding 0.3s ease;
}

/* Smaller login button for chat page */
.chat-page .login-logo-btn {
    width: 46px;
    height: 46px;
    padding: 0.3rem;
}

.login-logo-btn:hover {
    background: var(--hover-bg);
    color: var(--primary-text);
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
    transform: scale(1.05);
}

.profile-icon-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--neon-blue);
    box-shadow: 0 0 12px rgba(74, 158, 255, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, width 0.3s ease, height 0.3s ease, border-width 0.3s ease;
}

/* Smaller profile icon for chat page */
.chat-page .profile-icon-img {
    width: 38px;
    height: 38px;
    border: 3px solid var(--neon-blue);
}

.login-logo-btn:hover .profile-icon-img {
    transform: scale(1.1);
    border-color: var(--neon-orange);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
}

/* Profile Dropdown */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--secondary-bg);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    min-width: 160px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-top: 8px;
}

.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: var(--secondary-text);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
}

.dropdown-item:hover {
    background: var(--hover-bg);
    color: var(--primary-text);
}

.dropdown-item i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

/* Profile Page Styles */
.profile-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--accent-bg);
    border-radius: 12px;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.profile-avatar {
    font-size: 4rem;
    color: var(--neon-blue);
    opacity: 0.8;
}

.profile-avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--neon-blue);
    box-shadow: 0 0 25px rgba(74, 158, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-avatar-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(74, 158, 255, 0.7);
}

.profile-details h2 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-role {
    color: var(--secondary-text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-role i {
    color: var(--neon-orange);
}

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

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--accent-bg);
    border-radius: 12px;
    border: 1px solid rgba(74, 158, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(74, 158, 255, 0.4);
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.15);
}

.stat-icon {
    font-size: 2rem;
    color: var(--neon-blue);
    opacity: 0.8;
}

.stat-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-text);
}

.stat-info p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px; /* More oval shape */
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.profile-btn.primary {
    background: var(--gradient-primary);
    color: white;
}

.profile-btn.secondary {
    background: var(--accent-bg);
    color: var(--primary-text);
    border-color: rgba(74, 158, 255, 0.3);
}

.profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.3);
}

.profile-btn.secondary:hover {
    border-color: rgba(74, 158, 255, 0.6);
    background: var(--hover-bg);
}

.logout-btn {
    background: #d32f2f;
    color: var(--primary-text);
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-weight: 500;
    border: 1px solid #d32f2f;
}

.logout-btn:hover {
    background: #b71c1c;
    color: var(--primary-text);
    border-color: #b71c1c;
}

.user-welcome {
    color: var(--primary-text);
    font-weight: 500;
}

/* Main content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero section */
.hero-section {
    padding: 4rem 2rem;
    text-align: left;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.05), rgba(138, 79, 255, 0.05));
    border-bottom: 1px solid rgba(74, 158, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(74,158,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.welcome-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(74, 158, 255, 0.4);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-text);
    margin-bottom: 3rem;
    font-weight: 400;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 1000px;
}

.primary-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.secondary-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* Responsive layout for smaller screens */
@media (max-width: 768px) {
    .social-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .secondary-buttons {
        justify-content: flex-start;
    }
    
    .main-buttons {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .hero-content {
        padding-left: 1rem;
    }
    
    /* Hide home button on mobile */
    .home-nav-item {
        display: none;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .brand-name {
        font-size: 1.4rem;
    }
    
    .welcome-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .primary-buttons, .secondary-buttons {
        gap: 1.5rem;
    }
}

/* Additional mobile responsiveness for very small screens */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .social-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-width: 120px;
    }
    
    .primary-buttons, .secondary-buttons, .main-buttons {
        gap: 0.8rem;
    }
    
    .main-buttons {
        flex-direction: row;
    }
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 3px solid;
    background: #000000;
    color: white;
    min-width: 140px;
    justify-content: center;
    margin-right: 0.5rem;
}

.youtube-btn {
    border-color: #ff0000;
}

.kick-btn {
    border-color: #00ff00;
    margin-left: -215px;
}

.discord-btn {
    border-color: #5865f2;
}

.main-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 0.5rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.chat-btn {
    border-color: #4a9eff;
}

.games-btn {
    border-color: #ff8844;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
.about-section, .quick-comments-section, .comments-section, .auth-section {
    padding: 4rem 0;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(74, 255, 136, 0.3);
}

/* About section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--secondary-text);
    background: var(--secondary-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(74, 158, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.02), rgba(138, 79, 255, 0.02));
    z-index: 0;
}

.about-text p {
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Comments sections */
.quick-comments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-card {
    background: var(--secondary-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(74, 158, 255, 0.15);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comment-card:hover::before {
    opacity: 1;
}

.comment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(74, 158, 255, 0.3);
}

.comment-item {
    background: var(--secondary-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(74, 158, 255, 0.15);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.comment-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(74, 158, 255, 0.3);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: 600;
    color: var(--neon-blue);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-author i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.comment-time, .comment-timestamp {
    color: var(--accent-text);
    font-size: 0.85rem;
    font-style: italic;
}

.comment-text {
    color: var(--secondary-text);
    line-height: 1.6;
    font-size: 1rem;
}

.comment-avatar {
    font-size: 2.5rem;
    color: var(--neon-blue);
    opacity: 0.8;
    min-width: 50px;
    text-align: center;
}

.comment-content {
    flex: 1;
}

.no-comments, .no-comments-card {
    text-align: center;
    padding: 3rem;
    color: var(--accent-text);
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(74, 158, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.no-comments-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.02), rgba(138, 79, 255, 0.02));
    z-index: 0;
}

.no-comments-card > * {
    position: relative;
    z-index: 1;
}

.no-comments-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
    opacity: 0.7;
}

.no-comments-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-text);
    font-family: 'Orbitron', monospace;
    font-weight: 600;
}

.no-comments-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.comment-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--accent-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(74, 158, 255, 0.1);
}

.cta-btn {
    display: inline-block;
    background: var(--accent-bg);
    color: var(--primary-text);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
    border: 1px solid var(--hover-bg);
    font-size: 1rem;
}

.cta-btn:hover {
    background: var(--hover-bg);
    border-color: var(--hover-bg);
}

/* Auth forms */
.auth-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(184, 0, 255, 0.05));
}

.auth-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
}

.auth-card {
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--secondary-text);
    font-size: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    color: var(--secondary-text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-input, .comment-textarea {
    background: var(--accent-bg);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: var(--primary-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus, .comment-textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.form-input::placeholder, .comment-textarea::placeholder {
    color: var(--accent-text);
}

.auth-btn, .comment-submit-btn {
    background: var(--accent-bg);
    color: var(--primary-text);
    border: 1px solid var(--hover-bg);
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.auth-btn:hover, .comment-submit-btn:hover {
    background: var(--hover-bg);
    border-color: var(--hover-bg);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-switch {
    color: var(--secondary-text);
}

.auth-link {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: var(--primary-text);
}

/* Comment form */
.comment-form-container {
    margin-bottom: 3rem;
}

.comment-form-card {
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.comment-form-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--neon-blue);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.login-prompt {
    margin-bottom: 3rem;
}

.login-prompt-card {
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.login-prompt-card i {
    font-size: 3rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.login-prompt-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-text);
}

.login-prompt-card p {
    color: var(--secondary-text);
    margin-bottom: 2rem;
}

.login-prompt-btn {
    display: inline-block;
    background: var(--accent-bg);
    color: var(--primary-text);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
    border: 1px solid var(--hover-bg);
}

.login-prompt-btn:hover {
    background: var(--hover-bg);
    border-color: var(--hover-bg);
}

/* Flash messages */
.flash-messages {
    position: fixed;
    top: 100px;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.flash-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--box-shadow);
    animation: slideIn 0.3s ease;
}

.flash-success {
    background: var(--secondary-bg);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

.flash-error {
    background: var(--secondary-bg);
    border: 1px solid var(--neon-red);
    color: var(--neon-red);
}

.flash-info {
    background: var(--secondary-bg);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-text);
    animation: bounce 2s infinite;
    cursor: pointer;
    box-shadow: var(--box-shadow);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Footer */
.footer {
    background: var(--secondary-bg);
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content p {
    color: var(--secondary-text);
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .main-content {
        margin-top: 120px;
    }

    .welcome-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .social-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quick-comments {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .comment-card {
        padding: 1rem;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .flash-messages {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
    }

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

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

    .social-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .auth-container {
        padding: 1rem;
    }

    .auth-card {
        padding: 1.5rem;
    }
}

/* Chat page specific styles */
body.chat-page {
    background: #36393f !important;
}

body.chat-page::before {
    display: none;
}

/* Override main content padding for chat */
.chat-page .main-content {
    padding: 0;
    background: #36393f;
}

/* Chat preview section styles */
.quick-chat-section {
    padding: 4rem 0;
    background: rgba(74, 158, 255, 0.05);
}

.chat-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.chat-promo-card {
    background: var(--secondary-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--accent-bg);
    max-width: 400px;
    width: 100%;
}

.chat-icon {
    font-size: 3rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.chat-promo-card h3 {
    color: var(--primary-text);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.chat-promo-card p {
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.chat-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chat-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-text);
    margin-bottom: 0.5rem;
}

.chat-features i {
    color: var(--neon-green);
    font-size: 0.9rem;
}

.chat-cta {
    text-align: center;
}

/* Brand logo styles */
.brand-logo {
    height: 32px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Mobile navigation adjustments for chat and profile */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .chat-page .main-content {
        margin-top: 60px;
    }
    
    .chat-promo-card {
        padding: 1.5rem;
    }
    
    /* Profile page mobile adjustments */
    .profile-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-details {
        width: 100%;
        text-align: center;
    }
    
    .profile-edit-form {
        grid-template-columns: 1fr;
    }
    
    .profile-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-btn {
        width: 100%;
    }
}

/* Profile page styles */
/* Make profile page container wider */
.profile-page .auth-container {
    max-width: 800px;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-info {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--accent-bg);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.5);
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-details {
    flex: 1;
    padding: 0.5rem;
}

.profile-username {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-text);
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.3);
}

.profile-role {
    font-size: 1.1rem;
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.profile-bio {
    font-size: 1rem;
    color: var(--secondary-text);
    line-height: 1.5;
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--secondary-bg);
    border-radius: 8px;
    border-left: 4px solid var(--neon-purple);
    max-width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--accent-bg);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-bg);
    border-radius: 50%;
    color: var(--neon-purple);
    font-size: 1.5rem;
}

.stat-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--primary-text);
}

.stat-info p {
    font-size: 0.9rem;
    color: var(--secondary-text);
}

/* Profile Edit Section */
.profile-edit-section {
    background-color: var(--accent-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 1.5rem;
}

.edit-section-title {
    font-size: 1.6rem;
    color: var(--neon-green);
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    border-bottom: 2px solid var(--hover-bg);
    padding-bottom: 0.75rem;
    text-shadow: 0 0 10px rgba(78, 255, 136, 0.3);
}

.profile-edit-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Bio field should span full width */
.profile-edit-form .form-group:nth-child(3) {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 1rem;
    color: var(--primary-text);
    font-weight: 500;
}

.form-input {
    padding: 0.75rem;
    background-color: var(--secondary-bg);
    border: 1px solid var(--hover-bg);
    border-radius: 4px;
    color: var(--primary-text);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 8px rgba(74, 158, 255, 0.4);
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

.form-text {
    font-size: 0.8rem;
    color: var(--accent-text);
    margin-top: 0.25rem;
}

.profile-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-width: 180px;
}

.profile-btn.primary {
    background-color: var(--neon-blue);
    color: var(--primary-text);
}

.profile-btn.primary:hover {
    background-color: #3a8eff;
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.5);
}

.profile-btn.secondary {
    background-color: var(--accent-bg);
    color: var(--primary-text);
    border: 1px solid var(--neon-blue);
}

.profile-btn.secondary:hover {
    background-color: var(--hover-bg);
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.3);
}

/* Redeem code styles */
.redeem-page {
    padding: 2rem 0;
}

.redeem-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.redeem-info {
    background-color: var(--secondary-bg);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    text-align: center;
}

.coin-count {
    color: var(--neon-orange);
    font-weight: bold;
    font-size: 1.2em;
}

.redeem-note {
    color: var(--secondary-text);
    margin-top: 0.5rem;
    font-size: 0.9em;
}

.form-text {
    color: var(--secondary-text);
    font-size: 0.8em;
    margin-top: 0.3rem;
    display: block;
}

/* Redeem button styles */
.redeem-button {
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-red));
    color: var(--primary-text);
    border: none;
    border-radius: 25px; /* More oval shape */
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    width: 100%;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.redeem-button i {
    font-size: 1.2rem;
}

.redeem-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 136, 68, 0.4);
    background: linear-gradient(135deg, #ff9d4d, #ff5a5a);
}

.redeem-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Shop styles */
.shop-section {
    margin-top: 2rem;
    border-top: 1px solid var(--accent-bg);
    padding-top: 2rem;
}

.shop-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.shop-subtitle {
    text-align: center;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
}

.shop-items,
.shop-items-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.shop-content {
    padding: 1.5rem;
}

.shop-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.shop-note {
    color: var(--secondary-text);
    margin-top: 0.5rem;
}

.shop-item {
    background: var(--secondary-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--accent-bg);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.shop-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(74, 158, 255, 0.2);
    border-color: var(--neon-blue);
}

.item-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: var(--accent-bg);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shop-item:hover .item-image img {
    transform: scale(1.05);
}

.item-details {
    padding: 1.2rem;
}

.item-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
}

.item-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.item-price {
    color: var(--neon-orange);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.item-validity {
    color: var(--secondary-text);
}

.buy-button {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    color: var(--primary-text);
    border: none;
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(74, 158, 255, 0.4);
}

.buy-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.no-items-message {
    text-align: center;
    padding: 2rem;
    color: var(--secondary-text);
    background: var(--secondary-bg);
    border-radius: 12px;
    border: 1px dashed var(--accent-bg);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--secondary-bg);
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid var(--accent-bg);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

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

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--secondary-text);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--neon-red);
}

.modal-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--neon-blue);
    text-align: center;
}

.purchase-details {
    background: var(--accent-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.purchase-details p {
    margin-bottom: 0.5rem;
}

.purchase-details span {
    font-weight: bold;
    color: var(--neon-orange);
}

.confirm-button {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    color: var(--primary-text);
    border: none;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-size: 1.1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.confirm-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(74, 158, 255, 0.4);
}

.confirm-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Mini Games Styles */
.minigames-section {
    padding: 3rem 1rem;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
}

.minigames-header {
    text-align: center;
    margin-bottom: 2rem;
}

.minigames-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: var(--neon-blue);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.5);
}

.minigames-subtitle {
    color: var(--secondary-text);
    font-size: 1.2rem;
}

.maintenance-container {
    background: var(--secondary-bg);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--accent-bg);
    position: relative;
    overflow: hidden;
}

.maintenance-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.05), rgba(255, 136, 68, 0.05));
    z-index: 0;
}

.maintenance-icon {
    font-size: 4rem;
    color: var(--neon-orange);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.maintenance-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: var(--neon-orange);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.maintenance-message {
    color: var(--primary-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.coming-soon {
    background: var(--accent-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.coming-soon h3 {
    color: var(--neon-green);
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.games-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.games-list li {
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-text);
    transition: all 0.3s ease;
}

.games-list li:hover {
    transform: translateY(-3px);
    background: rgba(74, 158, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.games-list i {
    color: var(--neon-blue);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
    color: var(--primary-text);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(74, 158, 255, 0.4);
}

.back-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

