/* USSR Token - Professional Minimal CSS */
:root {
    --primary-gold: #FFD700;
    --dark-gold: #B8860B;
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #555555;
    --border-color: rgba(255, 255, 255, 0.08);
    --success: #4CAF50;
    --danger: #f44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
}

.sphere-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-gold);
    top: -200px;
    left: -200px;
}

.sphere-2 {
    width: 600px;
    height: 600px;
    background: var(--dark-gold);
    bottom: -300px;
    right: -300px;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.logo-badge {
    width: 45px;
    height: 45px;
    position: relative;
}

.logo-svg {
    width: 100%;
    height: 100%;
}

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

.brand-text {
    display: flex;
    flex-direction: column;
}

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

.brand-sub {
    font-size: 0.75rem;
    color: var(--primary-gold);
    letter-spacing: 0.15em;
    font-weight: 500;
}

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

.nav-item {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

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

.nav-social {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-social:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.nav-social svg {
    width: 18px;
    height: 18px;
}

.connect-wallet-btn {
    padding: 0.6rem 1.5rem;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.connect-wallet-btn:hover {
    border-color: var(--text-secondary);
    background: var(--bg-secondary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 2rem 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 100px 100px;
}

.hero-content {
    max-width: 1000px;
    text-align: center;
    z-index: 1;
    position: relative;
}

.hero-badge-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.hero-badge {
    width: 150px;
    height: 150px;
    position: relative;
}

.badge-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--primary-gold);
    border-radius: 50%;
    opacity: 0.2;
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation: ring-pulse 4s infinite ease-out;
}

.ring-2 {
    width: 120%;
    height: 120%;
    animation: ring-pulse 4s infinite ease-out 1s;
}

@keyframes ring-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }
}

.badge-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eagle-icon {
    font-size: 3rem;
    filter: grayscale(20%);
}

.hero-label {
    margin-bottom: 0.5rem;
}

.hero-label span {
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    color: var(--primary-gold);
    font-weight: 600;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

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

.gold-shimmer {
    background: linear-gradient(90deg, var(--primary-gold), var(--dark-gold), var(--primary-gold));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.stat-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

.hero-contract {
    display: inline-block;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.contract-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contract-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contract-box code {
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.copy-btn:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.copy-btn svg {
    width: 16px;
    height: 16px;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-secondary);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.featured {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.02), rgba(255, 215, 0, 0.05));
}

/* Tokenomics */
.tokenomics {
    padding: 80px 0;
    background: var(--bg-primary);
}

.tokenomics-content {
    max-width: 1000px;
    margin: 0 auto;
}

.token-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.token-stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.token-stat-card h3 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.token-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.token-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.token-breakdown {
    max-width: 600px;
    margin: 0 auto;
}

.breakdown-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
}

.breakdown-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.breakdown-label {
    color: var(--text-primary);
    font-weight: 500;
}

.breakdown-value {
    color: var(--primary-gold);
    font-weight: 700;
}

.breakdown-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-primary);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-gold), var(--dark-gold));
    border-radius: 3px;
}

/* Swap Section */
.swap {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.swap-widget {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.widget-header {
    margin-bottom: 2rem;
}

.widget-header h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
}

.swap-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.swap-input-group {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
}

.input-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.input-header span:first-child {
    color: var(--text-secondary);
}

.balance {
    color: var(--text-muted);
}

.input-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.token-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    outline: none;
}

.token-input::placeholder {
    color: var(--text-muted);
}

.token-select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
}

.token-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.swap-direction {
    align-self: center;
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.swap-direction:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.swap-direction svg {
    width: 20px;
    height: 20px;
}

.swap-info {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.85rem;
}

.info-row span:first-child {
    color: var(--text-secondary);
}

.info-row span:last-child {
    color: var(--text-primary);
}

.swap-btn {
    width: 100%;
    margin-top: 1.25rem;
    padding: 1rem;
    background: var(--primary-gold);
    color: var(--bg-primary);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swap-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

/* Charts Section */
.charts {
    padding: 80px 0;
    background: var(--bg-primary);
}

.charts-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.chart-main {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

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

.chart-pair {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.chart-timeframes {
    display: flex;
    gap: 0.5rem;
}

.tf {
    padding: 0.4rem 0.8rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.tf.active {
    background: var(--primary-gold);
    color: var(--bg-primary);
    border-color: var(--primary-gold);
}

.tf:hover:not(.active) {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.chart-body {
    height: 500px;
    background: #0d0d0d;
}

#dexscreener-embed {
    width: 100%;
    height: 100%;
}

.chart-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.price-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
}

.price-current {
    margin-bottom: 1.5rem;
}

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

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.price-change {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.price-change.positive {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success);
}

.price-change.negative {
    background: rgba(244, 67, 54, 0.1);
    color: var(--danger);
}

.price-stats {
    display: grid;
    gap: 0.75rem;
}

.stat {
    padding: 0.75rem;
    background: var(--bg-primary);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

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

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

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-nav,
.footer-socials {
    display: flex;
    gap: 2rem;
}

.footer-nav a,
.footer-socials a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-nav a:hover,
.footer-socials a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.disclaimer {
    margin-top: 0.5rem;
}

/* Secret Easter Egg */
.secret-comrade {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-gold);
    color: var(--bg-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
    z-index: 10000;
    font-size: 1.2rem;
    font-weight: bold;
}

.secret-comrade.active {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .charts-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .token-stats {
        grid-template-columns: 1fr;
    }

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

    .footer-nav,
    .footer-socials {
        flex-direction: column;
        gap: 1rem;
    }
}