/* ============================================
   TROUTCOIN — Premium Memecoin Website
   Futuristic Cyber-Aqua Theme
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-cyan: #00d9ff;
    --secondary-purple: #a855f7;
    --dark-bg: #0a0e27;
    --dark-nav: #0f1535;
    --accent-glow: #00d9ff;
    --text-primary: #ffffff;
    --text-secondary: #b0b9c6;
    --border-color: rgba(0, 217, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ NAVIGATION ============ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 21, 53, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 20px var(--primary-cyan), 0 0 40px var(--secondary-purple);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
        font-size: 0.85rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
}

/* ============ HERO SECTION ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f1835 50%, var(--dark-bg) 100%);
    margin-top: 70px;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-cyan);
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 10px var(--primary-cyan);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
    font-family: 'Orbitron', monospace;
}

.trout-text {
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-purple), var(--primary-cyan));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite;
    filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.6));
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-cyan);
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.2s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    position: relative;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-purple));
    color: var(--dark-bg);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 40px var(--primary-cyan), 0 0 60px var(--secondary-purple);
}

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 40px var(--primary-cyan);
    border-color: var(--primary-cyan);
}

.btn:hover .btn-glow {
    opacity: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary-cyan);
    border-radius: 13px;
    position: relative;
    margin: 0 auto;
}

.mouse::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 6px;
    background: var(--primary-cyan);
    border-radius: 1px;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.5s infinite;
}

@keyframes wheelScroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* ============ SECTIONS GENERAL ============ */
section {
    position: relative;
    padding: 80px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

/* ============ TOKEN INFO SECTION ============ */
.token-info-section {
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.05) 0%, transparent 100%);
    border-top: 1px solid var(--border-color);
}

.token-info-card {
    background: rgba(15, 21, 53, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
}

.contract-row {
    flex-direction: column;
    align-items: flex-start;
}

.info-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    color: var(--primary-cyan);
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
}

.contract-address {
    word-break: break-all;
    font-size: 0.85rem;
}

.divider {
    height: 1px;
    background: var(--border-color);
    width: 100%;
}

.contract-copy {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.copy-btn {
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-purple));
    color: var(--dark-bg);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    box-shadow: 0 0 20px var(--primary-cyan);
    transform: translateY(-2px);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn-small {
    background: transparent;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.copy-btn-small:hover {
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 15px var(--primary-cyan);
}

/* ============ TROUTVERSE SECTION ============ */
.troutverse-section {
    background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.05) 100%);
}

.evolution-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.evolution-progress {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 2px;
    z-index: 0;
}

.evolution-progress::after {
    content: '';
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-cyan), var(--secondary-purple));
    border-radius: 2px;
    width: 0%;
    animation: progressFlow 3s ease-in-out infinite;
}

@keyframes progressFlow {
    0%, 100% {
        width: 25%;
    }
    25% {
        width: 50%;
    }
    50% {
        width: 75%;
    }
    75% {
        width: 100%;
    }
}

.evolution-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 40px 20px 20px;
    position: relative;
    z-index: 1;
}

.stage {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(15, 21, 53, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.stage:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--primary-cyan);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.stage-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.stage:hover .stage-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 10px var(--primary-cyan));
}

.stage-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-cyan);
}

.stage-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.stage-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--dark-nav);
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 8px 16px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.stage:hover .stage-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============ COMMUNITY SECTION ============ */
.community-section {
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.05) 0%, transparent 100%);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.community-card {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05), rgba(168, 85, 247, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.community-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
    transform: translateY(-10px);
}

.community-card:hover::before {
    left: 100%;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.community-card:hover .card-icon {
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 0 10px var(--primary-cyan));
}

.community-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary-cyan);
}

.community-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-arrow {
    display: inline-block;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.community-card:hover .card-arrow {
    transform: translateX(5px);
    color: var(--primary-cyan);
}

/* ============ MEME SECTION ============ */
.meme-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 217, 255, 0.05) 100%);
}

.meme-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto 60px;
    height: 300px;
}

.meme-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(168, 85, 247, 0.1));
    border: 2px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100px) rotateY(45deg);
    transition: all 0.5s ease;
    pointer-events: none;
}

.meme-card.active {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
    pointer-events: auto;
    z-index: 10;
}

.meme-card.prev {
    transform: translateX(-100px) rotateY(-45deg);
}

.meme-content {
    text-align: center;
    padding: 40px;
}

.meme-text {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.4;
}

.meme-quote {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-style: italic;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.carousel-btn {
    background: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.carousel-btn:hover {
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 20px var(--primary-cyan);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 217, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: var(--primary-cyan);
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 15px var(--primary-cyan);
}

.dot:hover {
    background: var(--primary-cyan);
    transform: scale(1.2);
}

/* ============ FOOTER ============ */
.footer {
    background: linear-gradient(180deg, transparent 0%, rgba(15, 21, 53, 0.8) 100%);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    color: var(--primary-cyan);
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    word-break: break-all;
}

.contract-footer {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.footer-disclaimer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============ TOAST NOTIFICATION ============ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: linear-gradient(135deg, var(--primary-cyan), var(--secondary-purple));
    color: var(--dark-bg);
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 2000;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 80px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .token-info-card {
        padding: 30px 20px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contract-copy {
        width: 100%;
        flex-direction: column;
    }
    
    .copy-btn {
        width: 100%;
        justify-content: center;
    }
    
    .evolution-stages {
        grid-template-columns: 1fr;
        padding: 60px 10px 20px;
    }
    
    .stage-tooltip {
        position: static;
        opacity: 1;
        transform: none;
        display: none;
    }
    
    .stage:active .stage-tooltip {
        display: block;
        position: absolute;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-controls {
        gap: 20px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        margin-top: 20px;
    }
    
    .hero-buttons {
        gap: 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        margin-bottom: 40px;
        font-size: 1rem;
    }
    
    .token-info-card {
        padding: 20px 15px;
    }
    
    .info-row {
        padding: 15px 0;
    }
    
    .meme-card {
        height: 250px;
    }
    
    .meme-content {
        padding: 30px 20px;
    }
    
    .meme-text {
        font-size: 1.3rem;
    }
    
    .carousel-dots {
        gap: 8px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 24px;
    }
    
    section {
        padding: 50px 0;
    }
}
