/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ff88;
    --secondary-color: #00d4ff;
    --dark-bg: #0a0e1a;
    --card-bg: #141829;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --accent-purple: #9945ff;
    --accent-green: #14f195;
    --gradient-1: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);
    --gradient-2: linear-gradient(135deg, #9945ff 0%, #14f195 100%);
}

body {
    font-family: 'Poppins', 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;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #1a1f3a 0%, #0a0e1a 100%);
}

.frog-float {
    position: absolute;
    font-size: 60px;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.frog-float:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.frog-float:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 7s;
}

.frog-float:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(5deg);
    }
    66% {
        transform: translateY(30px) rotate(-5deg);
    }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 16px 0;
    transition: padding 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 40px;
    animation: floatBounce 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 255, 136, 0.3));
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-3deg);
    }
    75% {
        transform: translateY(-5px) rotate(3deg);
    }
}

.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a svg {
    transition: all 0.3s ease;
}

.nav-links a:hover svg {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 8px var(--primary-color));
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-presale {
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-1);
    color: var(--dark-bg);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(0, 255, 136, 0);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* How to Buy Info Section */
.presale-info-section {
    background: linear-gradient(180deg, transparent 0%, rgba(153, 69, 255, 0.05) 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.presale-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.presale-card * {
    box-sizing: border-box;
}

.presale-header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.presale-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.rate-display {
    background: var(--gradient-1);
    color: var(--dark-bg);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    max-width: 100%;
}

/* Progress Section */
.progress-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-percent {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 50px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    animation: progressGlow 2s infinite;
}

@keyframes progressGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    }
}

.progress-amounts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.raised {
    color: var(--primary-color);
    font-weight: 700;
}

.target {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Wallet Info Compact */
.wallet-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 255, 136, 0.1);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
}

.wallet-address {
    font-family: monospace;
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
}

.btn-disconnect {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-disconnect:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: #ff6b6b;
}

/* Presale Form */
.presale-form {
    margin-bottom: 0;
    width: 100%;
}

.input-group {
    margin-bottom: 16px;
    width: 100%;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 80px 12px 16px;
    font-size: 15px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.token-logos {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 6px;
    align-items: center;
    pointer-events: none;
}

.logo-sol,
.logo-frog {
    width: 28px;
    height: 28px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.logo-sol {
    border-radius: 50%;
    background: linear-gradient(135deg, #9945FF 0%, #14F195 100%);
    padding: 2px;
}

.logo-frog {
    border-radius: 8px;
}

.logo-frog-single {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.input-wrapper:hover .token-logos img {
    transform: scale(1.1) rotate(5deg);
}

.input-hint {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-secondary);
}

.conversion-arrow {
    text-align: center;
    font-size: 18px;
    margin: 8px 0;
}

.btn-buy {
    width: 100%;
    background: var(--gradient-2);
    color: var(--text-primary);
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-buy .btn-icon {
    font-size: 20px;
}

.btn-buy:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(153, 69, 255, 0.4);
}

.btn-buy:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.status-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.status-message.success {
    display: block;
    background: rgba(20, 241, 149, 0.2);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.status-message.error {
    display: block;
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

.status-message.info {
    display: block;
    background: rgba(0, 212, 255, 0.2);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

/* Contract Info */
.contract-info {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item {
    margin-bottom: 15px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    font-weight: 600;
}

.info-value code {
    font-size: 11px;
    color: var(--primary-color);
    word-break: break-all;
    background: rgba(0, 255, 136, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    display: block;
}

/* Presale Info Cards */
.presale-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.info-card ol, .info-card ul {
    margin-left: 20px;
}

.info-card li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tokenomics Section */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tokenomics-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.tokenomics-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(153, 69, 255, 0.2);
}

.tokenomics-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.tokenomics-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.tokenomics-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--card-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 12px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 12px;
    }
    
    .logo {
        font-size: 26px;
    }
    
    .logo-icon {
        font-size: 36px;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .nav-links a {
        font-size: 14px;
    }
    
    .hero-wrapper {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }
    
    .hero-presale {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .hero-presale .presale-card {
        width: 100%;
        margin: 0;
        padding: 20px;
        border-radius: 16px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 0 8px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 24px;
        gap: 8px;
    }
    
    .logo-icon {
        font-size: 32px;
    }
    
    .nav-links {
        gap: 16px;
        font-size: 13px;
    }
    
    .nav-links a {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .nav-links a:not(:has(svg)) {
        display: none;
    }
    
    .nav-links svg {
        width: 20px;
        height: 20px;
    }
    
    .hero {
        padding: 100px 0 50px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .presale-card {
        padding: 18px;
        border-radius: 12px;
    }
    
    .presale-header h3 {
        font-size: 18px;
    }
    
    .rate-display {
        font-size: 13px;
        padding: 8px 18px;
    }
    
    .progress-section {
        padding: 12px;
    }
    
    .progress-percent {
        font-size: 14px;
    }
    
    .input-group input {
        padding: 12px 70px 12px 14px;
        font-size: 14px;
    }
    
    .token-logos {
        right: 10px;
        gap: 4px;
    }
    
    .logo-sol,
    .logo-frog {
        width: 24px;
        height: 24px;
    }
    
    .logo-frog-single {
        width: 28px;
        height: 28px;
    }
    
    .btn-buy {
        padding: 13px 24px;
        font-size: 14px;
    }
    
    .features-grid,
    .tokenomics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--text-primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Manual Buy Info */
.manual-buy-info {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(20, 241, 149, 0.3);
    border-radius: 12px;
    text-align: center;
}

.manual-buy-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-green);
    margin: 0 0 15px 0;
}

.manual-buy-address {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 12px;
}

.manual-buy-address code {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 10.5px;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.copy-btn {
    background: var(--accent-green);
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.copy-btn:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.copy-btn:active {
    transform: scale(0.95);
}

.manual-buy-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Mobile Responsive for Manual Buy */
@media (max-width: 768px) {
    .manual-buy-info {
        padding: 15px;
        margin-top: 15px;
    }
    
    .manual-buy-title {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .manual-buy-address {
        flex-direction: column;
        gap: 10px;
    }
    
    .manual-buy-address code {
        max-width: 100%;
        font-size: 10px;
        padding: 10px 12px;
        word-break: break-all;
        white-space: normal;
    }
    
    .copy-btn {
        padding: 10px 12px;
        font-size: 16px;
        width: 100%;
    }
    
    .manual-buy-note {
        font-size: 11px;
    }
}

