/* ===== CSS Variables ===== */
:root {
    --primary: #00D9FF;
    --primary-dark: #00B8D9;
    --secondary: #9945FF;
    --accent: #14F195;
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b80;
    --border-color: #2a2a3a;
    --success: #14F195;
    --warning: #FFB800;
    --danger: #FF4444;
    --gradient-primary: linear-gradient(135deg, #00D9FF 0%, #9945FF 50%, #14F195 100%);
    --gradient-hover: linear-gradient(135deg, #14F195 0%, #00D9FF 50%, #9945FF 100%);
    --shadow-glow: 0 0 40px rgba(0, 217, 255, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #020810;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Dark Sea Ocean Background ===== */
.ocean-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, 
        #020810 0%, 
        #041220 20%, 
        #051a2e 40%, 
        #03152a 60%, 
        #021018 80%, 
        #010a10 100%
    );
}

.ocean-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 217, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(153, 69, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(20, 241, 149, 0.04) 0%, transparent 50%);
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Animated Waves */
.waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
}

.wave1 {
    animation: waveMove 25s linear infinite;
    opacity: 0.8;
}

.wave2 {
    animation: waveMove 20s linear infinite reverse;
    animation-delay: -5s;
    opacity: 0.6;
}

.wave3 {
    animation: waveMove 30s linear infinite;
    animation-delay: -10s;
    opacity: 0.4;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Floating Bubbles */
.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(0, 217, 255, 0.1) 50%, 
        transparent 70%);
    border-radius: 50%;
    animation: bubbleRise linear infinite;
    opacity: 0;
}

.bubble:nth-child(1) { left: 5%; width: 20px; height: 20px; animation-duration: 12s; animation-delay: 0s; }
.bubble:nth-child(2) { left: 15%; width: 15px; height: 15px; animation-duration: 10s; animation-delay: 2s; }
.bubble:nth-child(3) { left: 25%; width: 25px; height: 25px; animation-duration: 14s; animation-delay: 4s; }
.bubble:nth-child(4) { left: 40%; width: 12px; height: 12px; animation-duration: 11s; animation-delay: 1s; }
.bubble:nth-child(5) { left: 55%; width: 18px; height: 18px; animation-duration: 13s; animation-delay: 3s; }
.bubble:nth-child(6) { left: 65%; width: 22px; height: 22px; animation-duration: 15s; animation-delay: 5s; }
.bubble:nth-child(7) { left: 75%; width: 10px; height: 10px; animation-duration: 9s; animation-delay: 2.5s; }
.bubble:nth-child(8) { left: 85%; width: 16px; height: 16px; animation-duration: 12s; animation-delay: 4.5s; }
.bubble:nth-child(9) { left: 92%; width: 14px; height: 14px; animation-duration: 11s; animation-delay: 1.5s; }
.bubble:nth-child(10) { left: 35%; width: 8px; height: 8px; animation-duration: 10s; animation-delay: 6s; }

@keyframes bubbleRise {
    0% {
        transform: translateY(0) translateX(0) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50vh) translateX(20px) scale(1);
        opacity: 0.4;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-110vh) translateX(-10px) scale(0.8);
        opacity: 0;
    }
}

/* Light Rays from Surface */
.light-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ray {
    position: absolute;
    top: -10%;
    width: 2px;
    height: 60%;
    background: linear-gradient(180deg, 
        rgba(0, 217, 255, 0.3) 0%, 
        rgba(0, 217, 255, 0.1) 30%,
        transparent 100%);
    filter: blur(3px);
    animation: rayShimmer 8s ease-in-out infinite;
}

.ray:nth-child(1) { left: 10%; transform: rotate(15deg); animation-delay: 0s; }
.ray:nth-child(2) { left: 30%; transform: rotate(-10deg); animation-delay: 1.5s; width: 3px; }
.ray:nth-child(3) { left: 50%; transform: rotate(5deg); animation-delay: 3s; }
.ray:nth-child(4) { left: 70%; transform: rotate(-15deg); animation-delay: 4.5s; width: 4px; }
.ray:nth-child(5) { left: 90%; transform: rotate(10deg); animation-delay: 6s; }

@keyframes rayShimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Floating Particles (plankton effect) */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(20, 241, 149, 0.4);
    border-radius: 50%;
    filter: blur(1px);
    animation: particleFloat 20s linear infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-duration: 25s; animation-delay: 0s; }
.particle:nth-child(2) { top: 40%; left: 30%; animation-duration: 22s; animation-delay: 3s; }
.particle:nth-child(3) { top: 60%; left: 50%; animation-duration: 28s; animation-delay: 6s; }
.particle:nth-child(4) { top: 30%; left: 70%; animation-duration: 24s; animation-delay: 2s; }
.particle:nth-child(5) { top: 70%; left: 85%; animation-duration: 26s; animation-delay: 4s; }
.particle:nth-child(6) { top: 50%; left: 20%; animation-duration: 30s; animation-delay: 8s; }

