/* ============================================
   TONSKI - Advanced Adventure Website
   Black & Gold Theme
   ============================================ */

:root {
    --gold-primary: #FFD700;
    --gold-secondary: #FFA500;
    --gold-dark: #B8860B;
    --black-primary: #000000;
    --black-secondary: #0a0a0a;
    --black-tertiary: #1a1a1a;
    --gray-dark: #2a2a2a;
    --text-gold: #FFD700;
    --text-light: #f5f5f5;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--black-primary);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.1);
}

.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

.nav-backdrop.active {
    display: block;
}

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

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

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    object-fit: cover;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 20px var(--gold-primary);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold-primary);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold-primary);
    transition: all 0.3s ease;
    display: block;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--gold-primary);
}

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

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    z-index: 0;
}

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

.hero-background.video-failed {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
}

.hero-background.video-failed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    pointer-events: none;
    filter: brightness(0.85) contrast(1.1) saturate(0.6) hue-rotate(40deg) sepia(0.2);
}

@media (max-width: 768px) {
    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 2rem;
    animation: fadeInUp 1s ease-out;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   Goat Animation
   ============================================ */

.goat-animation {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: goatFloat 4s ease-in-out infinite;
}

.goat-svg {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4));
    transition: transform 0.3s ease;
}

.goat-svg:hover {
    transform: scale(1.05);
}

.goat-body {
    animation: goatBodyBounce 2s ease-in-out infinite;
    transform-origin: center;
}

.goat-head {
    animation: goatHeadNod 3s ease-in-out infinite;
    transform-origin: center bottom;
}

.goat-neck {
    animation: goatNeckMove 3.5s ease-in-out infinite;
    transform-origin: center bottom;
}

.goat-beard {
    animation: goatBeardSway 2s ease-in-out infinite;
    transform-origin: center top;
}

.goat-ear-left {
    animation: goatEarLeft 2.5s ease-in-out infinite;
    transform-origin: 85px 50px;
}

.goat-ear-right {
    animation: goatEarRight 2.5s ease-in-out infinite;
    transform-origin: 155px 50px;
}

.goat-eye-left,
.goat-eye-right {
    animation: goatBlink 3s ease-in-out infinite;
}

.goat-tail {
    animation: goatTailWag 1.5s ease-in-out infinite;
    transform-origin: center;
}

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

@keyframes goatBodyBounce {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.05);
    }
}

@keyframes goatHeadNod {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-2deg);
    }
    75% {
        transform: rotate(2deg);
    }
}

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

@keyframes goatBeardSway {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(2px);
    }
}

@keyframes goatEarLeft {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1) rotate(-2deg);
    }
}

@keyframes goatEarRight {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1) rotate(2deg);
    }
}

@keyframes goatBlink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    92%, 98% {
        transform: scaleY(0.1);
    }
}

@keyframes goatTailWag {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

.hero-logo-container {
    position: relative;
    margin-bottom: 2rem;
    display: inline-block;
}

.hero-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--gold-primary);
    object-fit: cover;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.6),
                0 0 100px rgba(255, 215, 0, 0.4);
    animation: pulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
    z-index: 1;
}

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

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    margin: 0 0 1rem;
    line-height: 1.1;
    padding: 0 1rem;
    color: var(--gold-primary);
    letter-spacing: 0.05em;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

