/* ========================================
   GLOBAL STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #4FC3F7;
    --dark-bg: #0a0e27;
    --light-bg: #f5f5f5;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --gold: #FFD700;
    --green: #00ff88;
}

body {
    font-family: 'Comic Sans MS', 'Arial', sans-serif;
    color: var(--text-dark);
    background: var(--light-bg);
    overflow-x: hidden;
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    background: var(--primary-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    padding: 5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-chart {
    background: var(--white);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-chart:hover {
    background: var(--gold);
    color: var(--text-dark);
}

.btn-social {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.btn-social:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* ========================================
   HERO SECTION (Homepage)
======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #81D4FA 100%);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(255,255,255,0.05) 50px,
        rgba(255,255,255,0.05) 100px
    );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, -50%); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    text-shadow: 4px 4px 0px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: 2px;
}

.ticker {
    background: var(--white);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 30px;
    border: 3px solid var(--text-dark);
}

.hero-description {
    color: var(--white);
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contract-box {
    background: var(--white);
    border: 3px solid var(--text-dark);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.contract-label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contract-input {
    display: flex;
    gap: 10px;
}

.contract-input input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--text-dark);
    border-radius: 8px;
    font-family: monospace;
    font-size: 14px;
}

.btn-copy {
    background: var(--primary-blue);
    color: var(--white);
    border: 3px solid var(--text-dark);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-copy:hover {
    background: var(--gold);
    color: var(--text-dark);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-nest, .btn-buy {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    border: 3px solid var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.btn-nest {
    background: var(--gold);
    color: var(--text-dark);
}

.btn-nest:hover {
    background: var(--white);
    transform: scale(1.05);
}

.btn-buy {
    background: var(--white);
    color: var(--text-dark);
}

.btn-buy:hover {
    background: var(--text-dark);
    color: var(--white);
}

.nest-icon {
    font-size: 1.5rem;
}

.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-card {
    position: absolute;
    background: var(--white);
    border: 3px solid var(--text-dark);
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
}

.float-card.left {
    top: 20%;
    left: -50px;
}

.float-card.right {
    bottom: 20%;
    right: -50px;
}

.card-icon {
    font-size: 2rem;
}

.card-text {
    font-weight: bold;
    font-size: 0.9rem;
}

.card-text span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
}

/* ========================================
   STATS SECTION
======================================== */
.stats {
    background: var(--text-dark);
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* ========================================
   PAGE SECTIONS
======================================== */
.page-section {
    padding: 80px 20px;
    min-height: calc(100vh - 80px);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-size: 4rem;
    color: var(--text-dark);
    text-shadow: 3px 3px 0px var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 900;
}

.page-title.centered {
    text-align: center;
}

.page-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

.page-subtitle.centered {
    text-align: center;
}

/* ========================================
   ABOUT PAGE
======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    animation: float 3s ease-in-out infinite;
}

.about-text {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid var(--text-dark);
    box-shadow: 8px 8px 0px rgba(0,0,0,0.1);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-text h3 {
    color: var(--primary-blue);
    margin: 30px 0 15px;
    font-size: 1.5rem;
}

.about-text ul {
    list-style: none;
    padding-left: 0;
}

.about-text ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.about-text ul li:before {
    content: '🥚';
    position: absolute;
    left: 0;
}

.cta-box {
    background: var(--primary-blue);
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
}

.cta-box h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.btn-primary {
    background: var(--gold);
    color: var(--text-dark);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    border: 3px solid var(--text-dark);
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--white);
    transform: scale(1.05);
}

/* ========================================
   HOW TO BUY PAGE
======================================== */
.steps-container {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    background: var(--white);
    border: 3px solid var(--text-dark);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: start;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    border: 3px solid var(--text-dark);
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

.btn-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-link:hover {
    color: var(--gold);
}

.exchange-logos {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.exchange-logos span {
    background: var(--light-bg);
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid var(--text-dark);
    font-size: 0.9rem;
    font-weight: bold;
}

.contract-box-small {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.contract-box-small input {
    flex: 1;
    padding: 10px;
    border: 2px solid var(--text-dark);
    border-radius: 8px;
    font-family: monospace;
    font-size: 12px;
}

.btn-copy-small {
    background: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--text-dark);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.warning-box {
    background: #FFF3CD;
    border: 3px solid #FFC107;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    font-size: 1.1rem;
}

/* ========================================
   HOW IT WORKS PAGE
======================================== */
.mechanism-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.mech-image {
    width: 100%;
    max-width: 400px;
    animation: float 3s ease-in-out infinite;
}

.mechanism-steps {
    display: grid;
    gap: 25px;
}

.mech-step {
    background: var(--white);
    border: 3px solid var(--text-dark);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: start;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
}

.mech-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.mech-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.mech-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.info-box {
    background: var(--primary-blue);
    color: var(--white);
    padding: 30px;
    border-radius: 15px;
    border: 3px solid var(--text-dark);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.2);
}

.info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.info-box p {
    line-height: 1.6;
}

.nest-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #81D4FA 100%);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    border: 3px solid var(--text-dark);
}

.nest-cta h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.nest-cta p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 30px;
}

.btn-nest-large {
    background: var(--gold);
    color: var(--text-dark);
    padding: 20px 50px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.3rem;
    text-decoration: none;
    border: 3px solid var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.btn-nest-large:hover {
    background: var(--white);
    transform: scale(1.05);
}

.nest-icon-large {
    font-size: 2rem;
}

/* ========================================
   NEST ENTRANCE PAGE
======================================== */
.nest-entrance {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #81D4FA 100%);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.nest-container {
    text-align: center;
    max-width: 800px;
}

.nest-goose {
    width: 300px;
    animation: float 3s ease-in-out infinite;
    margin-bottom: 30px;
}

.nest-title {
    font-size: 3.5rem;
    color: var(--white);
    text-shadow: 4px 4px 0px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    font-weight: 900;
}

.nest-description {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 40px;
}

.nest-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.nest-feature {
    background: var(--white);
    border: 3px solid var(--text-dark);
    border-radius: 15px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.feature-icon {
    font-size: 1.5rem;
}

.btn-enter-nest {
    background: var(--gold);
    color: var(--text-dark);
    padding: 25px 60px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.5rem;
    border: 4px solid var(--text-dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.3);
}

.btn-enter-nest:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 12px 12px 0px rgba(0,0,0,0.3);
}

.pulse-icon {
    font-size: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.arrow {
    font-size: 2rem;
}

.nest-note {
    color: var(--white);
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .float-card {
        display: none;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .mechanism-container {
        grid-template-columns: 1fr;
    }
    
    .info-boxes {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .nest-features {
        flex-direction: column;
    }
}
