:root {
    /* Primary Colors */
    --primary-blue: #3b82f6;
    /* --primary-blue: #ff4d00; */
    --primary-blue-hover: #2563eb;
    --primary-blue-light: #60a5fa;
    
    /* Background Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #111111;
    --bg-quaternary: #0f0f0f;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    
    /* Border Colors */
    --border-primary: #1a1a1a;
    --border-secondary: #2a2a2a;
    --border-accent: rgba(59, 130, 246, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.1);
    
    /* Shadow Colors */
    --shadow-primary: rgba(0, 0, 0, 0.3);
    --shadow-blue: rgba(59, 130, 246, 0.3);
    --shadow-subtle: rgba(0, 0, 0, 0.1);
    
    /* Glassmorphism */
    --glass-bg: transparent;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 20px;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-features: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    --gradient-learning: linear-gradient(180deg, #0f0f0f 0%, #111111 100%);
    --gradient-footer: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-letters-display {
    color: #f59e0b !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-letters-display:hover {
    color: #f97316 !important;
}

.nav-letters-display i {
    color: #f59e0b;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow-primary);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.dropdown-menu a:hover {
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Hero Section */
/* V2 Announcement Banner */
.v2-announcement {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 1001;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.5s ease-out;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.v2-announcement:hover {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(-50%) translateY(-2px);
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.v2-announcement-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.v2-announcement-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.v2-announcement-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    text-align: center;
}

.v2-announcement-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.v2-announcement-text span {
    font-size: 0.9rem;
    opacity: 0.95;
}

.v2-announcement-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.v2-announcement-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) rotate(90deg);
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease-out;
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 250px;
}

.cookie-consent-text i {
    font-size: 1.5rem;
    color: #f59e0b;
}

.cookie-consent-text > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cookie-consent-text strong {
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.cookie-consent-text span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-learn-more {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.cookie-learn-more:hover {
    color: white;
    text-decoration: underline;
}

.cookie-accept-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cookie-accept-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) {
    .v2-announcement {
        width: calc(100% - 20px);
        bottom: 20px;
    }

    .v2-announcement-content {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    .v2-announcement-close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        transform: none;
    }
    
    .v2-announcement-text {
        padding-right: 2.5rem;
    }
    
    .v2-announcement-text strong {
        font-size: 1rem;
    }
    
    .v2-announcement-text span {
        font-size: 0.85rem;
    }

    .cookie-consent {
        width: calc(100% - 20px);
        bottom: 20px;
        padding: 1rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-consent-text {
        min-width: auto;
    }

    .cookie-consent-actions {
        width: 100%;
        justify-content: space-between;
    }

    .cookie-accept-btn {
        flex: 1;
        justify-content: center;
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

/* Shop Hero - Smaller height */
.shop-hero {
    min-height: 40vh;
    padding: 6rem 2rem 3rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-60px, -60px); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-symbol {
    position: absolute;
    color: rgba(59, 130, 246, 0.1);
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-symbol:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-symbol:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.floating-symbol:nth-child(3) {
    top: 60%;
    left: 20%;
    animation-delay: 2s;
}

.floating-symbol:nth-child(4) {
    top: 70%;
    right: 25%;
    animation-delay: 3s;
}

.floating-symbol:nth-child(5) {
    top: 40%;
    left: 5%;
    animation-delay: 4s;
}

.floating-symbol:nth-child(6) {
    top: 50%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.3;
    }
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--primary-blue);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-right: 1rem;
    box-shadow: 0 4px 15px var(--shadow-blue);
    position: relative;
    overflow: hidden;
    vertical-align: top;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-blue);
}

.cta-button i {
    margin-right: 0.5rem;
}

.learn-more-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    vertical-align: top;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.learn-more-button:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #ffffff;
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.learn-more-button i {
    margin-right: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.scroll-indicator-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.scroll-indicator-arrow {
    color: var(--primary-blue);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    width: 100%;
    background: var(--gradient-features);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    background: #111111;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.patreon-feature-card:hover {
    border-color: #FF424D;
}

.patreon-icon {
    color: #FF424D !important;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3b82f6;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.feature-card p {
    color: #a0a0a0;
    font-size: 1rem;
}

/* Learning Section */
.learning {
    background: var(--gradient-learning);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    width: 100%;
}

.learning-container {
    max-width: 1000px;
    margin: 0 auto;
}

.learning h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.learning-description {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.premium-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

.learning-item {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    transition: all 0.2s ease;
}

.learning-item:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.learning-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3b82f6;
}

.learning-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.learning-item p {
    color: #a0a0a0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: var(--gradient-footer);
    padding: 3rem 2rem 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: left;
}

.footer-right {
    text-align: left;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-section p {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.creator {
    margin-top: 1rem;
    font-weight: 500;
}

.footer-section a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #60a5fa;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
}

.footer-bottom p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

        /* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        top: 10px;
        width: calc(100% - 20px);
        padding: 0.8rem 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: calc(100% - 40px);
        margin: 0 20px;
        height: auto;
        background: rgba(10, 10, 10, 0.9);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(59, 130, 246, 0.2);
        border-radius: 15px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 1rem;
        transition: left 0.3s ease;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown-toggle {
        pointer-events: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
        min-width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown-menu a {
        padding: 0.5rem 0;
        margin: 0;
        text-align: center;
        font-size: 0.9rem;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-button,
    .learn-more-button {
        display: block;
        margin: 0.5rem auto;
        width: fit-content;
    }

    .features {
        padding: 3rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .learning {
        padding: 3rem 1rem;
    }

    .learning-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .premium-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .scroll-indicator {
        bottom: 2rem;
    }
    
    .scroll-indicator-text {
        font-size: 0.8rem;
    }
    
    .scroll-indicator-arrow {
        font-size: 1.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
    }
}

/* About Page Styles */
.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

.about-hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.about-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mission {
    padding: 5rem 0;
    background: var(--gradient-features);
}

.mission h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 700;
}

.mission-text {
    font-size: 1.2rem;
    color: #a0a0a0;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.what-we-do {
    padding: 5rem 0;
    background: var(--gradient-learning);
}

.what-we-do h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    font-weight: 700;
}

.languages-covered {
    padding: 5rem 0;
    background: var(--gradient-features);
}

.languages-covered h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
    font-weight: 700;
}

.languages-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.language-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.language-category {
    background: #111111;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
    text-align: center;
    transition: all 0.3s ease;
}

.language-category:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.language-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.language-category h3 i {
    color: #3b82f6;
}

.language-category p {
    color: #a0a0a0;
    font-size: 1rem;
    line-height: 1.5;
}

.how-it-works {
    padding: 5rem 0;
    background: var(--gradient-learning);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    font-weight: 700;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.step-number {
    background: #3b82f6;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

.step-content p {
    color: #a0a0a0;
    font-size: 1rem;
    line-height: 1.5;
}

.creator-section {
    padding: 5rem 0;
    background: var(--gradient-features);
}

.creator-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #ffffff;
    font-weight: 700;
}

.creator-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.creator-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.creator-description {
    font-size: 1.1rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.creator-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.creator-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #3b82f6;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.creator-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.nav-links a.active {
    color: #3b82f6;
    font-weight: 600;
}

/* Mobile Responsive for About Page */
@media (max-width: 768px) {
    .about-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }
    
    .mission,
    .what-we-do,
    .languages-covered,
    .how-it-works,
    .creator-section {
        padding: 3rem 0;
    }
    
    .mission h2,
    .what-we-do h2,
    .languages-covered h2,
    .how-it-works h2,
    .creator-section h2 {
        font-size: 2rem;
    }
    
    .mission-text,
    .languages-intro {
        font-size: 1.1rem;
    }
    
    .language-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
}

/* Legal Pages Styles */
.legal-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

.legal-hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.legal-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.legal-content {
    padding: 4rem 0;
    background: var(--gradient-features);
}

.legal-content .container {
    max-width: 800px;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.legal-section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-section a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: var(--primary-blue-hover);
    text-decoration: underline;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-table th {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
    font-weight: 600;
}

.cookie-table td {
    color: var(--text-secondary);
}

.cookie-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile Responsive for Legal Pages */
@media (max-width: 768px) {
    .legal-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .legal-hero h1 {
        font-size: 2.5rem;
    }
    
    .legal-hero p {
        font-size: 1.1rem;
    }
    
    .legal-content {
        padding: 3rem 0;
    }
    
    .legal-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

.contact-hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.contact-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.contact-content {
    padding: 4rem 0;
    background: var(--gradient-features);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Select dropdown options styling */
.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.5rem;
}

.form-group select:focus option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.submit-btn {
    background: var(--primary-blue);
    color: var(--text-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.submit-btn i {
    font-size: 0.9rem;
}

.contact-info-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-info-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--text-primary);
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-details p {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-details p a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-details p a:hover {
    color: var(--primary-blue-hover);
    text-decoration: underline;
}

.contact-details span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.contact-faq h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .contact-content {
        padding: 3rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-section,
    .contact-info-section {
        padding: 1.5rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        align-self: center;
    }
}

/* Login Page Styles */
.login-hero {
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 3rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.login-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

.login-hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.login-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.login-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.login-content {
    padding: 4rem 0;
    background: var(--gradient-features);
}

.login-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.login-form-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
}

.login-form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-form .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.login-form .form-group label i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -0.5rem;
}

.forgot-password {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: var(--primary-blue-hover);
    text-decoration: underline;
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    text-align: center;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.login-divider span {
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-agreement {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.login-agreement a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-agreement a:hover {
    color: var(--primary-blue-light);
    text-decoration: underline;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.social-btn i {
    font-size: 1.1rem;
}

.google-btn:hover {
    border-color: rgba(234, 67, 53, 0.5);
    background: rgba(234, 67, 53, 0.1);
}

.github-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.signup-link {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-link p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.signup-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.signup-link a:hover {
    color: var(--primary-blue-hover);
    text-decoration: underline;
}

.login-info-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
}

.login-info-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.login-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    color: var(--text-primary);
    font-size: 1.2rem;
}

.benefit-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.benefit-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile Responsive for Login Page */
@media (max-width: 768px) {
    .login-hero {
        padding: 5rem 1rem 2rem;
        min-height: 30vh;
    }
    
    .login-hero h1 {
        font-size: 2rem;
    }
    
    .login-hero p {
        font-size: 1rem;
    }
    
    .login-content {
        padding: 3rem 0;
    }
    
    .login-container {
        gap: 2rem;
    }
    
    .login-form-section {
        max-width: 100%;
    }
    
    .login-form-section,
    .login-info-section {
        padding: 1.5rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .login-benefits {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        align-self: center;
    }
}

/* Username Setup Page Styles */
.username-hero {
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 3rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.username-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

.username-hero-content {
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.username-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.1;
}

.username-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.username-content {
    padding: 4rem 0;
    background: var(--gradient-features);
}

.username-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.username-form-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
}

.username-form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
}

.username-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    padding: 0 1rem;
}

.username-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.username-form .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.username-form .form-group label i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.form-hint {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-hint i {
    color: var(--primary-blue);
    font-size: 0.8rem;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.error-message i {
    color: #ef4444;
    font-size: 1rem;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.success-message i {
    color: #22c55e;
    font-size: 1rem;
}

.username-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.username-info h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.username-info h3 i {
    color: var(--primary-blue);
}

.guidelines-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guidelines-list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.guidelines-list li i {
    color: var(--primary-blue);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.username-benefits-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
}

.username-benefits-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.benefit-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Mobile Responsive for Username Setup Page */
@media (max-width: 768px) {
    .username-hero {
        padding: 5rem 1rem 2rem;
        min-height: 30vh;
    }
    
    .username-hero h1 {
        font-size: 2rem;
    }
    
    .username-hero p {
        font-size: 1rem;
    }
    
    .username-content {
        padding: 3rem 0;
    }
    
    .username-container {
        gap: 2rem;
    }
    
    .username-form-section,
    .username-benefits-section {
        padding: 1.5rem;
    }
    
    .benefit-items {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        align-self: center;
    }
}

/* User Profile Page Styles */
.profile-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.profile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

.profile-hero-content {
    max-width: 1000px;
    width: 100%;
    z-index: 2;
    position: relative;
}

.loading-state,
.error-state {
    text-align: center;
    padding: 3rem;
}

.loading-state i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.loading-state p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.error-state i {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.error-state h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.error-state p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.profile-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar {
    flex-shrink: 0;
    position: relative;
}

.profile-avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.profile-frame-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    z-index: 1;
}

.profile-avatar-editable {
    cursor: pointer;
}

.profile-avatar-editable:hover .avatar-upload-overlay {
    opacity: 1;
}

.profile-avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
    transition: opacity 0.3s ease;
}

.profile-avatar-editable:hover .profile-avatar-img {
    opacity: 0.7;
}

.profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    border: 3px solid var(--primary-blue);
    transition: opacity 0.3s ease;
}

.profile-avatar-editable:hover .profile-avatar-placeholder {
    opacity: 0.7;
}

.avatar-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.avatar-upload-btn {
    background: var(--primary-blue);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.avatar-upload-btn:hover {
    background: var(--primary-blue-light);
    transform: scale(1.1);
}

.avatar-upload-btn i {
    font-size: 1.2rem;
}

.profile-info {
    flex: 1;
}

.profile-info-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 2rem;
}

.profile-info-left {
    flex: 1;
}

.profile-info-right {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
}

.profile-username {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.banned-username {
    color: #ef4444 !important;
}

.ban-banner {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ef4444;
    font-weight: 600;
}

.ban-banner-with-appeal {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.ban-banner-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.ban-banner i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ban-banner span {
    flex: 1;
}

.ban-appeal-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.ban-appeal-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    transform: translateY(-2px);
}

.ban-appeal-btn i {
    font-size: 0.9rem;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.premium-badge i {
    font-size: 0.9rem;
}

.country-flag-img {
    height: 1em;
    width: auto;
    margin-right: 0.4rem;
    vertical-align: middle;
    display: inline-block;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.premium-icon {
    color: #f59e0b;
    font-size: 1.5rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    filter: drop-shadow(0 0 3px rgba(245, 158, 11, 0.5));
}

.profile-bio {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.profile-location {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-location i {
    color: var(--primary-blue);
}

.profile-currency {
    color: #f59e0b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-currency i {
    color: #f59e0b;
}

.profile-bio-empty {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.edit-bio-link {
    background: none;
    border: none;
    color: var(--primary-blue);
    cursor: pointer;
    text-decoration: underline;
    font-size: inherit;
    font-style: normal;
    padding: 0;
    margin: 0;
}

.edit-bio-link:hover {
    color: var(--primary-blue-hover);
}

.edit-bio-btn {
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.edit-bio-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Bio Edit Modal */
.bio-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.bio-modal-content {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.bio-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bio-modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
}

.bio-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.bio-modal-close:hover {
    color: var(--text-primary);
}

.bio-modal-body {
    padding: 1.5rem;
}

.bio-textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 0.5rem;
}

.bio-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.08);
}

.bio-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.bio-save-btn {
    padding: 0.5rem 1.5rem;
    background: var(--primary-blue);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bio-save-btn:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
}

.bio-char-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Country Tracking Modal Styles */
.country-tracking-info {
    margin-bottom: 1.5rem;
}

.country-tracking-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.country-tracking-info p:last-child {
    margin-bottom: 0;
}

.country-tracking-options {
    margin-bottom: 1.5rem;
}

.country-tracking-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.country-tracking-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-blue);
}

.country-tracking-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 13px;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.country-tracking-toggle input[type="checkbox"]:checked + .toggle-slider {
    background: var(--primary-blue);
}

.country-tracking-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(24px);
}

.toggle-label {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Ban Appeal Modal Styles */
.ban-appeal-info {
    margin-bottom: 1.5rem;
}

.ban-appeal-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.ban-appeal-form {
    margin-bottom: 1.5rem;
}

.ban-appeal-label {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.ban-appeal-textarea {
    width: 100%;
    min-height: 150px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.ban-appeal-textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.08);
}

.ban-appeal-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ban-appeal-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ban-appeal-checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.ban-appeal-checkbox-label a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ban-appeal-checkbox-label a:hover {
    color: var(--primary-blue-light);
    text-decoration: underline;
}

.profile-inventory-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.inventory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.inventory-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.shop-link-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop-link-btn:hover {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.inventory-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.inventory-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.inventory-item-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.inventory-item-name {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.inventory-item-category {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: capitalize;
}

.inventory-item.equipped {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.equip-toggle-btn {
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.equip-toggle-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary-blue);
}

.equip-toggle-btn.equipped {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #10b981;
}

.equip-toggle-btn.equipped:hover {
    background: rgba(16, 185, 129, 0.2);
}

.no-inventory {
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem;
    grid-column: 1 / -1;
}

.no-inventory a {
    color: var(--primary-blue);
    text-decoration: none;
}

.no-inventory a:hover {
    text-decoration: underline;
}

/* Shop Page Styles */
.balance-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    color: #f59e0b;
    font-size: 1.2rem;
    font-weight: 700;
    justify-content: center;
}

.balance-display i {
    font-size: 1.5rem;
}

.login-prompt {
    text-align: center;
    padding: 4rem 2rem;
}

.login-prompt i {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.login-prompt h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.login-prompt p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.shop-content {
    max-width: 1200px;
    margin: 0 auto;
}

.shop-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-blue);
    color: var(--text-primary);
}

.category-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--text-primary);
}

.shop-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.shop-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.shop-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.shop-item.owned {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.shop-item.cannot-afford {
    opacity: 0.6;
}

.shop-item.unavailable {
    opacity: 0.5;
    pointer-events: none;
}

/* Rarity-based styling for shop items */
.shop-item-rarity-common {
    border-color: rgba(156, 163, 175, 0.3) !important;
}

.shop-item-rarity-uncommon {
    border-color: rgba(34, 197, 94, 0.3) !important;
}

.shop-item-rarity-rare {
    border-color: rgba(59, 130, 246, 0.3) !important;
}

.shop-item-rarity-epic {
    border-color: rgba(168, 85, 247, 0.3) !important;
}

.shop-item-rarity-legendary {
    border-color: rgba(234, 179, 8, 0.3) !important;
}

.shop-item-rarity-common:hover {
    border-color: rgba(156, 163, 175, 0.6) !important;
    box-shadow: 0 4px 12px rgba(156, 163, 175, 0.2);
}

.shop-item-rarity-uncommon:hover {
    border-color: rgba(34, 197, 94, 0.6) !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.shop-item-rarity-rare:hover {
    border-color: rgba(59, 130, 246, 0.6) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.shop-item-rarity-epic:hover {
    border-color: rgba(168, 85, 247, 0.6) !important;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

.shop-item-rarity-legendary:hover {
    border-color: rgba(234, 179, 8, 0.6) !important;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
}

.sale-status {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-align: center;
    padding: 0.5rem;
    border-radius: 6px;
}

.sale-status.on-sale {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.sale-status.coming-soon {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.sale-status.ended {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.shop-item-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
    color: #ffffff;
}

.shop-item.owned .shop-item-icon {
    background: #10b981;
}

.shop-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-item-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.shop-item-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
    flex: 1;
}

.shop-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.shop-item-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f59e0b;
    font-weight: 700;
    font-size: 1.1rem;
}

.shop-item-price i {
    color: #f59e0b;
}

.purchase-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.purchase-btn:hover:not(.disabled) {
    background: var(--primary-blue-hover);
    transform: translateY(-2px);
}

.purchase-btn.disabled {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.5;
}

.owned-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
}

.no-items {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Mobile Responsive for Shop */
@media (max-width: 768px) {
    .shop-items-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-categories {
        flex-direction: column;
    }
    
    .category-btn {
        width: 100%;
        text-align: center;
    }
    
    .shop-item-footer {
        flex-direction: column;
    }
    
    .purchase-btn,
    .owned-badge {
        width: 100%;
        justify-content: center;
    }
}

.profile-country {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.profile-country i {
    color: var(--primary-blue);
}

.profile-last-login {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.profile-last-login i {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.patreon-connect-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    color: #f59e0b;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.patreon-connect-btn:hover {
    background: rgba(255, 66, 77, 0.2);
    border-color: #ff424d;
    color: #ff424d;
    transform: translateY(-2px);
}

.patreon-connect-btn i {
    font-size: 0.9rem;
}

.signout-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #ef4444;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.signout-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: translateY(-2px);
}

.signout-btn i {
    font-size: 0.9rem;
}

/* Profile Settings Dropdown */
.profile-settings-dropdown {
    position: relative;
}

.profile-settings-btn {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.profile-settings-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.profile-settings-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.profile-settings-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-settings-item {
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.profile-settings-item:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-settings-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-blue);
}

.profile-settings-item:last-child:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.profile-settings-item i {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.profile-stats-section {
    margin-bottom: 3rem;
}

.level-xp-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.level-display {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.level-actions {
    display: flex;
    align-items: center;
}

.level-rewards-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.level-rewards-btn:not(:disabled):hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.level-rewards-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.level-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.level-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.xp-bar-container {
    width: 100%;
    flex-basis: 100%;
    margin-top: 0.75rem;
}

.xp-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.35rem;
}

.xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.xp-text {
    text-align: right;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.profile-badges-section {
    margin-bottom: 3rem;
}

.profile-badges-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-badges-section h2 i {
    color: var(--primary-blue);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.badge-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    /* border-color will be set dynamically via inline style */
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon i {
    color: #ffffff;
    font-size: 1.2rem;
}

.badge-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.badge-name {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.no-badges {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    color: #ffffff;
    font-size: 1.3rem;
}

.stat-info {
    flex: 1;
}

.stat-info h3 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Mobile Responsive for Profile Page */
@media (max-width: 768px) {
    .profile-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .profile-content {
        padding: 1.5rem;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-info-top {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .profile-info-left {
        text-align: center;
        width: 100%;
    }
    
    .profile-info-right {
        width: 100%;
        justify-content: center;
    }
    
    .profile-username {
        font-size: 2rem;
        justify-content: center;
    }
    
    .level-display {
        justify-content: center;
    }
    
    .level-number {
        font-size: 1.5rem;
    }
    
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        justify-content: center;
    }
}

/* Badge Modal Styles */
.badge-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
    transition: background 0.3s ease;
}

.badge-modal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    filter: blur(80px);
}

.badge-modal.rarity-common::before {
    background: radial-gradient(circle, rgba(156, 163, 175, 0.3) 0%, transparent 70%);
    opacity: 1;
}

.badge-modal.rarity-uncommon::before {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    opacity: 1;
}

.badge-modal.rarity-rare::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    opacity: 1;
}

.badge-modal.rarity-epic::before {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    opacity: 1;
}

.badge-modal.rarity-legendary::before {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, transparent 70%);
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.badge-modal-content {
    background: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.badge-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
}

.badge-modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.badge-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.badge-modal-body {
    padding: 2rem;
}

.badge-modal-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.badge-modal-icon-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.badge-modal-icon-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.badge-modal-icon-placeholder i {
    font-size: 3rem;
    color: #ffffff;
}

.badge-modal-info {
    text-align: center;
}

.badge-modal-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.badge-modal-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge-modal-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-modal-detail-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.badge-modal-detail-value {
    color: var(--text-primary);
    font-weight: 600;
}

.badge-rarity-common {
    color: #9ca3af !important;
}

.badge-rarity-uncommon {
    color: #10b981 !important;
}

.badge-rarity-rare {
    color: #3b82f6 !important;
}

.badge-rarity-epic {
    color: #8b5cf6 !important;
}

.badge-rarity-legendary {
    color: #f59e0b !important;
}

/* Mobile Responsive for Badge Modal */
@media (max-width: 768px) {
    .badge-modal {
        padding: 1rem;
    }
    
    .badge-modal-content {
        max-width: 100%;
    }
    
    .badge-modal-header {
        padding: 1rem;
    }
    
    .badge-modal-body {
        padding: 1.5rem;
    }
    
    .badge-modal-icon-img,
    .badge-modal-icon-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .badge-modal-icon-placeholder i {
        font-size: 2.5rem;
    }
}