.title-line {
    display: inline;
    color: var(--gold-primary);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.8);
    margin: 1rem 0 1rem;
    letter-spacing: 2px;
    animation: fadeIn 1.5s ease-out;
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 1.5rem;
    padding: 0 1.5rem;
    letter-spacing: 0.5px;
    animation: fadeIn 1.5s ease-out;
    max-width: 700px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-cta {
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.cta-button {
    position: relative;
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    color: var(--black-primary);
    background: var(--gold-primary);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    width: 100%;
    max-width: 280px;
    border-radius: 4px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
    background: var(--gold-secondary);
}

.cta-button:active {
    transform: translateY(-1px);
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    transition: width 0.3s ease, height 0.3s ease;
}

.cta-button:hover .button-glow {
    width: 300px;
    height: 300px;
}

/* ============================================
   Contract Address
   ============================================ */

.contract-address {
    margin-top: 1.5rem;
    padding: 0 1rem;
    animation: fadeIn 2.5s ease-out;
}

.contract-label {
    font-size: 0.85rem;
    color: rgba(255, 215, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
}

.contract-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.contract-value:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.contract-text {
    font-family: 'Rajdhani', monospace;
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    color: var(--gold-primary);
    letter-spacing: 1px;
    word-break: break-all;
    text-align: center;
    flex: 1;
}

.copy-button {
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--gold-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.copy-button:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold-primary);
    transform: scale(1.1);
}

.copy-button:active {
    transform: scale(0.95);
}

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

.copy-button.copied {
    background: var(--gold-primary);
    color: var(--black-primary);
    border-color: var(--gold-primary);
}

.copy-button.copied svg {
    color: var(--black-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: clamp(1.5rem, 4rem, 5rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator:active {
    transform: translateX(-50%) translateY(-2px);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gold-primary);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* ============================================
   Story Section
   ============================================ */

.story {
    position: relative;
    padding: 8rem 2rem;
    background: var(--black-secondary);
    overflow: hidden;
}

.story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 0 auto;
    box-shadow: 0 0 10px var(--gold-primary);
}

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

.story-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--black-tertiary);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.story-card:hover::before {
    left: 100%;
}

.story-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.15);
}

.reveal-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-card[data-reveal="left"] {
    transform: translateX(-100px);
}

.reveal-card[data-reveal="left"].revealed {
    transform: translateX(0);
}

.reveal-card[data-reveal="right"] {
    transform: translateX(100px);
}

.reveal-card[data-reveal="right"].revealed {
    transform: translateX(0);
}

.card-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 215, 0, 0.1);
    position: absolute;
    top: 1rem;
    right: 1rem;
    line-height: 1;
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.card-hint {
    display: none;
}

/* ============================================
   Journey Section
   ============================================ */

.journey {
    position: relative;
    padding: 8rem 2rem;
    background: var(--black-primary);
    overflow: hidden;
}

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

.journey-item {
    position: relative;
    padding: 3rem 2rem;
    background: var(--black-tertiary);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 4rem;
}

.journey-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.journey-item:hover::before {
    transform: translate(-50%, -50%) scale(2);
}

.journey-item:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--gold-primary);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

.journey-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-icon {
    width: 80px;
    height: 80px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Launch Icon - Rocket Shape */
.journey-icon-launch {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    clip-path: polygon(50% 0%, 0% 100%, 25% 100%, 25% 80%, 75% 80%, 75% 100%, 100% 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.journey-icon-launch::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20%;
    width: 20px;
    height: 20px;
    background: var(--gold-secondary);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.journey-icon-launch::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20%;
    width: 20px;
    height: 20px;
    background: var(--gold-secondary);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Growth Icon - Expanding Circles */
.journey-icon-growth {
    background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.journey-icon-growth::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.journey-icon-growth::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Innovation Icon - Lightning Bolt */
.journey-icon-innovation {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    clip-path: polygon(30% 0%, 50% 30%, 40% 30%, 60% 100%, 50% 70%, 60% 70%, 40% 70%, 30% 0%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transform: rotate(-15deg);
}

.journey-icon-innovation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-secondary) 0%, var(--gold-primary) 100%);
    clip-path: polygon(30% 0%, 50% 30%, 40% 30%, 60% 100%, 50% 70%, 60% 70%, 30% 0%);
    opacity: 0.5;
    filter: blur(5px);
}

/* Legacy Icon - Crown Shape */
.journey-icon-legacy {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    clip-path: polygon(20% 60%, 30% 20%, 50% 40%, 70% 20%, 80% 60%, 50% 80%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.journey-icon-legacy::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.journey-item:hover .journey-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8));
}

.journey-item:hover .journey-icon-innovation {
    transform: scale(1.15) rotate(-10deg);
}

.journey-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255, 215, 0, 0.2);
    line-height: 1;
    z-index: 1;
}

.journey-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.journey-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.journey-hint {
    display: none;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.journey-item:hover .card-overlay {
    opacity: 1;
}

/* ============================================
   Community Section
   ============================================ */

.community {
    position: relative;
    padding: 8rem 2rem;
    background: var(--black-secondary);
    overflow: hidden;
}

.community-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.community-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-text.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

.social-link {
    position: relative;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: var(--black-tertiary);
}

.social-link::before {
    content: attr(data-hover);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--gold-primary);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link span {
    transition: opacity 0.3s ease;
}

.social-link:hover span {
    opacity: 0;
}

.social-link:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

.link-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: width 0.3s ease, height 0.3s ease;
}

