/* ============================================
   MEMECOIN LANDING PAGE — STYLES
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Color Palette — dark + fiery orange/gold from NUKE COIN logo */
    --bg-outer: #0d0d0d;
    /* Near-black outer background */
    --bg-main: #111111;
    /* Dark main container */
    --bg-card: #1a1a1a;
    /* Darker card background */
    --bg-card-alt: #252525;
    /* Slightly lighter card */
    --bg-hero: #111111;
    /* Hero background */

    --text-primary: #f0e8d8;
    /* Light cream text */
    --text-secondary: #a09888;
    /* Muted warm text */
    --text-heading: #f5f0e0;
    /* Heading text */
    --text-dark: #0d0d0d;
    /* Dark text on light backgrounds */

    --accent-yellow: #e8a020;
    /* Orange/amber accent */
    --accent-yellow-hover: #f0b830;
    /* Lighter gold on hover */

    --border-color: #2a2a2a;
    /* Subtle border */
    --border-light: #3a3a3a;
    /* Lighter border */

    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --container-padding: 24px;
    --section-gap: 48px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 100px;
}


/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-outer);
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    cursor: pointer;
    background: none;
    font-family: inherit;
}


/* ===== PAGE WRAPPER ===== */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(ellipse at center top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.main-container {
    width: 100%;
    max-width: 720px;
    background-color: rgba(17, 17, 17, 0.92);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 160, 32, 0.08);
}


/* ===== DECORATIVE MOUNTAIN SHAPES (behind hero) ===== */
.main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 380px;
    background:
        /* Center tall mountain */
        conic-gradient(from 225deg at 50% 100%, #1a1510 0deg, #1a1510 90deg, transparent 90deg) no-repeat center top / 200px 280px,
        /* Left mountain */
        conic-gradient(from 225deg at 50% 100%, #161210 0deg, #161210 90deg, transparent 90deg) no-repeat 10% top / 260px 220px,
        /* Right mountain */
        conic-gradient(from 225deg at 50% 100%, #161210 0deg, #161210 90deg, transparent 90deg) no-repeat 90% top / 220px 200px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}


/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px var(--container-padding);
    position: relative;
    z-index: 10;
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-icon-btn:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.08);
}

.btn-buy {
    padding: 8px 20px;
    background-color: var(--text-primary);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
    border: 2px solid var(--text-primary);
}

.btn-buy:hover {
    background-color: transparent;
    color: var(--text-primary);
}

.nav-hamburger {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background-color: var(--text-primary);
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.nav-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-hamburger:hover {
    background-color: var(--accent-yellow);
}


/* ===== HERO SECTION ===== */
.hero {
    text-align: center;
    padding: 60px var(--container-padding) 20px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 5.5rem);
    font-weight: 400;
    line-height: 1;
    color: var(--text-heading);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto 28px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--accent-yellow);
    transition: all 0.25s ease;
    letter-spacing: -0.01em;
}

.btn-primary:hover {
    background-color: var(--accent-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 160, 32, 0.3);
}

.btn-primary-dark {
    background-color: var(--text-primary);
    color: var(--text-dark);
    border-color: var(--text-primary);
}

.btn-primary-dark:hover {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    box-shadow: 0 6px 20px rgba(232, 160, 32, 0.2);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.btn-link:hover {
    color: var(--text-primary);
}

.btn-link span {
    font-size: 1.1rem;
}


/* ===== TOKEN ADDRESS BAR ===== */
.token-address-bar {
    padding: 20px var(--container-padding);
    position: relative;
    z-index: 2;
}

.token-address-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 10px 16px;
    font-size: 0.75rem;
    overflow: hidden;
}

.token-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

.token-address {
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.btn-copy {
    color: var(--text-secondary);
    flex-shrink: 0;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    position: relative;
}

.btn-copy:hover {
    color: var(--accent-yellow);
    background-color: rgba(255, 255, 255, 0.08);
}

.btn-copy.copied {
    color: #66bb6a;
}

.btn-copy .copy-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-dark);
    color: var(--accent-yellow);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.btn-copy.copied .copy-tooltip {
    opacity: 1;
}


/* ===== GET IT NOW ON SECTION ===== */
.get-it-section {
    padding: 10px var(--container-padding) 40px;
    position: relative;
    z-index: 2;
}

.get-it-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px 32px;
}

.get-it-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.sparkle {
    color: var(--accent-yellow);
    display: inline-block;
    animation: sparkleRotate 3s ease-in-out infinite;
}

@keyframes sparkleRotate {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

.wallet-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.wallet-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-light);
    background: var(--bg-card-alt);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.wallet-btn:hover {
    transform: scale(1.15);
    border-color: var(--accent-yellow);
    box-shadow: 0 4px 20px rgba(232, 160, 32, 0.35);
}

