/* css/style.css */

/* Design System & Variables */
:root {
    --bg-dark: #11162f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --brand-color: #f6ff0d;
    --brand-hover: #e5ed0c;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #fcfcfc;
    --text-secondary: #a0a0a0;
    --success: #00ff88;
    --error: #ff4d4d;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif; /* Fallback for Jubilee Diamond */
    --radius-lg: 0px; /* Cyberpunk often uses Sharp edges or deliberate cuts */
    --radius-sm: 0px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass: blur(10px);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--brand-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hide {
    display: none !important;
}

/* Navigation */
.navbar {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    background: rgba(17, 22, 47, 0.7);
    backdrop-filter: var(--glass);
    position: fixed; /* Keep it fixed for the premium feel */
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo svg {
    height: 35px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 700;
    font-family: var(--font-display);
    cursor: none;
    border: 1px solid transparent;
    text-align: center;
    transition: var(--transition);
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: var(--transition);
    z-index: 0;
}

.btn:hover::before {
    width: 100%;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background-color: var(--brand-color);
    color: #11162f;
}

.btn-primary:hover {
    background-color: #fff;
    color: #11162f;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--brand-color);
    color: var(--brand-color);
    background: rgba(246, 255, 13, 0.05);
}

.btn-large {
    padding: 14px 30px;
    font-size: 16px;
}

.btn-text {
    background: none;
    color: var(--text-secondary);
    border: none;
}

.btn-text:hover {
    color: var(--text-primary);
}

.w-100 {
    width: 100%;
}

/* Forms & Inputs */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 14px;
    transition: var(--transition);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--brand-color);
}

input[readonly] {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
}

.copy-group {
    display: flex;
    gap: 10px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 60px;
    background: radial-gradient(circle at top, rgba(255, 112, 67, 0.08) 0%, rgba(14, 17, 17, 1) 50%);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 112, 67, 0.15);
    color: var(--brand-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 112, 67, 0.3);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.highlight {
    color: var(--brand-color);
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.launchpool-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.stat-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 13px;
}

.highlight-card {
    border-color: var(--brand-color);
    background: rgba(255, 112, 67, 0.05);
}