.social-link:hover .link-glow {
    width: 200px;
    height: 200px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 3rem 2rem;
    background: var(--black-primary);
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-contract {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-contract-label {
    color: rgba(255, 215, 0, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contract-address {
    color: var(--gold-primary);
    font-family: 'Rajdhani', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    word-break: break-all;
}

/* ============================================
   Modals
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background: var(--black-tertiary);
    padding: 3rem;
    border: 2px solid var(--gold-primary);
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    height: 120px;
}

.modal-icon {
    width: 100px;
    height: 100px;
    position: relative;
    animation: modalIconPulse 2s ease-in-out infinite;
}

.modal-icon-launch {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    clip-path: polygon(50% 0%, 0% 100%, 25% 100%, 25% 80%, 75% 80%, 75% 100%, 100% 100%);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.modal-icon-launch::before,
.modal-icon-launch::after {
    content: '';
    position: absolute;
    bottom: -15px;
    width: 25px;
    height: 25px;
    background: var(--gold-secondary);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.modal-icon-launch::before {
    left: 20%;
}

.modal-icon-launch::after {
    right: 20%;
}

.modal-icon-growth {
    background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.modal-icon-growth::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.modal-icon-growth::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.modal-icon-innovation {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    clip-path: polygon(30% 0%, 50% 30%, 40% 30%, 60% 100%, 50% 70%, 60% 70%, 40% 70%, 30% 0%);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    transform: rotate(-15deg);
}

.modal-icon-innovation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-secondary) 0%, var(--gold-primary) 100%);
    clip-path: polygon(30% 0%, 50% 30%, 40% 30%, 60% 100%, 50% 70%, 60% 70%, 40% 70%, 30% 0%);
    opacity: 0.5;
    filter: blur(8px);
}

.modal-icon-legacy {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    clip-path: polygon(20% 60%, 30% 20%, 50% 40%, 70% 20%, 80% 60%, 50% 80%);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.modal-icon-legacy::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.9);
}

@keyframes modalIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.modal-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.modal-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.modal-footer {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 215, 0, 0.6);
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: var(--gold-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.2);
    color: var(--gold-secondary);
    background: rgba(255, 215, 0, 0.1);
}

/* ============================================
   Animations
   ============================================ */

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Design
   ============================================ */

/* ============================================
   Responsive Design
   ============================================ */

@media (min-width: 1025px) {
    .hero-content {
        padding: 3rem 2rem;
    }
    
    .hero-title {
        margin: 0 0 1rem;
    }
    
    .hero-description {
        margin: 0 auto 1.5rem;
    }
    
    .hero-cta {
        margin-top: 1.5rem;
    }
    
    .scroll-indicator {
        bottom: 2rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        padding: 1.5rem;
    }
    
    .journey-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .journey-item {
        min-height: 320px;
        padding: 2.5rem 1.5rem;
    }
    
    .journey-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .journey-icon {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        padding: 1rem 1.5rem;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .logo-text {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        border-left: 2px solid rgba(255, 215, 0, 0.2);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        width: 100%;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        padding-left: 1rem;
        border-left: 3px solid var(--gold-primary);
    }

    .hero {
        min-height: 100vh;
        padding: 80px 0 40px;
    }

    .hero-content {
        padding: 1rem;
    }

    .goat-animation {
        margin-bottom: 2rem;
    }

    .goat-svg {
        width: 150px;
        height: 150px;
    }

    .hero-title {
        margin: 1.5rem 0 1rem;
        padding: 0 0.5rem;
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .hero-description {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        margin-top: 1.5rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        max-width: 100%;
    }

    .contract-address {
        margin-top: 2rem;
    }

    .contract-value {
        padding: 0.8rem 1rem;
        flex-direction: column;
        gap: 0.8rem;
    }

    .contract-text {
        font-size: 0.7rem;
    }

    .copy-button {
        align-self: center;
    }

    .scroll-indicator {
        bottom: 1.5rem;
    }

    .mouse {
        width: 25px;
        height: 40px;
    }

    .section-container {
        padding: 0 1rem;
    }

    .story,
    .journey,
    .community {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .story-content,
    .journey-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .story-card {
        padding: 2rem 1.5rem;
    }

    .journey-item {
        min-height: 300px;
        padding: 2.5rem 1.5rem;
        padding-top: 3.5rem;
    }

    .journey-icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .journey-icon {
        width: 55px;
        height: 55px;
    }

    .journey-number {
        top: 1rem;
        right: 1rem;
        font-size: 1.2rem;
    }

    .journey-title {
        font-size: 1.3rem;
    }

    .journey-desc {
        font-size: 0.95rem;
    }

    .community-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .social-link {
        width: 100%;
        max-width: 300px;
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
        margin: 1rem;
    }

    .modal-icon-wrapper {
        height: 100px;
        margin-bottom: 1.5rem;
    }

    .modal-icon {
        width: 80px;
        height: 80px;
    }

    .modal-content h3 {
        font-size: 1.5rem;
    }

    .modal-content p {
        font-size: 1rem;
    }

    .footer-contract {
        flex-direction: column;
        gap: 0.3rem;
    }

    .footer-contract-address {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.85rem;
    }

    .hero-title {
        margin: 0.8rem 0;
    }

    .title-line.highlight {
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 0 0.8rem;
    }

    .cta-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .story-card,
    .journey-item {
        padding: 1.5rem 1rem;
    }

    .journey-item {
        padding-top: 3rem;
        min-height: 280px;
    }

    .journey-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .journey-icon {
        width: 50px;
        height: 50px;
    }

    .card-number {
        font-size: 3rem;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .card-text {
        font-size: 1rem;
    }

    .goat-svg {
        width: 120px;
        height: 120px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin: 1rem 0 0.8rem;
    }

    .contract-address {
        margin-top: 1.5rem;
    }

    .contract-value {
        padding: 0.7rem 0.8rem;
    }

    .contract-text {
        font-size: 0.65rem;
    }

    .footer-contract-address {
        font-size: 0.7rem;
    }
}

/* ============================================
   Parallax Effects
   ============================================ */

.parallax-element {
    will-change: transform;
}

/* ============================================
   Page Loader
   ============================================ */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
    position: relative;
}

.loader-logo {
    margin-bottom: 2rem;
    animation: loaderLogoFloat 2s ease-in-out infinite;
}

.loader-logo-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--gold-primary);
    object-fit: cover;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.6),
                0 0 80px rgba(255, 215, 0, 0.3);
    animation: loaderLogoPulse 2s ease-in-out infinite;
}

.loader-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold-primary);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    letter-spacing: 8px;
    margin-bottom: 3rem;
    animation: loaderTextGlow 2s ease-in-out infinite;
}

.loader-spinner {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: loaderSpin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    animation-duration: 1.5s;
    border-top-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.spinner-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    animation-duration: 1.2s;
    animation-direction: reverse;
    border-top-color: var(--gold-secondary);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.4);
}

.spinner-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    animation-duration: 1s;
    border-top-color: var(--gold-dark);
    box-shadow: 0 0 10px rgba(184, 134, 11, 0.3);
}