@keyframes particleFloat {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(30px, -20px) scale(1.2); opacity: 0.6; }
    50% { transform: translate(-20px, 30px) scale(0.8); opacity: 0.4; }
    75% { transform: translate(40px, 10px) scale(1.1); opacity: 0.5; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
}

/* Swimming Whales */
.swimming-whales {
    position: absolute;
    width: 100%;
    height: 100%;
}

.whale-swim {
    position: absolute;
    font-size: 3rem;
    opacity: 0.04;
    animation: whaleSwim 60s linear infinite;
}

.whale-swim:nth-child(1) {
    top: 30%;
    animation-delay: 0s;
}

.whale-swim:nth-child(2) {
    top: 65%;
    font-size: 2rem;
    animation-delay: 30s;
    animation-duration: 80s;
}

@keyframes whaleSwim {
    0% { 
        left: -10%; 
        transform: translateY(0) scaleX(1);
    }
    45% { 
        transform: translateY(-30px) scaleX(1);
    }
    50% { 
        left: 110%; 
        transform: translateY(0) scaleX(1);
    }
    50.1% { 
        transform: scaleX(-1);
    }
    95% { 
        transform: translateY(20px) scaleX(-1);
    }
    100% { 
        left: -10%; 
        transform: translateY(0) scaleX(-1);
    }
}

/* Old bg-animation fallback - hidden */
.bg-animation {
    display: none;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.connect-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--bg-dark);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: rgba(153, 69, 255, 0.1);
    border: 1px solid var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--bg-dark);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wallet-card-preview {
    position: relative;
}

