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

/* Enhanced mobile viewport handling */
@viewport {
    width: device-width;
    zoom: 1.0;
}

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

:root {
    /* Dark theme (default) */
    --bg-primary: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    --bg-secondary: rgba(0, 0, 0, 0.9);
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-color: #FFD700;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
    /* Light theme */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --border-color: rgba(0, 0, 0, 0.08);
    --accent-color: #FFD700;
    --shadow-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-title {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: #000000;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
    /* Enhanced mobile touch handling */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Re-enable text selection for content areas */
.hero-content,
.section-content,
.project-description,
.tab-content,
p, h1, h2, h3, h4, h5, h6 {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

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

/* Header Styles */
.header {
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

.brand-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    transition: color 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    background: var(--bg-card);
    padding: 0.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    transition: background 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #000;
    background: rgba(255, 215, 0, 0.9);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #000;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.theme-toggle svg {
    transition: all 0.3s ease;
}

/* Moon icon for dark theme */
.theme-toggle .moon-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .user-avatar {
    color: #000000;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .user-avatar:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.user-avatar:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Wallet Connection Styles */
.wallet-connection {
    display: flex;
    align-items: center;
}

.connect-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    min-width: 80px;
}

.connect-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .connect-btn {
    background: rgba(0, 0, 0, 0.08);
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .connect-btn:hover {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Button Styles - 胶囊形式 */
.btn-primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFA500, #FFD700);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

.btn-outline:hover {
    background: #FFD700;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.btn-link {
    background: none;
    border: none;
    color: #FFD700;
    cursor: pointer;
    text-decoration: underline;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    background: rgba(255, 215, 0, 0.1);
    text-decoration: none;
}

.btn-primary-small {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.btn-primary-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Hero Section */
.hero {
    padding: 1rem 0 0.5rem 0;
    min-height: 42vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-cards {
    display: flex;
    gap: 1rem;
    transform: perspective(1000px) rotateY(-15deg);
}

.hero-card {
    width: 150px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-10px);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Hero Product Section for Projects Page */
.hero-product {
    background: var(--bg-primary);
    padding: 4rem 0;
    min-height: 41vh;
    display: flex;
    align-items: center;
}

.hero-product .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-product .hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-product .hero-cards {
    display: flex;
    gap: 0.8rem;
    transform: perspective(1000px) rotateY(-10deg);
}

.hero-product .hero-card {
    width: 120px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-product .hero-card:hover {
    transform: translateY(-8px) scale(1.05);
}

.hero-product .hero-card.card-3 {
    transform: translateY(20px);
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    opacity: 0.1;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Upcoming Projects */
.upcoming-projects {
    padding: 0.5rem 0 2rem 0;
}

.project-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.tone-match-section {
    margin-bottom: 2rem;
}

.tone-match-card {
    background: #2a2a2a;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #3a3a3a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tone-match-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #3a3a3a;
    padding-bottom: 1rem;
}

.tone-match-left {
    flex: 1;
}

.tone-label {
    display: inline-block;
    background: #FFD700;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tone-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.tone-subtitle {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.tone-match-right {
    margin-left: 1rem;
}

.tone-score-circle {
    width: 80px;
    height: 80px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.tone-score {
    color: #000;
    font-size: 1.5rem;
    font-weight: 700;
}

.tone-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.comparison-text {
    color: #cccccc;
    font-size: 1rem;
    font-weight: 500;
}

.comparison-text:first-child {
    color: #ffffff;
    font-weight: 600;
}

[data-theme="light"] .tone-match-card {
    background: #f8f9fa;
    border-color: #e9ecef;
}

[data-theme="light"] .tone-title,
[data-theme="light"] .tone-subtitle {
    color: #2c3e50;
}

[data-theme="light"] .comparison-text {
    color: #6c757d;
}

[data-theme="light"] .comparison-text:first-child {
    color: #2c3e50;
}

.btn-participate {
    background: #FFD700;
    color: #000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-participate:hover {
    background: #FFC700;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.project-visual {
    display: flex;
    justify-content: center;
}

.project-poster {
    width: 280px;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.8) 0%, rgba(255, 69, 0, 0.8) 50%, rgba(138, 43, 226, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.poster-text {
    text-align: center;
    color: white;
    font-weight: 700;
}

.art-text {
    display: block;
    font-size: 3rem;
    line-height: 0.9;
    margin-bottom: 0.2rem;
}

.on-text {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
    margin-bottom: 0.2rem;
    letter-spacing: 0.1em;
}

.mart-text {
    display: block;
    font-size: 2.5rem;
    line-height: 0.9;
    letter-spacing: 0.05em;
}

/* Featured Sales */
.featured-sales {
    padding: 2rem 0;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    margin: 1rem 0;
}

[data-theme="light"] .featured-sales {
    background: #ffffff;
}

.sales-carousel {
    position: relative;
    overflow: visible;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.sales-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: -30px;
    transition: transform 0.5s ease;
    padding: 0 4rem;
    perspective: 1200px;
    perspective-origin: center center;
}

.sale-item {
    flex: 0 0 auto;
    width: 160px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    margin: 0 -15px;
}

.sale-item:nth-child(1) {
    transform: scale(0.75) rotateY(45deg) translateX(-40px) translateZ(-100px);
    opacity: 0.6;
    z-index: 1;
}

.sale-item:nth-child(2) {
    transform: scale(0.85) rotateY(25deg) translateX(-20px) translateZ(-50px);
    opacity: 0.8;
    z-index: 2;
}

.sale-item:nth-child(3),
.sale-item.featured {
    transform: scale(1.15) translateZ(50px);
    z-index: 5;
    opacity: 1;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 0 30px rgba(102, 126, 234, 0.4);
    border: 3px solid rgba(102, 126, 234, 0.8);
}

.sale-item:nth-child(4) {
    transform: scale(0.85) rotateY(-25deg) translateX(20px) translateZ(-50px);
    opacity: 0.8;
    z-index: 2;
}

.sale-item:nth-child(5) {
    transform: scale(0.75) rotateY(-45deg) translateX(40px) translateZ(-100px);
    opacity: 0.6;
    z-index: 1;
}

.sale-item:hover {
    transform: scale(1.05) translateY(-10px) translateZ(20px);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.sale-item.featured:hover {
    transform: scale(1.15) translateY(-10px);
}

.sale-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 215, 0, 0.9);
    color: #000;
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.view-more {
    text-align: center;
    margin-top: 2rem;
}

.view-more .btn-link {
    color: var(--text-secondary);
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.view-more .btn-link:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

/* Why CineFi */
.why-cinefi {
    padding: 2rem 0;
}

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

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-1 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.feature-2 {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.feature-3 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.feature-card h3 {
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: rgba(0, 0, 0, 0.7);
}

/* CTA Section */
.cta-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    border-radius: 20px;
    margin: 1rem 0;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-content h3 {
    font-size: 1.8rem;
    color: #FFD700;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Partners */
.partners {
    padding: 2rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.partner-logo {
    padding: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FFD700;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.footer-group h5 {
    color: #FFD700;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

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

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--text-secondary);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.social-link:hover {
    color: var(--accent-color);
    background: rgba(255, 215, 0, 0.1);
}

/* Projects Page Specific Styles */
.projects-page {
    padding-top: 2rem;
}

.projects-header {
    /* padding: 2rem 0; */
    text-align: left;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-primary);
}

.upcoming-projects-detail {
    padding: 2rem 0 4rem;
}

.project-card-large {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
}

.project-poster-large {
    width: 250px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.poster-gradient-large {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    line-height: 1.2;
}

.featured-sales-page {
    padding: 0.8rem 0 1rem;
}

.search-filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    width: 300px;
}

.search-input {
    background: none;
    border: none;
    padding: 12px 20px;
    color: var(--text-primary);
    width: 100%;
    max-width: 100%;
    outline: none;
    border-radius: 25px;
    box-sizing: border-box;
}

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

.filter-tabs {
    display: flex;
    gap: 0.5rem;
}

.filter-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab.active {
    background: #FFD700;
    color: #000;
}

.sort-select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--text-primary);
    cursor: pointer;
}

/* Project Table Styles */
.project-table {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 0.8rem;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.header-cell {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-body {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    align-items: center;
    border-radius: 8px;
    margin: 0.25rem;
}

.table-row:last-child {
    border-bottom: 1px solid var(--border-color);
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid #4A9EFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
}

.table-cell {
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

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

.project-image {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-details {
    flex: 1;
    min-width: 0;
}

.project-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.project-author {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Status Badge Styles */
.status-badge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.ai {
    background: #FFD700;
    color: #000;
}

.status-badge.gamefi {
    background: #FF6B6B;
    color: #fff;
}

.status-badge.defi {
    background: #4ECDC4;
    color: #000;
}

.status-button {
    width: 60px;
    height: 28px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-button.ai {
    background-color: #FFD700;
    color: #000;
}

.status-button.ai:hover {
    background-color: #FFC107;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.status-button.gamefi {
    background-color: #FFD700;
    color: #000;
}

.status-button.gamefi:hover {
    background-color: #FFC107;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.status-button.defi {
    background-color: #FFD700;
    color: #000;
}

.status-button.defi:hover {
    background-color: #FFC107;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

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

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.pagination-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: #FFD700;
    color: #000;
}

.pagination-dots {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 0 0.5rem;
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 0.75rem 1.5rem;
    }
    
    .hero-content {
        gap: 3rem;
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .sales-grid {
        padding: 0 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    /* Project cards responsive layout */
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .project-card {
        margin-bottom: 1rem;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: 1px;
}

.mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

[data-theme="light"] .mobile-nav-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .mobile-nav-content {
    background: rgba(248, 249, 250, 0.95);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-nav-overlay.active .mobile-nav-content {
    transform: translateY(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.mobile-nav-header::before {
    content: '';
    position: absolute;
    top: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--text-secondary);
    border-radius: 2px;
    opacity: 0.5;
}

[data-theme="light"] .mobile-nav-header::before {
    background: #6c757d;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

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

[data-theme="light"] .mobile-nav-close:hover {
    background: rgba(0, 0, 0, 0.08);
}

.mobile-nav-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="light"] .mobile-nav-link {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mobile-nav-link:hover,
[data-theme="light"] .mobile-nav-link.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--accent-color);
    color: #2c3e50;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent-color);
    background: rgba(var(--accent-rgb), 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.mobile-nav-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mobile-nav-section {
    margin-bottom: 0;
}

.mobile-nav-section h4 {
    color: var(--accent-color);
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.mobile-nav-section a:hover {
    color: var(--text-primary);
}

/* Tablets */
@media (max-width: 768px) {
    .nav {
        padding: 0.75rem 1rem;
    }
    
    /* Improved project grid for tablets */
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.25rem;
        padding: 0 1rem;
    }
    
    .project-card {
        max-width: 100%;
    }
    
    /* Better spacing for feature cards */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .hero {
        min-height: 60vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .hero-cards {
        transform: none;
        gap: 0.5rem;
    }
    
    .hero-card {
        width: 120px;
        height: 160px;
    }
    
    .hero-product {
        min-height: 50vh;
        padding: 3rem 0;
    }
    
    .hero-product .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding: 0 1rem;
    }
    
    .hero-product .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-product .hero-cards {
        transform: none;
        gap: 0.6rem;
        justify-content: center;
    }
    
    .hero-product .hero-card {
        width: 110px;
        height: 150px;
    }
    
    .hero-product .hero-card.card-3 {
        transform: none;
    }
    
    .project-table {
        border-radius: 8px;
    }
    
    .table-header {
        display: none;
    }
    
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .table-cell {
        justify-content: space-between;
        padding: 0.25rem 0;
    }
    
    .table-cell:not(.project-info)::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-secondary);
        font-size: 0.8rem;
    }
    
    .project-info {
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .project-image {
        width: 40px;
        height: 40px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .project-card,
    .project-card-large {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
    }
    
    .project-poster,
    .project-poster-large {
        margin: 0 auto;
    }
    
    .sales-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .sale-item {
        transform: none !important;
        opacity: 1 !important;
        z-index: 1 !important;
        margin: 0;
        width: 140px;
        height: 200px;
    }
    
    .carousel-nav {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .search-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        text-align: left;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section ul {
        margin: 0;
        padding: 0;
    }
    
    .footer-section li {
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding-top: 1.5rem;
    }
    
    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        justify-content: center;
        text-align: left;
    }
    
    .footer-group {
        margin-bottom: 0.8rem;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Enhanced touch targets for mobile */
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        min-height: 44px;
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .nav-link {
        min-height: 44px;
        padding: 12px 16px;
        display: flex;
        align-items: center;
    }
    
    .theme-toggle {
        min-width: 44px;
        min-height: 44px;
    }
    
    .mobile-nav-content {
        max-height: 85vh;
        padding: 1rem;
    }
    
    .mobile-nav-menu {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .mobile-nav-link {
        padding: 0.8rem;
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    [data-theme="light"] .mobile-nav-content {
        background: rgba(248, 249, 250, 0.98);
    }
    
    [data-theme="light"] .mobile-nav-link {
        background: rgba(0, 0, 0, 0.03);
    }
    
    .mobile-nav-footer {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding-top: 0.8rem;
    }
    
    .mobile-nav-section h4 {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .mobile-nav-section a {
        font-size: 0.8rem;
        padding: 0.25rem 0;
    }
    
    .nav {
        padding: 0.8rem;
    }
    
    .nav-brand {
        gap: 0.5rem;
    }
    
    .logo {
        height: 32px;
        width: auto;
        object-fit: contain;
    }
    
    .brand-text {
        font-size: 1.4rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
        padding: 0.3rem;
    }
    
    .nav-menu li a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .hero {
        min-height: 50vh;
        padding: 0.5rem 0;
    }
    
    .hero-content {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    /* Improved mobile typography */
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .hero-actions {
        gap: 0.6rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-cards {
        gap: 0.3rem;
    }
    
    .hero-card {
        width: 100px;
        height: 140px;
    }
    
    /* Mobile-optimized project grid */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .project-card {
        margin-bottom: 0.5rem;
    }
    
    /* Mobile-optimized feature cards */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .hero-product {
        min-height: 40vh;
        padding: 2rem 0;
    }
    
    .hero-product .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
        text-align: center;
    }
    
    .hero-product .hero-title {
        font-size: 2rem;
    }
    
    .hero-product .hero-cards {
        gap: 0.5rem;
        transform: none;
        justify-content: center;
    }
    
    .hero-product .hero-card {
        width: 90px;
        height: 120px;
    }
    
    .hero-product .hero-card.card-3 {
        transform: none;
    }
    
    .table-header {
        padding: 0.75rem 1rem;
    }
    
    .table-row {
        padding: 0.75rem 1rem;
    }
    
    .project-image {
        width: 45px;
        height: 45px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .upcoming-projects,
    .featured-sales,
    .why-cinefi,
    .cta-section,
    .partners {
        padding: 1rem 0;
    }
    
    .project-card {
        padding: 1rem;
    }
    
    .project-info h3 {
        font-size: 1.5rem;
    }
    
    .project-poster {
        width: 150px;
        height: 210px;
    }
    
    .sale-item {
        width: 120px;
        height: 170px;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-content h3 {
        font-size: 1.2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        text-align: left;
    }
    
    .footer-section {
        margin-bottom: 1rem;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-section li {
        margin-bottom: 0.3rem;
        font-size: 0.85rem;
    }
    
    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        text-align: left;
    }
    
    .footer-group {
        margin-bottom: 0.6rem;
    }
    
    .footer-group h5 {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .footer-group p {
        font-size: 0.8rem;
    }
}

/* Close Button - Invisible click area */
.close-button {
    position: fixed;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: transparent;
    border: none;
    color: transparent;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: none;
}

/* Show close button when mobile menu is active */
.mobile-nav-overlay.active ~ .close-button {
    display: flex;
}

/* Dashboard Styles */
.dashboard-page {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    grid-template-areas: 
        "overview profile"
        "activities milestones";
}

.account-overview {
    grid-area: overview;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.user-profile {
    grid-area: profile;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.activities-section {
    grid-area: activities;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-color);
}

.upcoming-milestone {
    grid-area: milestones;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-color);
}

/* Account Overview Styles */
.overview-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.overview-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.stat-item label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
}

.stat-item value {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.total-invested {
    flex-shrink: 0;
    text-align: center;
    padding: 1.5rem;
    min-width: 200px;
}

.total-invested .label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.total-invested .amount {
    display: block;
    color: #FFD700;
    font-size: 2rem;
    font-weight: 700;
}

/* User Profile Styles */
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.profile-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.username {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.user-id {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
    word-break: break-all;
    line-height: 1.4;
}

.milestone-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.milestone-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.milestone-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.milestone-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.milestone-icon {
    font-size: 1.5rem;
}

.xp-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.xp-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.xp-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.xp-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 0.25rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 6px;
    transition: width 0.3s ease;
}

/* Activities Table Styles */
.activities-table {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.header-cell {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.table-body {
    /* 移除高度限制，让8个项目在页面中自然展示 */
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.cell {
    color: var(--text-primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-ended {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-alive {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-upcoming {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.status-locked {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

/* Upcoming Milestone Styles */
.milestone-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.milestone-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.milestone-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.milestone-icon-small {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
}

.milestone-details {
    flex: 1;
}

.milestone-name {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.milestone-xp {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.milestone-help {
    text-align: center;
}

.help-link {
    color: #FFD700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.help-link:hover {
    color: #FFA500;
    text-decoration: underline;
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "overview"
            "profile"
            "activities"
            "milestones";
    }
    
    .user-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .overview-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .table-header,
    .table-row {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.5rem;
    }
    
    .header-cell:nth-child(n+4),
    .cell:nth-child(n+4) {
        display: none;
    }
    
    .milestone-list {
        grid-template-columns: 1fr;
    }
    
    .xp-progress {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Invisible Close Button */
.invisible-close-btn {
    position: fixed;
    top: -100px;
    left: -100px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    color: #FFD700;
    font-size: 24px;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: none;
}

.invisible-close-btn.show {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 20px;
    right: 20px;
    left: auto;
}

.invisible-close-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
    transform: scale(1.1);
}

/* Very small screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    /* Ultra-compact layout for very small screens */
    .container {
        padding: 0 8px;
    }
    
    .hero {
        min-height: 45vh;
        padding: 0.5rem 0;
    }
    
    .hero-content {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .hero-actions {
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* Wallet Connection Modal */
.wallet-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.wallet-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wallet-modal {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.wallet-modal-overlay.active .wallet-modal {
    transform: scale(1) translateY(0);
}

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

.wallet-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.wallet-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-weight: bold;
    line-height: 1;
}

.wallet-modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.wallet-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #ffffff;
}

.wallet-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.wallet-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.wallet-name {
    font-weight: 500;
    font-size: 1rem;
}

.wallet-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.wallet-divider::before,
.wallet-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.social-login {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.social-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #ffffff;
}

.social-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.social-name {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Light theme styles for modal */
[data-theme="light"] .wallet-modal {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .wallet-modal-title {
    color: #000000;
}

[data-theme="light"] .wallet-modal-close {
    color: rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .wallet-modal-close:hover {
    color: #000000;
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

[data-theme="light"] .wallet-option {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #000000;
}

[data-theme="light"] .wallet-option:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .wallet-divider {
    color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .wallet-divider::before,
[data-theme="light"] .wallet-divider::after {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .social-option {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #000000;
}

[data-theme="light"] .social-option:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Blur effect for page content when modal is open */
body.modal-open .header,
body.modal-open .projects-page,
body.modal-open main:not(.wallet-modal-overlay) {
    filter: blur(8px);
    transition: filter 0.3s ease;
}

body.modal-open {
    overflow: hidden;
}

/* Mobile responsive styles for wallet modal */
@media (max-width: 768px) {
    .wallet-modal-overlay {
        padding: 4px;
        align-items: center;
        justify-content: center;
    }
    
    .wallet-modal {
        width: 100%;
        max-width: none;
        max-height: 90vh;
        height: auto;
        border-radius: 16px;
        padding: 16px 12px 12px 12px;
        margin: 0;
        transform: scale(0.9) translateY(20px);
        display: flex;
        flex-direction: column;
    }
    
    .wallet-modal-overlay.active .wallet-modal {
        transform: scale(1) translateY(0);
    }
    
    .wallet-modal-header {
        margin-bottom: 16px;
        flex-shrink: 0;
    }
    
    .wallet-modal-title {
        font-size: 1.1rem;
    }
    
    .wallet-modal-close {
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
    }
    
    .wallet-options {
        gap: 6px;
        margin-bottom: 12px;
        flex-shrink: 0;
    }
    
    .wallet-option {
        padding: 10px 12px;
        gap: 8px;
        min-height: 44px;
    }
    
    .wallet-icon {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .wallet-name {
        font-size: 0.85rem;
    }
    
    .wallet-divider {
        margin: 10px 0;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
    
    .social-login {
        gap: 6px;
        flex-shrink: 0;
    }
    
    .social-option {
        padding: 8px 4px;
        gap: 3px;
        min-height: 44px;
    }
    
    .social-icon {
        width: 24px;
        height: 24px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    
    .social-name {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .wallet-modal-overlay {
        padding: 2px;
    }
    
    .wallet-modal {
        padding: 14px 10px 10px 10px;
        max-height: 85vh;
        border-radius: 12px;
    }
    
    .wallet-modal-title {
        font-size: 1rem;
    }
    
    .wallet-modal-close {
        width: 26px;
        height: 26px;
        font-size: 1.1rem;
    }
    
    .wallet-modal-header {
        margin-bottom: 12px;
    }
    
    .wallet-options {
        gap: 4px;
        margin-bottom: 10px;
    }
    
    .wallet-option {
        padding: 8px 10px;
        gap: 6px;
        min-height: 40px;
    }
    
    .wallet-icon {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }
    
    .wallet-name {
        font-size: 0.8rem;
    }
    
    .wallet-divider {
        margin: 8px 0;
        font-size: 0.75rem;
    }
    
    .social-login {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    
    .social-option {
        padding: 8px 6px;
        gap: 4px;
        min-height: 40px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
    }
    
    .social-name {
        font-size: 0.6rem;
    }
}

@media (max-width: 360px) {
    .wallet-modal {
        padding: 12px 8px 8px 8px;
        border-radius: 10px;
        max-height: 80vh;
    }
    
    .wallet-modal-title {
        font-size: 0.95rem;
    }
    
    .wallet-modal-close {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }
    
    .wallet-modal-header {
        margin-bottom: 10px;
    }
    
    .wallet-options {
        gap: 3px;
        margin-bottom: 8px;
    }
    
    .wallet-option {
        padding: 6px 8px;
        gap: 5px;
        min-height: 36px;
    }
    
    .wallet-icon {
        width: 18px;
        height: 18px;
        font-size: 0.75rem;
    }
    
    .wallet-name {
        font-size: 0.75rem;
    }
    
    .wallet-divider {
        margin: 6px 0;
        font-size: 0.7rem;
    }
    
    .social-option {
        padding: 6px 4px;
        gap: 3px;
        min-height: 36px;
    }
    
    .social-icon {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
    
    .social-name {
        font-size: 0.55rem;
    }
}

/* Project Detail Page Styles */
.project-detail-page {
    min-height: 100vh;
    background: var(--bg-primary);
   
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    /* background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color); */
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--accent-primary);
}

.breadcrumb-separator {
    color: var(--text-secondary);
    margin: 0 0.5rem;
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

/* Main Layout */
.project-main {
    padding: 2rem 0;
}

.project-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
    /* min-height: 100vh; */
}

/* Left Content */
.project-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Project Header */
.project-header {
    display: flex;
    gap: 1.5rem;
    align-items: center; /* Align items vertically */
    margin-bottom: 1rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.project-logo img {
    width: 100px; /* Increased logo size */
    height: 100px;
    border-radius: 50%; /* Circular logo */
    object-fit: cover;
}

.project-info {
    display: flex;
    
    gap: 0.5rem; /* Space between title, subtitle, and social links */
    flex-grow: 1; /* Allow info to take remaining space */
}

.project-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Push status to the right */
    gap: 1rem;
    width: 100%; /* Ensure it takes full width */
}

.project-info h1 {
    font-size: 2rem; /* Adjusted font size */
    font-weight: 700;
    margin: 0;
}

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

.project-social {
    display: flex;
    gap: 1rem; /* Increased gap */
    align-items: center;
    align-self: flex-end; /* Align social icons to the right */
}

.project-social .social-link {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.project-social .social-link:hover {
    color: var(--accent-color);
}

.project-status {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: rgba(255, 215, 0, 0.2);
    color: var(--accent-color);
    transform: translateY(-1px);
}

.project-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: lowercase;
    white-space: nowrap;
}

.status-badge.featured {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.status-badge.upcoming {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border-radius: 12px;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
}

/* Presale Section */
.presale-section {
    background-color: #1a1a1a;
    border-radius: 16px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.presale-section.expanded {
    border-radius: 16px;
    padding: 1.5rem;
}

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

.presale-countdown{
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.presale-dropdown{
    display: flex;
    width: 100%;
    justify-content: center;
}

.presale-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.countdown-number {
    background-color: #f5a623;
    color: #000;
    font-size: 1.25rem;
    font-weight: bold;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    line-height: 1;
}

.countdown-separator {
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
}

.presale-dropdown-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.presale-dropdown-btn.expanded {
    transform: rotate(180deg);
}

.presale-expanded-content {
    margin-top: 1.5rem;
    animation: slideDown 0.3s ease;
}

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

.presale-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #333;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.presale-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f5a623 0%, #ff8c00 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.presale-status-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.presale-status-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
    margin-top: 4px;
    flex-shrink: 0;
}

.presale-status-item.active .status-indicator {
    background-color: #f5a623;
}

.status-content {
    flex: 1;
}

.status-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.status-subtitle {
    color: #999;
    font-size: 0.9rem;
}

.presale-status-item.active .status-title {
    color: #f5a623;
}

/* Project Media */
.project-media {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.media-viewer {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
}

.media-content {
    width: 100%;
    height: 100%;
}

.media-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-viewer:hover .media-controls {
    opacity: 1;
}

.media-nav {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.media-nav:hover {
    background: rgba(0, 0, 0, 0.9);
}

.media-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
}

.thumbnail {
    width: 80px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: var(--accent-primary);
}

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

/* Project Details Tabs */
.project-details {
    /* background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px; */
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.tab-navigation {
    display: flex;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button.active {
    color: var(--accent-primary);
    background: rgba(255, 215, 0, 0.1);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-primary);
}

.tab-button:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Token Details */
.token-details {
    display: grid;
    gap: 1.5rem;
}

.detail-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.detail-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.detail-grid {
    display: grid;
    gap: 1rem;
}

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

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

.detail-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

.detail-value.highlight {
    color: var(--accent-primary);
}

.copy-button {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
}

.member-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-primary);
    color: #000;
    transform: translateY(-2px);
}

/* Missions Page Styles */
.missions-page {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 60px;
    background: var(--bg-primary);
}

.missions-header {
    text-align: center;
    margin-bottom: 3rem;
}

.missions-header .page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-color), #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.missions-header .page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.missions-filter {
    display: flex;
    justify-content: end;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn.active {
    color: #000;
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.filter-btn:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-1px);
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    cursor: pointer;
    user-select: none;
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-color);
    border-color: rgba(255, 215, 0, 0.3);
}

.mission-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.mission-card:hover .mission-image img {
    transform: scale(1.05);
}

.mission-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.mission-content {
    padding: 1.5rem;
}

.mission-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mission-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-color);
    flex-shrink: 0;
}

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

.mission-info {
    flex: 1;
}

.mission-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.mission-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ongoing-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.ended-badge {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.mission-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.mission-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.stat-value {
    font-weight: 500;
}

/* Responsive Design for Missions */
@media (max-width: 1024px) {
    .missions-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .missions-header .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .missions-page {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .missions-header {
        margin-bottom: 2rem;
    }
    
    .missions-header .page-title {
        font-size: 2rem;
    }
    
    .missions-header .page-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .missions-filter {
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        flex: 1;
        min-width: 0;
        text-align: center;
    }
    
    .missions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .mission-content {
        padding: 1.25rem;
    }
    
    .mission-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .missions-header .page-title {
        font-size: 1.75rem;
    }
    
    .missions-header .page-subtitle {
        font-size: 0.9rem;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .mission-image {
        height: 160px;
    }
    
    .mission-content {
        padding: 1rem;
    }
    
    .mission-header {
        gap: 0.75rem;
    }
    
    .mission-avatar {
        width: 40px;
        height: 40px;
    }
    
    .mission-title {
        font-size: 1rem;
    }
    
    .mission-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* Tokenomics */
.tokenomics-content {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
}

.tokenomics-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tokenomics-content p {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* Right Sidebar */
.project-right {
    position: sticky;
    top: 80px; /* Adjust this value based on your header's height */
    align-self: flex-start; /* Ensures it sticks to the top of the container */
    height: fit-content;
    max-height: calc(100vh - 100px); /* Adjust to prevent overlap with footer */
    overflow-y: auto;
    z-index: 10;
}

/* Investment Panel */
.investment-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    margin-bottom: 1rem; /* Add margin to separate panels */
}

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

.raised-label {
    font-size: 1rem;
    color: var(--text-primary);
}

.raised-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-icon.btn-minus {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 1rem;
    cursor: pointer;
}

.progress-bar-container {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 4px;
}

.investment-stats {
    margin-bottom: 1.5rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

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

.stat-value {
    color: var(--text-primary);
    font-weight: 600;
}

.max-amount {
    color: #FF6B6B;
}

.amount-input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.amount-input {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-secondary); /* Placeholder text color */
    font-size: 1rem;
    box-sizing: border-box;
}

.btn-max {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #FF6B6B;
    cursor: pointer;
    font-weight: bold;
}

.btn-buy {
    width: 100%;
    padding: 1rem 2rem;
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

/* Allowlist Checker Panel */
.allowlist-checker-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.allowlist-checker-panel h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.allowlist-checker-panel p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.allowlist-input {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.btn-check-email {
    width: 100%;
    padding: 1rem 2rem;
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-right {
        position: static;
        order: -1;
    }
    
    .investment-panel {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .project-main {
        padding: 1rem 0;
    }
    
    .project-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .project-title-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    
    .project-social {
        justify-content: center;
    }
    
    .project-status {
        justify-content: center;
    }
    
    .project-info h1 {
        font-size: 2rem;
    }
    
    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .countdown-item {
        padding: 1rem 0.75rem;
    }
    
    .tab-navigation {
        flex-direction: column;
    }
    
    .tab-button {
        padding: 0.75rem 1rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .media-thumbnails {
        flex-wrap: wrap;
    }
    
    .thumbnail {
        width: 60px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .project-info h1 {
        font-size: 1.75rem;
    }
    
    .countdown {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .countdown-item {
        padding: 0.75rem 0.5rem;
    }
    
    .countdown-number {
        font-size: 1.25rem;
    }
    
    .investment-panel {
        padding: 1rem;
    }
    
    .total-raised {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .raised-amount {
        font-size: 1.5rem;
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .detail-section {
        padding: 1rem;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .detail-value {
        word-break: break-all;
        font-size: 0.8rem;
    }
}

/* Project Media */
.project-media {
    padding: 40px 0;
    background: var(--bg-secondary);
}

.media-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.media-viewer {
    position: relative;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.media-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;
}

.media-nav {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s ease;
}

.media-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.media-content {
    width: 100%;
    height: 100%;
}

.media-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.thumbnail {
    width: 80px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.thumbnail.active {
    border-color: var(--accent-color);
}

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

/* Presale Info */
.presale-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.presale-info h3 {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.countdown {
    /* display: grid; */
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    /* color: var(--accent-color); */
    margin-bottom: 4px;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Project Details Container */
.project-details-container {
    background-color: var(--card-bg);
    /* border: 1px solid var(--border-color); */
    border-radius: 12px;
    padding: 0 2rem;
    /* margin-top: 2rem; */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Project Tabs Section */
.project-tabs {
    padding: 40px 0;
    background: var(--bg-primary);
}

.project-tabs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

.project-tabs .tabs-navigation,
.project-tabs .tabs-content {
    grid-column: 1;
}

/* Make project-details-container content match project-media width */
.project-details-container .project-tabs {
    padding: 0;
    background: transparent;
    margin-top: 0;
}

.project-details-container .project-tabs .container {
    padding: 0;
    margin: 0;
    max-width: none;
}

.tabs-right-placeholder {
    grid-column: 2;
    /* Empty placeholder to maintain layout consistency */
}

.tabs-navigation {
    display: flex;
    gap: 8px;
    /* margin-bottom: 32px; */
    border-bottom: none;
    padding: 0;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.tab-btn.active {
    color: #000;
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.tab-btn:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-1px);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.project-details-vertical {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.details-section h3 {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.token-details,
.pool-details {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    min-height: 44px; /* Ensure touch-friendly height */
}

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

.detail-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex: 1;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 500;
    flex: 2;
    text-align: right;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 60%; /* Prevent overflow on small screens */
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.copy-btn:hover {
    background: var(--bg-card);
}

/* Responsive Design for Project Detail */
@media (max-width: 1024px) {
    .project-header-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .media-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .project-info {
        flex-direction: column;
        gap: 16px;
    }
    
    .project-logo img {
        width: 60px;
        height: 60px;
    }
    
    .project-details h1 {
        font-size: 1.5rem;
    }
    
    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tabs-navigation {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .tab-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
        border-radius: 6px;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .tab-btn.active {
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    }
}

@media (max-width: 480px) {
    .project-detail-page {
        padding-top: 70px;
    }
    
    .project-header {
        padding: 20px 0;
    }
    
    .project-media {
        padding: 20px 0;
    }
    
    .project-tabs {
        padding: 20px 0;
    }
    
    .project-stats {
        padding: 16px;
    }
    
    .presale-info {
        padding: 16px;
    }
    
    .countdown-item {
        padding: 12px 6px;
    }
    
    .countdown-number {
        font-size: 1.2rem;
    }
    
    .tabs-navigation {
        gap: 4px;
        margin-bottom: 24px;
    }
    
    .tab-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        border-radius: 6px;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .tab-btn.active {
        box-shadow: 0 2px 6px rgba(255, 215, 0, 0.25);
    }
}

/* About Project Styles */
.about-project-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* About Header Section */
.about-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.about-project-image {
    flex: 0 0 300px;
    max-width: 300px;
}

.project-main-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.about-project-info {
    flex: 1;
    padding-left: 1rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.about-subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    /* gap: 1rem; */
    flex-wrap: wrap;
}

.stat-item-detail{
    display: flex;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

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

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

.stat-divider {
    color: var(--border-color);
    font-size: 0.8rem;
}

/* Highlights Section */
.highlights-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.highlight-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.highlight-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

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

/* Team Section */
.team-section {
    margin-bottom: 2rem;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-member {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    align-items: stretch;
}

.team-member:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.member-photo {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    min-width: 120px;
}

.member-image {
    width: auto;
    height: 100%;
    border-radius: 8px;
    object-fit: contain;
    border: 2px solid var(--border-color);
    max-width: 200px;
}

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.member-role {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
    font-style: italic;
}

.member-story {
    margin-top: 0.5rem;
}

.member-story h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-story p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for About Project */
@media (max-width: 1024px) {
    .about-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about-project-image {
        flex: none;
        max-width: 100%;
        align-self: center;
    }
    
    .about-project-info {
        padding-left: 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .team-member {
        flex-direction: row;
        text-align: left;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .member-photo {
          align-self: stretch;
          flex: 0 0 auto;
          display: flex;
          align-items: stretch;
          min-width: 80px;
      }
      
       .member-image {
           width: auto;
           height: 100%;
           object-fit: contain;
           max-width: 120px;
       }
    
    .member-info {
         gap: 0.5rem;
         text-align: left;
     }
    
    .member-name {
        font-size: 1.25rem;
    }
    
    .member-role {
        font-size: 0.9rem;
    }
    
    .member-description {
        font-size: 0.9rem;
    }
    
    .member-story h5 {
        font-size: 0.9rem;
    }
    
    .member-story p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .about-header {
        gap: 1rem;
    }
    
    .about-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .team-member {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .member-image {
        width: 60px;
        height: 60px;
    }
    
    .member-photo {
          flex: 0 0 auto;
          display: flex;
          align-items: stretch;
          min-width: 60px;
      }
      
      .member-image {
          width: auto;
          height: 100%;
          object-fit: contain;
          max-width: 100px;
      }
     
     .member-info {
         gap: 0.25rem;
         text-align: left;
     }
    
    .member-name {
        font-size: 1rem;
    }
    
    .member-role {
        font-size: 0.8rem;
    }
    
    .member-description {
        font-size: 0.8rem;
    }
    
    .member-story h5 {
        font-size: 0.8rem;
    }
    
    .member-story p {
        font-size: 0.75rem;
    }
}

/* Team Profile Tab Styles */
.team-profile-content {
    padding: 2rem 0;
}

.team-members-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.team-member-profile {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.team-member-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--shadow-color);
    border-color: rgba(255, 215, 0, 0.3);
}

.member-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.member-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.5);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-avatar:hover .avatar-image {
    transform: scale(1.1);
}

.member-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.member-details .member-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.member-details .member-title {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.member-bio {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design for Team Profile */
@media (max-width: 1024px) {
    .team-member-profile {
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
    }
    
    .member-details .member-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .team-profile-content {
        padding: 1.5rem 0;
    }
    
    .team-members-list {
        gap: 1.5rem;
    }
    
    .team-member-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .member-avatar {
        width: 100px;
        height: 100px;
    }
    
    .member-details .member-name {
        font-size: 1.4rem;
    }
    
    .member-bio {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .team-profile-content {
        padding: 1rem 0;
    }
    
    .team-members-list {
        gap: 1rem;
    }
    
    .team-member-profile {
        padding: 1rem;
        gap: 1rem;
    }
    
    .member-avatar {
        width: 80px;
        height: 80px;
        border-width: 2px;
    }
    
    .member-details .member-name {
        font-size: 1.2rem;
    }
    
    .member-details .member-title {
        font-size: 0.9rem;
    }
    
    .member-bio {
         font-size: 0.9rem;
     }
 }

/* Tokenomics Tab Styles */
.tokenomics-content {
    padding: 2rem 0;
}

.tokenomics-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Token Distribution Section */
.token-distribution-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.chart-container {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.legend-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 200px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
}

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

/* Vesting Schedule Section */
.vesting-schedule-section {
    width: 100%;
}

.vesting-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: left;
}

.vesting-table {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.vesting-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.vesting-header-cell {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
}

.vesting-row {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

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

.vesting-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.vesting-cell-label {
    flex: 1;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.vesting-cell-value {
    flex: 1;
    text-align: right;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.vesting-time {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 0.25rem;
}

/* Responsive Design for Tokenomics */
@media (max-width: 1024px) {
    .token-distribution-section {
        flex-direction: column;
        gap: 2rem;
    }
    
    .chart-container {
        width: 250px;
        height: 250px;
    }
    
    .legend-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        min-width: auto;
    }
    
    .legend-item {
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .tokenomics-content {
        padding: 1.5rem 0;
    }
    
    .tokenomics-layout {
        gap: 2rem;
    }
    
    .chart-container {
        width: 220px;
        height: 220px;
    }
    
    .legend-container {
        gap: 0.75rem;
    }
    
    .legend-item {
        min-width: 120px;
        gap: 0.5rem;
    }
    
    .legend-label {
        font-size: 0.9rem;
    }
    
    .vesting-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .vesting-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .vesting-cell-label {
        flex: none;
        font-size: 0.9rem;
    }
    
    .vesting-cell-value {
        flex: none;
        text-align: left;
        font-size: 0.95rem;
    }
    
    .vesting-time {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .tokenomics-content {
        padding: 1rem 0;
    }
    
    .tokenomics-layout {
        gap: 1.5rem;
    }
    
    .chart-container {
        width: 200px;
        height: 200px;
    }
    
    .legend-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .legend-item {
        min-width: auto;
        gap: 0.5rem;
    }
    
    .legend-color {
        width: 14px;
        height: 14px;
    }
    
    .legend-label {
        font-size: 0.85rem;
    }
    
    .vesting-title {
        font-size: 1.2rem;
    }
    
    .vesting-header,
    .vesting-row {
        padding: 0.75rem 1rem;
    }
    
    .vesting-header-cell {
        font-size: 1rem;
    }
    
    .vesting-cell-label {
        font-size: 0.85rem;
    }
    
    .vesting-cell-value {
        font-size: 0.9rem;
    }
    
    .vesting-time {
        font-size: 0.8rem;
    }
}

/* Mission Detail Page Styles */
.mission-detail-page {
    min-height: 100vh;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* Mission Header Section */
.mission-header-section {
    padding: 2rem 0;
}

.mission-header-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.mission-header-content .mission-avatar {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

.mission-header-content .mission-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-info {
    flex: 1;
}

.mission-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
    gap: 1rem;
}

.mission-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
    flex: 1;
}

.mission-timer {
    flex-shrink: 0;
}

.timer-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.mission-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.mission-rules-link {
    margin-top: 1rem;
    display: flex;
    justify-content: end;
}

.rules-link {
    color: #FF6B35;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.rules-link:hover {
    color: #FF8A65;
    text-decoration: underline;
}

.mission-badge-container {
    display: flex;
    gap: 1rem;
}

.mission-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ongoing-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

/* Mission Stats Container */
.mission-stats-container {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    position: relative;
    margin-top: 2rem;
}

.mission-stat-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.mission-stat-item:first-child::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: var(--border-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    /* text-transform: uppercase; */
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Mission Content Layout */
.mission-content-section {
    padding: 2rem 0;
}

.mission-layout {
    display: block;
}

/* Missions List */
.missions-list {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.missions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.missions-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.missions-count {
    font-size: 1.125rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Mission Progress Bar */
.mission-progress-container {
    /* margin-bottom: 2rem; */
    width: 70%;
}

.mission-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-color);
}

.mission-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.mission-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.mission-progress-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
}

/* Mission Items */
.mission-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mission-item:last-child {
    margin-bottom: 0;
}

.mission-item.completed {
    opacity: 0.7;
}

.mission-item.active {
    border-color: var(--accent-color);
    background: rgba(255, 215, 0, 0.05);
}

.mission-item-content {
    flex: 1;
}

.mission-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.mission-item-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.mission-item-status {
    flex-shrink: 0;
    margin-left: 1rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 60px;
    text-align: center;
    display: inline-block;
}

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

.go-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border: 1px solid #FFD700;
}

/* Participants Section */
.participants-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    margin-top: 2rem;
}

.participants-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.participants-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.participants-count {
    font-size: 1.125rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Participants Grid */
.participants-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.participant-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.participant-avatar:hover {
    transform: scale(1.1);
    border-color: var(--accent-color);
}

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

.see-all-link {
    text-align: center;
}

.see-all-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.see-all-link a:hover {
    color: #FFA500;
    text-decoration: underline;
}

/* Responsive Design for Mission Detail */
@media (max-width: 1024px) {
    .mission-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .mission-stats-container {
        justify-content: center;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mission-detail-page {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }
    
    .mission-header-section {
        margin: 1rem 0;
        padding: 1.5rem;
    }
    
    .mission-header-content .mission-avatar {
        width: 60px;
        height: 60px;
    }
    
    .mission-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .mission-title {
        font-size: 1.5rem;
    }
    
    .timer-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
    
    .mission-stats-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .missions-list,
    .participants-section {
        padding: 1.5rem;
    }
    
    .mission-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .mission-item-status {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .participants-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 0.75rem;
    }
    
    .participant-avatar {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .mission-header-section {
        padding: 1rem;
    }
    
    .mission-header-top {
        gap: 0.5rem;
    }
    
    .mission-title {
        font-size: 1.25rem;
    }
    
    .timer-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .mission-description {
        font-size: 0.875rem;
    }
    
    .missions-list,
    .participants-section {
        padding: 1rem;
    }
    
    .mission-item {
        padding: 0.75rem;
    }
    
    .mission-item-title {
        font-size: 1rem;
    }
    
    .mission-item-description {
        font-size: 0.8rem;
    }
    
    .participants-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 0.5rem;
    }
    
    .participant-avatar {
        width: 32px;
        height: 32px;
    }
}