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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: hsl(240, 10%, 3.9%);
    color: hsl(0, 0%, 98%);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
.hero-gradient {
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: hsla(240, 10%, 3.9%, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid hsla(240, 3.7%, 15.9%, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: hsl(0, 0%, 98%);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: hsl(0, 0%, 98%);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: hsl(330, 81%, 60%);
}

.nav-auth {
    display: flex;
    gap: 1rem;
}

.btn-ghost {
    background: none;
    border: none;
    color: hsl(0, 0%, 98%);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.btn-ghost:hover,
.btn-ghost.active {
    background: hsla(240, 3.7%, 15.9%, 0.5);
    color: hsl(330, 81%, 60%);
}

.btn-auth {
    background: hsl(330, 81%, 60%);
    color: hsl(0, 0%, 98%);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block !important; /* Fix signup button visibility */
}

.btn-auth:hover {
    background: hsl(330, 81%, 55%);
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('src/image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: hsla(240, 10%, 3.9%, 0.8);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: hsl(240, 5%, 64.9%);
    margin-bottom: 3rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 50px hsla(330, 81%, 60%, 0.3);
}

.btn-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 0 80px hsla(330, 81%, 60%, 0.5);
}

/* Floating Elements */
.float-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.float-1 {
    top: 25%;
    left: 2.5rem;
    width: 1rem;
    height: 1rem;
    background: hsl(330, 81%, 60%);
    animation: float 6s ease-in-out infinite;
}

.float-2 {
    top: 33%;
    right: 5rem;
    width: 0.75rem;
    height: 0.75rem;
    background: hsl(280, 100%, 70%);
    animation: float 6s ease-in-out infinite 1s;
}

.float-3 {
    bottom: 25%;
    left: 25%;
    width: 0.5rem;
    height: 0.5rem;
    background: hsl(320, 100%, 75%);
    animation: float 6s ease-in-out infinite 2s;
}

/* Scrolling Text - Positioned at bottom of hero */
.scrolling-section {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    backdrop-filter: blur(1px);
    z-index: 5;
}

.scrolling-text {
    pointer-events: none;
    white-space: nowrap;
    display: inline-block;
    position: relative;
    animation: scroll-horizontal 60s linear infinite;
    transform: translateX(100%);
}

.scrolling-text span {
    
    font-size: 150px;
    font-weight: 900;
    color: hsl(240, 5%, 50%);
    opacity: 0.15;
    padding: 0 3rem;
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about-title {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

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

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text {
    space-y: 1.5rem;
}

.about-paragraph {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: hsl(240, 5%, 84%);
}

.about-card {
    text-align: center;
}

.card-content {
    background: linear-gradient(135deg, hsla(330, 81%, 60%, 0.2), hsla(280, 100%, 70%, 0.2));
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid hsla(330, 81%, 60%, 0.2);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-description {
    color: hsl(240, 5%, 64.9%);
}

/* Platform Benefits */
.platform-benefits {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.benefit-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-text {
    color: hsl(240, 5%, 84%);
}

/* Learning Path Section */
.learning-path {
    padding: 5rem 0;
    background: hsl(240, 10%, 3.9%);
}

.learning-path-title {
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.learning-path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.path-item {
    background: hsla(330, 81%, 60%, 0.05);
    border: 1px solid hsla(330, 81%, 60%, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.path-item:hover {
    transform: translateY(-5px);
    border-color: hsla(330, 81%, 60%, 0.4);
    box-shadow: 0 20px 40px hsla(330, 81%, 60%, 0.2);
}

.path-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.path-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: hsl(240, 5%, 84%);
}

.path-description {
    color: hsl(240, 5%, 64.9%);
    line-height: 1.6;
}

/* Chat Widget - FIXED: Working properly now */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1100;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px hsla(330, 81%, 60%, 0.3);
    transition: all 0.3s ease;
    color: white;
    border: none;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px hsla(330, 81%, 60%, 0.4);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: hsla(240, 10%, 3.9%, 0.95);
    border: 1px solid hsla(330, 81%, 60%, 0.2);
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    box-shadow: 0 20px 40px hsla(330, 81%, 60%, 0.2);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.chat-window.open {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

.chat-header {
    padding: 1rem;
    border-bottom: 1px solid hsla(330, 81%, 60%, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, hsla(330, 81%, 60%, 0.1), hsla(280, 100%, 70%, 0.1));
}

.chat-header h3 {
    color: hsl(240, 5%, 84%);
    font-size: 1rem;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: hsl(240, 5%, 84%);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chat-close:hover {
    background: hsla(330, 81%, 60%, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-message .message-content {
    background: hsla(330, 81%, 60%, 0.1);
    color: hsl(240, 5%, 84%);
    border-bottom-left-radius: 0.25rem;
}

.user-message .message-content {
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    color: white;
    border-bottom-right-radius: 0.25rem;
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid hsla(330, 81%, 60%, 0.2);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    padding: 0.75rem;
    background: hsla(330, 81%, 60%, 0.05);
    border: 1px solid hsla(330, 81%, 60%, 0.2);
    border-radius: 0.5rem;
    color: hsl(240, 5%, 84%);
    font-size: 0.9rem;
    outline: none;
}

.chat-input:focus {
    border-color: hsl(330, 81%, 60%);
    box-shadow: 0 0 0 2px hsla(330, 81%, 60%, 0.1);
}

.chat-input::placeholder {
    color: hsl(240, 5%, 64.9%);
}

.chat-send {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.chat-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px hsla(330, 81%, 60%, 0.3);
}

.chat-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid hsla(240, 3.7%, 15.9%, 0.2);
}

.footer-text {
    text-align: center;
    color: hsl(240, 5%, 64.9%);
}

/* Dashboard/Learning Pages */
.dashboard-hero {
    min-height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dashboard-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.dashboard-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.dashboard-subtitle {
    font-size: 1.2rem;
    color: hsl(240, 5%, 84%);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: hsl(240, 10%, 3.9%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: hsla(330, 81%, 60%, 0.05);
    border: 1px solid hsla(330, 81%, 60%, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: hsla(330, 81%, 60%, 0.4);
    box-shadow: 0 20px 40px hsla(330, 81%, 60%, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: hsl(240, 5%, 84%);
    font-size: 1rem;
    font-weight: 500;
}

/* Leaderboard */
.leaderboard-section {
    padding: 4rem 0;
    background: hsl(240, 10%, 3.9%);
}

.leaderboard-container {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.leaderboard-table {
    background: hsla(330, 81%, 60%, 0.05);
    border: 1px solid hsla(330, 81%, 60%, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 80px 1fr 100px 120px;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: hsla(330, 81%, 60%, 0.1);
    font-weight: 600;
    color: hsl(240, 5%, 84%);
    border-bottom: 1px solid hsla(330, 81%, 60%, 0.2);
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px 120px;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid hsla(330, 81%, 60%, 0.1);
    transition: all 0.3s ease;
    align-items: center;
}

.leaderboard-row:hover {
    background: hsla(330, 81%, 60%, 0.05);
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.top-player {
    background: hsla(330, 81%, 60%, 0.1);
}

.rank-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
}

.rank-badge.gold {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
}

.rank-badge.silver {
    background: linear-gradient(135deg, #c0c0c0, #e5e7eb);
    color: #000;
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #cd7f32, #d97706);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.player-avatar {
    font-size: 1.5rem;
}

.player-name {
    font-weight: 600;
    color: hsl(240, 5%, 84%);
}

.score-col {
    font-weight: 700;
    color: hsl(330, 81%, 60%);
}

.achievement-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.achievement-badge.master {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
}

.achievement-badge.expert {
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    color: white;
}

.achievement-badge.advanced {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: white;
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
    background: hsl(240, 10%, 3.9%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-description {
    color: hsl(240, 5%, 84%);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    font-size: 2rem;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: hsl(240, 5%, 84%);
    margin-bottom: 0.25rem;
}

.method-text {
    color: hsl(240, 5%, 64.9%);
    font-size: 0.9rem;
}

.contact-form-container {
    background: hsla(330, 81%, 60%, 0.05);
    border: 1px solid hsla(330, 81%, 60%, 0.2);
    border-radius: 1.5rem;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

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

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

/* Login/Auth Page */
.login-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    z-index: 2;
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: hsla(330, 81%, 60%, 0.05);
    border: 1px solid hsla(330, 81%, 60%, 0.2);
    border-radius: 1.5rem;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px hsla(330, 81%, 60%, 0.1);
    transition: all 0.3s ease;
}

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

.login-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: hsl(240, 5%, 84%);
    font-size: 1rem;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: hsl(240, 5%, 84%);
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: hsla(330, 81%, 60%, 0.05);
    border: 1px solid hsla(330, 81%, 60%, 0.2);
    border-radius: 0.5rem;
    color: hsl(0, 4%, 33%);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: hsl(330, 81%, 60%);
    box-shadow: 0 0 0 3px hsla(330, 81%, 60%, 0.1);
}

.form-input::placeholder {
    color: hsl(240, 5%, 64.9%);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    color: hsl(240, 5%, 84%);
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-container input {
    margin-right: 0.5rem;
}

.forgot-link {
    color: hsl(330, 81%, 60%);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: hsl(280, 100%, 70%);
}

.btn-login {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px hsla(330, 81%, 60%, 0.3);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: hsl(240, 5%, 64.9%);
    font-size: 0.9rem;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: hsla(330, 81%, 60%, 0.2);
    z-index: 1;
}

.divider span {
    background: hsl(240, 10%, 3.9%);
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-social {
    padding: 0.75rem;
    border: 1px solid hsla(330, 81%, 60%, 0.2);
    border-radius: 0.5rem;
    background: hsla(330, 81%, 60%, 0.05);
    color: hsl(240, 5%, 84%);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-social:hover {
    border-color: hsl(330, 81%, 60%);
    background: hsla(330, 81%, 60%, 0.1);
}

.social-icon {
    font-weight: 800;
}

.signup-link {
    text-align: center;
    color: hsl(240, 5%, 84%);
    font-size: 0.9rem;
}

.signup-text {
    color: hsl(330, 81%, 60%);
    text-decoration: none;
    font-weight: 500;
}

.signup-text:hover {
    color: hsl(280, 100%, 70%);
}

/* Learning Page */
.progress-section {
    padding: 4rem 0;
    background: hsl(240, 10%, 3.9%);
}

.progress-card {
    background: hsla(330, 81%, 60%, 0.05);
    border: 1px solid hsla(330, 81%, 60%, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

.progress-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-stats {
    display: grid;
    gap: 1.5rem;
}

.progress-item {
    display: grid;
    grid-template-columns: 1fr 200px 60px;
    gap: 1rem;
    align-items: center;
}

.progress-label {
    color: hsl(240, 5%, 84%);
    font-weight: 500;
}

.progress-bar {
    height: 8px;
    background: hsla(330, 81%, 60%, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    color: hsl(330, 81%, 60%);
    font-weight: 600;
    text-align: right;
}

.modules-section {
    padding: 4rem 0;
    background: hsl(240, 10%, 3.9%);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.module-card {
    background: hsla(330, 81%, 60%, 0.05);
    border: 1px solid hsla(330, 81%, 60%, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.module-card:hover {
    transform: translateY(-5px);
    border-color: hsla(330, 81%, 60%, 0.4);
    box-shadow: 0 20px 40px hsla(330, 81%, 60%, 0.2);
}

.module-card.completed {
    border-color: #10b981;
}

.module-card.current {
    border-color: hsl(330, 81%, 60%);
    box-shadow: 0 0 20px hsla(330, 81%, 60%, 0.3);
}

.module-card.locked {
    opacity: 0.6;
    border-color: hsl(240, 5%, 64.9%);
}

.module-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
}

.module-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.module-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: hsl(240, 5%, 84%);
}

.module-description {
    color: hsl(240, 5%, 64.9%);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.module-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: hsl(240, 5%, 64.9%);
}

.btn-module {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-module.completed {
    background: #10b981;
    color: white;
}

.btn-module.current {
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    color: white;
}

.btn-module.locked {
    background: hsl(240, 5%, 64.9%);
    color: hsl(240, 10%, 3.9%);
    cursor: not-allowed;
}

.current-lesson {
    padding: 4rem 0;
    background: hsl(240, 10%, 3.9%);
}

.lesson-card {
    background: hsla(330, 81%, 60%, 0.05);
    border: 1px solid hsla(330, 81%, 60%, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

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

.lesson-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(240, 5%, 84%);
}

.lesson-badge {
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.lesson-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.lesson-description {
    color: hsl(240, 5%, 84%);
    margin-bottom: 1rem;
}

.lesson-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: hsl(240, 5%, 64.9%);
}

.lesson-actions {
    display: flex;
    gap: 1rem;
}

.btn-continue,
.btn-quiz {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-continue {
    background: linear-gradient(135deg, hsl(330, 81%, 60%), hsl(280, 100%, 70%));
    color: white;
}

.btn-quiz {
    background: hsla(330, 81%, 60%, 0.1);
    color: hsl(330, 81%, 60%);
    border: 1px solid hsl(330, 81%, 60%);
}

.btn-continue:hover,
.btn-quiz:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px hsla(330, 81%, 60%, 0.3);
}

/* Animations - FIXED: Slower speed for popup */
@keyframes scroll-horizontal {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

.bounce-in {
    animation: bounceIn 2.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation-fill-mode: both;
}

.bounce-in-delayed {
    animation: bounceIn 2.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s both;
    animation-fill-mode: both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-auth {
        gap: 0.5rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .learning-path-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-window {
        width: 300px;
        height: 400px;
        bottom: 70px;
        right: -10px;
    }
    
    .chat-toggle {
        width: 50px;
        height: 50px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .scrolling-text span {
        font-size: clamp(2rem, 8vw, 4rem);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-methods {
        gap: 1.5rem;
    }
    
    .method-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 60px 1fr 80px 100px;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .lesson-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .lesson-actions {
        flex-direction: column;
    }
    
    .progress-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
}