.card-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    filter: blur(60px);
    opacity: 0.4;
    border-radius: 30px;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.wallet-card {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    width: 350px;
    box-shadow: var(--shadow-card);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.card-logo {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-logo-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.card-network {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 0.875rem;
}

.card-address {
    font-family: 'Fira Code', monospace;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.card-address .prefix {
    color: var(--accent);
    font-weight: 700;
}

.card-balance {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.balance-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.balance-value {
    font-size: 1.5rem;
    font-weight: 700;
}

/* ===== Features Section ===== */
.features {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== Generator Section ===== */
.generator {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 217, 255, 0.02) 50%, transparent 100%);
}

.generator-container {
    max-width: 700px;
    margin: 0 auto;
}

.generator-header {
    text-align: center;
    margin-bottom: 2rem;
}

.generator-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.generator-header p {
    color: var(--text-secondary);
}

.generator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.prefix-display {
    text-align: center;
    margin-bottom: 2rem;
}

.prefix-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.prefix-value {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.prefix-char {
    width: 60px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--bg-dark);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.3);
}

.generator-options {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.option-group {
    flex: 1;
    min-width: 200px;
}

.option-group label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.toggle-group {
    display: flex;
    background: var(--bg-dark);
    border-radius: 10px;
    padding: 0.25rem;
}

.toggle-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-weight: 600;
}

.thread-selector {
    display: flex;
    gap: 0.5rem;
}

.thread-btn {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    color: var(--text-secondary);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.thread-btn.active {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border-color: transparent;
}

.generate-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 15px;
    color: var(--bg-dark);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.generate-btn.generating {
    background: var(--danger);
}

.generate-btn.generating::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 3px solid var(--bg-dark);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Progress Container */
.progress-container {
    display: none;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 15px;
}

.progress-container.active {
    display: block;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.progress-label {
    color: var(--text-secondary);
}

.progress-count {
    color: var(--primary);
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background: var(--bg-dark);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
    animation: progressPulse 1.5s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.progress-speed {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Result Container */
.result-container {
    display: none;
    margin-top: 2rem;
}

.result-container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-success {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.result-success h3 {
    color: var(--accent);
    font-size: 1.5rem;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-item {
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 1rem;
}

.result-item.secret {
    border: 1px solid var(--warning);
}

.result-item label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.result-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.result-value span {
    flex: 1;
}

.hidden-key {
    filter: blur(5px);
    user-select: none;
}

.copy-btn, .reveal-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.copy-btn:hover, .reveal-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.warning-box {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid var(--warning);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.warning-box i {
    color: var(--warning);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-box p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.result-container .btn-primary {
    width: 100%;
    justify-content: center;
}

/* ===== How It Works ===== */
.how-it-works {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    max-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: var(--gradient-primary);
}

/* ===== About Section ===== */
.about {
    padding: 6rem 2rem;
    background: var(--bg-card);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
}

.about-feature i {
    font-size: 1.25rem;
}

.code-block {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.code-title {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.code-block pre {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    overflow-x: auto;
}

.code-block .keyword { color: var(--secondary); }
.code-block .string { color: var(--accent); }
.code-block .boolean { color: var(--primary); }
.code-block .function { color: #FFD700; }
.code-block .comment { color: var(--text-muted); }

/* ===== Footer ===== */
.footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--bg-dark);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i {
    color: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding: 12rem 2rem 3rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .nav-container {
        gap: 0.5rem;
    }

    .nav-links {
        display: none;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .connect-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .connect-btn span {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 11rem 1.5rem 3rem !important;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .stat {
        min-width: 80px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-visual {
        display: none;
    }

    .generator-options {
        flex-direction: column;
    }

    .prefix-char {
        width: 45px;
        height: 55px;
        font-size: 1.3rem;
    }

    .step-connector {
        display: none;
    }

    .steps-container {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .features {
        padding: 4rem 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .generator {
        padding: 4rem 1rem;
    }

    .generator-header h2 {
        font-size: 1.5rem;
    }

    .generator-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .generate-btn {
        padding: 1rem;
        font-size: 1rem;
    }

    .how-it-works {
        padding: 4rem 1.5rem;
    }

    .step {
        padding: 1.5rem;
    }

    .about {
        padding: 4rem 1.5rem;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }

    .code-block {
        display: none;
    }

    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        justify-content: center;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Contract Banner Mobile */
    .contract-banner {
        top: 55px;
        padding: 0.5rem 0.75rem;
    }

    .contract-container {
        gap: 0.5rem;
    }

    .contract-label {
        font-size: 0.75rem;
    }

    .contract-label span:last-child {
        display: inline;
    }

    .contract-address-box {
        padding: 0.4rem 0.6rem;
        max-width: 180px;
    }

    .contract-address {
        font-size: 0.65rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pump-fun-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .pump-fun-btn span {
        display: none;
    }

    .pump-fun-btn img {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.6rem 0.75rem;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.3rem;
    }

    .logo-text {
        display: none;
    }

    .connect-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        border-radius: 8px;
    }

    .hero {
        padding: 10rem 1rem 2rem !important;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-primary, .btn-secondary, .btn-pump {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-stats {
        gap: 0.75rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    /* Contract Banner Extra Small */
    .contract-banner {
        top: 50px;
        padding: 0.4rem 0.5rem;
    }

    .contract-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 0.4rem;
    }

    .contract-label {
        font-size: 0.65rem;
    }

    .pulse-dot {
        width: 6px;
        height: 6px;
    }

    .contract-address-box {
        flex: 1;
        max-width: 140px;
        padding: 0.3rem 0.5rem;
    }

    .contract-address {
        font-size: 0.6rem;
    }

    .copy-contract-btn {
        padding: 0.15rem;
    }

    .copy-contract-btn i {
        font-size: 0.7rem;
    }

    .pump-fun-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
        gap: 0.3rem;
    }

    .pump-fun-btn img {
        width: 16px;
        height: 16px;
    }

    .pump-fun-btn i {
        font-size: 0.6rem;
    }

    /* Generator Mobile */
    .prefix-display {
        margin-bottom: 1.5rem;
    }

    .prefix-label {
        font-size: 0.75rem;
    }

    .prefix-value {
        gap: 0.35rem;
    }

    .prefix-char {
        width: 40px;
        height: 50px;
        font-size: 1.2rem;
        border-radius: 8px;
    }

    .generator-card {
        padding: 1.25rem;
    }

    .option-group label {
        font-size: 0.75rem;
    }

    .toggle-btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.75rem;
    }

    .thread-btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .generate-btn {
        padding: 0.875rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .result-value {
        font-size: 0.75rem;
    }

    .result-item {
        padding: 0.75rem;
    }

    .result-item label {
        font-size: 0.65rem;
    }

    .copy-btn, .reveal-btn {
        width: 32px;
        height: 32px;
    }

    .warning-box {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .warning-box i {
        font-size: 1.25rem;
    }

    .warning-box p {
        font-size: 0.75rem;
    }

    /* Features Mobile */
    .features-grid {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    /* Steps Mobile */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .step-content h3 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    /* About Mobile */
    .about-features {
        flex-direction: column;
        gap: 1rem;
    }

    .about-feature {
        font-size: 0.9rem;
    }

    /* Footer Mobile */
    .footer-brand {
        max-width: 100%;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-brand .logo-text {
        display: inline;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-column h4 {
        margin-bottom: 0.75rem;
    }

    .social-links a {
        width: 36px;
        height: 36px;
    }

    /* Toast Mobile */
    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

/* ===== Contract Banner & Pump.fun Button ===== */
.contract-banner {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
    background: linear-gradient(90deg, rgba(153, 69, 255, 0.1) 0%, rgba(0, 217, 255, 0.1) 50%, rgba(20, 241, 149, 0.1) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 2rem;
    backdrop-filter: blur(10px);
}

.contract-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contract-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.contract-address-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.contract-address {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
    user-select: all;
}

.copy-contract-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.copy-contract-btn:hover {
    color: var(--primary);
    background: rgba(0, 217, 255, 0.1);
}

.pump-fun-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    color: #000;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.pump-fun-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 255, 136, 0.5);
}

.pump-fun-btn img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.pump-fun-btn i {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Buy $WHAL Button in Hero */
.btn-pump {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.btn-pump:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5);
}

.btn-pump .pump-icon {
    font-size: 1.2rem;
}

/* Adjust hero section for contract banner */
.hero {
    padding-top: 10rem !important;
}