.highlight-card h3 {
    color: var(--brand-color);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Binance Banner */
.binance-banner {
    padding: 20px 0 50px;
}

.binance-img {
    width: 100%;
    max-width: 800px;
    border-radius: var(--radius-lg);
    display: block;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

/* App Grid (Cards) */
.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-bottom: 80px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header i {
    color: var(--brand-color);
}

.badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.card-body {
    padding: 24px;
}

.card-body>p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

/* Dashboards specifics */
.balance-display {
    text-align: center;
    padding: 30px 0;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.balance-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.balance-amount {
    color: var(--brand-color);
    margin-top: 5px;
    font-weight: 700;
}

.ref-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stat {
    flex: 1;
    background: var(--bg-dark);
    padding: 15px;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-val {
    display: block;
    font-weight: 700;
}

.stat-name {
    font-size: 12px;
    color: var(--text-secondary);
}

.referral-box {
    background: rgba(255, 112, 67, 0.05);
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--brand-color);
}

.small-text {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-secondary);
}

.error-msg {
    color: var(--error);
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
}

/* Presale Specifics */
.price-ticker {
    display: flex;
    justify-content: space-between;
    background: var(--bg-dark);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Custom Crypto Selection */
.crypto-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.crypto-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 10px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.crypto-option:hover {
    border-color: rgba(255, 112, 67, 0.4);
    background: rgba(255, 255, 255, 0.02);
}

.crypto-option.active {
    border-color: var(--brand-color);
    background: rgba(255, 112, 67, 0.05);
}

.crypto-icon svg,
.crypto-icon img {
    width: 32px;
    height: 32px;
    display: block;
}

.crypto-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.crypto-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.crypto-network {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.checkout-box {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
}

.checkout-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--brand-color);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

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

.instruction {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.payment-details {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    padding: 15px;
    text-align: left;
    margin-bottom: 20px;
}

.detail-row {
    margin-bottom: 15px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row span {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.detail-row strong {
    font-size: 20px;
}

.payment-status {
    padding: 15px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 15px;
}

.status-waiting {
    color: var(--brand-color);
}

.status-confirmed,
.status-finished {
    color: var(--success);
}

.status-failed {
    color: var(--error);
}

.cancel-btn {
    width: 100%;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    padding: 10px 20px;
    border-radius: 50px;
    margin: 0 10px;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

/* Responsiveness */
@media (max-width: 768px) {
    .app-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 36px;
    }

    .launchpool-stats {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* === MODIFIED STYLES BELOW === */

/* Custom Cursor */
.cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
}

.cursor-inner {
    position: absolute;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

.cursor-sword {
    width: 100%;
    height: auto;
    display: block;
}

.cursor-swoosh-container {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cursor-swoosh-video {
    width: 120px;
    height: 120px;
    opacity: 0;
}

.cursor-swoosh-video.playing {
    opacity: 1;
}

/* CSS Swoosh Fallback */
.swoosh-effect {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--brand-color);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.8;
    pointer-events: none;
    animation: swoosh-pulse 0.5s ease-out forwards;
}

@keyframes swoosh-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

.katana-theme {
    cursor: none; /* Hide default cursor */
}

.katana-theme a, 
.katana-theme button,
.katana-theme .crypto-option {
    cursor: none;
}

/* Glassmorphism & Cyber Utility */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: var(--glass);
    border: 1px solid var(--border-color);
}

.cyber-border {
    position: relative;
    border: 1px solid var(--border-color);
}

.cyber-border::before,
.cyber-border::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--brand-color);
    border-style: solid;
    pointer-events: none;
}

.cyber-border::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}

.cyber-border::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}

/* Hero Section Re-styling */
.hero {
    padding: 140px 0 100px;
    background: radial-gradient(circle at top, rgba(246, 255, 13, 0.05) 0%, #11162f 70%);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 64px;
    line-height: 0.95;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.5;
    max-width: 700px;
    letter-spacing: 0.02em;
}

/* Countdown Timer Styles */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.timer-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 12px;
    min-width: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timer-segment span {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-color);
    font-family: 'Inter', sans-serif;
}

.timer-segment small {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Presale Progress Bar */
.presale-progress-container {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.progress-bar {
    height: 12px;
    background: var(--bg-dark);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.progress-fill {
    height: 100%;
    background: var(--brand-color);
    box-shadow: 0 0 15px rgba(255, 112, 67, 0.4);
    transition: width 1s ease-out;
}

.progress-details {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-secondary);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    animation: slideInLeft 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    max-width: 380px;
    border-left: 4px solid var(--brand-color);
    backdrop-filter: blur(10px);
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 112, 67, 0.15);
    color: var(--brand-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-content p {
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
    color: var(--text-secondary);
}

.toast-content strong {
    font-size: 14px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
}

/* Glassmorphism Enhancements */
.card {
    transition: var(--transition);
    background: linear-gradient(165deg, rgba(31, 35, 38, 0.9) 0%, rgba(20, 24, 27, 1) 100%);
    backdrop-filter: blur(8px);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 112, 67, 0.3);
}

.hero-badge i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .toast-container {
        left: 10px;
        right: 10px;
        bottom: 20px;
    }

    .toast {
        max-width: none;
    }

    .countdown-timer {
        gap: 6px;
    }

    .timer-segment {
        min-width: 50px;
        padding: 6px 8px;
    }

    .timer-segment span {
        font-size: 16px;
    }
}

/* === NEW SECTIONS STYLING === */

.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: 42px;
    line-height: 1.1;
    text-transform: uppercase;
}

/* Flywheel Section */
.flywheel-section {
    background: radial-gradient(circle at bottom, rgba(246, 255, 13, 0.03) 0%, transparent 70%);
}

.flywheel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.flywheel-card {
    padding: 40px;
    transition: var(--transition);
}

.flywheel-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
}

.flywheel-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin: 20px 0 10px;
    color: var(--brand-color);
    text-transform: uppercase;
}

.flywheel-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

.card-icon {
    font-size: 32px;
    color: var(--brand-color);
}

/* Features Section */
.features-section {
    background: radial-gradient(circle at top, rgba(0, 255, 136, 0.03) 0%, transparent 70%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    padding: 40px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--bg-card-hover);
}

.feature-item h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--brand-color);
    text-transform: uppercase;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Roadmap Section */
.roadmap-section {
    background: radial-gradient(circle at center, rgba(65, 157, 55, 0.03) 0%, transparent 70%);
}

.roadmap-timeline {
    position: relative;
    padding: 40px 0;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.roadmap-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
}

.roadmap-content {
    width: 45%;
    padding: 30px;
}

.roadmap-item:nth-child(even) {
    flex-direction: row-reverse;
}

.roadmap-content h3 {
    font-family: var(--font-display);
    color: var(--brand-color);
    margin-bottom: 10px;
}

/* Responsive for new sections */
@media (max-width: 992px) {
    .flywheel-grid, .features-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-timeline::before {
        left: 20px;
    }

    .roadmap-item {
        flex-direction: column !important;
        align-items: flex-start;
    }

/* === DECORATIVE DIVIDERS === */

.divider-staggered {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px 0;
    overflow: hidden;
}

.divider-item {
    position: relative;
    height: 150px;
    background: #000;
    overflow: hidden;
    flex-shrink: 0;
}

.divider-item.medium {
    width: 250px;
}

.divider-item.large {
    width: 450px;
}

.divider-item .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition);
}

.divider-item:hover .bg-img {
    opacity: 1;
    transform: scale(1.1);
}

.divider-item .stroke {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Specific offsets for 'staggered' look */
.divider-item.left {
    transform: skewX(-15deg);
}

.divider-item.right {
    transform: skewX(15deg);
}

.divider-item.large {
    transform: skewX(0deg);
}

@media (max-width: 768px) {
    .divider-staggered {
        flex-direction: column;
    }
    .divider-item {
        width: 100% !important;
        margin: 10px 0;
    }
}