.wallet-btn:active {
    transform: scale(0.95);
}


/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 40px var(--container-padding) 50px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 400;
    color: var(--text-heading);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

/* Individual about cards */
.about-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* 2-column grid inside cards */
.about-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.about-card-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-card-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 4px;
}

.about-card-text p {
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.about-card-text p strong {
    color: var(--accent-yellow);
    font-weight: 600;
}

/* Image inside cards */
.about-card-image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.about-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform 0.4s ease;
}

.about-card-image:hover img {
    transform: scale(1.05);
}

/* Full-width content card (no image) */
.about-card-content-full {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-card-content-full .about-card-heading {
    margin-bottom: 4px;
}

.about-card-content-full p {
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.about-card-content-full p strong {
    color: var(--accent-yellow);
    font-weight: 600;
}


/* ===== ANIMATIONS ===== */

/* Fade-in on scroll */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gentle float animation */
@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.float-animation {
    animation: gentleFloat 4s ease-in-out infinite;
}

/* Pulse glow for CTA buttons */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(232, 160, 32, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 6px rgba(232, 160, 32, 0.15);
    }
}

.btn-primary {
    animation: pulseGlow 3s ease-in-out infinite;
}

.btn-primary:hover {
    animation: none;
}


/* ===== RESPONSIVE ===== */

/* Tablet & small desktop */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 10px;
    }

    .main-container {
        border-radius: var(--radius-lg);
    }

    .hero {
        padding-top: 40px;
        padding-bottom: 16px;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .about-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-card {
        padding: 22px;
    }

    .about-card-image {
        max-height: 280px;
    }

    .about-card-image img {
        max-height: 280px;
    }

    .get-it-card {
        padding: 28px 20px 24px;
    }

    .get-it-title {
        font-size: 2rem;
    }

    .wallet-buttons {
        gap: 16px;
    }

    .wallet-btn {
        width: 56px;
        height: 56px;
    }
}

/* Hide nav icons on phones */
@media (max-width: 560px) {
    .nav-icons {
        display: none;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .page-wrapper {
        padding: 4px;
    }

    .main-container {
        border-radius: var(--radius-md);
    }

    /* Navbar: keep logo + Buy + hamburger */

    .navbar {
        padding: 12px 16px;
    }

    .nav-logo-img {
        height: 38px;
    }

    .btn-buy {
        padding: 6px 16px;
        font-size: 0.8rem;
    }

    .nav-hamburger {
        width: 36px;
        height: 36px;
    }

    .nav-hamburger span {
        width: 16px;
    }

    /* Hero */
    .hero {
        padding: 30px 16px 14px;
    }

    .hero-subtitle {
        font-size: 0.65rem;
        letter-spacing: 0.15em;
        margin-bottom: 8px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }

    .hero-tagline {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }

    .hero-actions {
        gap: 14px;
    }

    .btn-primary {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .btn-link {
        font-size: 0.82rem;
    }

    /* Token address bar */
    .token-address-bar {
        padding: 14px 16px;
    }

    .token-address-inner {
        padding: 8px 12px;
        gap: 6px;
    }

    .token-label {
        font-size: 0.65rem;
    }

    .token-address {
        font-size: 0.6rem;
    }

    /* Get It Now On */
    .get-it-section {
        padding: 8px 16px 32px;
    }

    .get-it-card {
        padding: 24px 16px 20px;
    }

    .get-it-title {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }

    .wallet-buttons {
        gap: 12px;
    }

    .wallet-btn {
        width: 50px;
        height: 50px;
    }

    /* About section */
    .about-section {
        padding: 28px 16px 40px;
        gap: 16px;
    }

    .about-title {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }

    .about-card {
        padding: 18px;
    }

    .about-card-heading {
        font-size: 1rem;
    }

    .about-card-text p,
    .about-card-content-full p {
        font-size: 0.78rem;
        line-height: 1.6;
    }

    .about-card-image {
        max-height: 240px;
    }

    .about-card-image img {
        max-height: 240px;
    }

    .about-card-grid {
        gap: 16px;
    }
}

/* Very small mobile */
@media (max-width: 360px) {
    .page-wrapper {
        padding: 2px;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-tagline {
        font-size: 0.75rem;
    }

    .btn-primary {
        padding: 9px 20px;
        font-size: 0.8rem;
    }

    .get-it-title {
        font-size: 1.5rem;
    }

    .about-title {
        font-size: 1.5rem;
    }

    .wallet-btn {
        width: 44px;
        height: 44px;
    }

    .about-card {
        padding: 14px;
    }

    .about-card-heading {
        font-size: 0.9rem;
    }
}