.loader-progress {
    width: 300px;
    height: 4px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.loader-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.3), 
        transparent);
    animation: loaderShimmer 2s ease-in-out infinite;
}

.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    border-radius: 2px;
    box-shadow: 0 0 10px var(--gold-primary);
    animation: loaderProgress 2s ease-in-out infinite;
}

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

@keyframes loaderLogoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.6),
                    0 0 80px rgba(255, 215, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 60px rgba(255, 215, 0, 0.8),
                    0 0 120px rgba(255, 215, 0, 0.5);
    }
}

@keyframes loaderTextGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8),
                     0 0 40px rgba(255, 215, 0, 0.4);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 215, 0, 1),
                     0 0 60px rgba(255, 215, 0, 0.6),
                     0 0 90px rgba(255, 215, 0, 0.3);
    }
}

@keyframes loaderSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loaderShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes loaderProgress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .loader-logo-img {
        width: 100px;
        height: 100px;
    }
    
    .loader-text {
        font-size: 2rem;
        letter-spacing: 5px;
    }
    
    .loader-spinner {
        width: 80px;
        height: 80px;
    }
    
    .loader-progress {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .loader-logo-img {
        width: 80px;
        height: 80px;
    }
    
    .loader-text {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }
    
    .loader-spinner {
        width: 60px;
        height: 60px;
    }
    
    .loader-progress {
        width: 200px;
    }
}

/* ============================================
   Scroll Progress Indicator
   ============================================ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-secondary));
    z-index: 1001;
    box-shadow: 0 0 10px var(--gold-primary);
    transition: width 0.1s ease;
}

