/* Base Theme */
:root {
    --primary: #F2C94C;
    --primary-dark: #0052CC;
    --secondary: #F2C94C;
    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
    --background: #F8F9FA;
    --background-dark: #0a0b1e;
    --border-color: #E5E7EB;
    --white: #FFFFFF;
    --success: #27AE60;
    --warning: #F2C94C;
    --error: #EB5757;
    --primary-color: #00ff88;
    --secondary-color: #ff00ff;
    --text-light: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --accent-glow: #00ff88;
    --card-bg: rgba(13, 15, 25, 0.8);
    --gradient-1: linear-gradient(135deg, #00ff88 0%, #00bcd4 100%);
    --gradient-2: linear-gradient(45deg, #ff00ff 0%, #00ff88 100%);
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    --header-height: 70px;
    --background-light: #F9FAFB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-family: 'Public Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
}

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    background: #fff;
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    flex-direction: column;
}

.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
}

.nav-bottom {
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

.connect-wallet {
    background: var(--background-light);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.connect-wallet:hover {
    background: #F3F4F6;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
}

/* Main Content Styles */
.container {
    max-width: 1400px;
    margin: var(--header-height) auto 0;
    padding: 2rem;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    filter: brightness(0.95);
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .performers-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-bottom {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    position: relative;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Section Titles */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: left;
    color: var(--text-light);
}

/* Top Performers Section */
.top-performers {
    padding: 4rem 0;
}

.performers-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    max-width: 600px;
    margin-left: 0;
}

.performer-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: left;
}

.performer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.performer-card.gold::before { background: var(--gold); }
.performer-card.silver::before { background: var(--silver); }
.performer-card.bronze::before { background: var(--bronze); }

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

.performer-card .rank {
    font-size: 1.5rem;
    margin-right: 1.5rem;
    min-width: 40px;
}

.performer-card .name {
    font-size: 1.1rem;
    font-weight: 500;
    flex-grow: 1;
}

.performer-card .profit {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-left: auto;
}

/* View Full Leaderboard Button */
.btn-secondary.view-leaderboard {
    display: inline-block;
    margin-top: 1.5rem;
    background: transparent;
    border: 1px solid var(--text-dim);
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-secondary.view-leaderboard:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
}

/* Market Activity Section */
.market-activity {
    padding: 4rem 0;
}

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

.risk-meter {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.risk-bar {
    width: 200px;
    height: 8px;
    background: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
}

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

/* Game Mechanics Section */
.game-mechanics {
    margin-top: 4rem;
}

.mechanics-tabs {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 1rem;
}

.tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-content {
    padding: 1rem;
    text-align: left;
}

.tab-pane {
    display: none;
}

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

.tab-pane h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.tab-pane p {
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 600px;
}

/* Call to Action Section */
.call-to-action {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gradient-2);
    margin-top: 4rem;
    border-radius: 15px;
}

.call-to-action h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.call-to-action p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer Styles */
.site-footer {
    background: var(--card-bg);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.footer-section h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.footer-section a {
    color: var(--text-dim);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
}

/* Animation Classes */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.pulse-effect {
    animation: pulse 2s infinite;
}

.glow-effect {
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Background Animation */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0,255,136,0.1) 0%, rgba(10,11,30,1) 70%);
    z-index: -2;
}

.graph-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(45deg, rgba(0,255,136,0.05) 25%, transparent 25%),
                      linear-gradient(-45deg, rgba(0,255,136,0.05) 25%, transparent 25%);
    background-size: 60px 60px;
    animation: moveBackground 20s linear infinite;
    z-index: -1;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

/* Notes page specific styles */
.notes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

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

.create-note-btn {
    background: var(--primary);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.create-note-btn:hover {
    background: #E6BE45;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay[style*="display: flex"] {
    opacity: 1;
}

.modal {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay[style*="display: flex"] .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.modal-title {
    font-size: 20px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 14px;
    line-height: 1.5;
}

.note-types-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.note-type-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.2s;
}

.note-type-card:hover {
    border-color: var(--primary);
}

.note-type-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.note-type-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.note-type-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 1rem;
}

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

.select-button {
    background: var(--primary);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.select-button:hover {
    background: #E6BE45;
} 