/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffd700;
    --secondary-color: #ffeb3b;
    --accent-color: #ffc107;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --light-text: #ffd700;
    --gradient-1: linear-gradient(135deg, #ffd700 0%, #ffeb3b 100%);
    --gradient-2: linear-gradient(135deg, #ffc107 0%, #ffd700 100%);
    --gradient-3: linear-gradient(135deg, #ffeb3b 0%, #ffd700 100%);
}

body {
    font-family: 'Impact', 'Arial Black', sans-serif;
    background-color: var(--dark-bg);
    color: #ffd700;
    overflow-x: hidden;
    letter-spacing: 1px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-content h2 {
    color: #ffd700;
    font-size: 2.5rem;
    margin-top: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

.spinner-border {
    width: 4rem;
    height: 4rem;
    border-width: 0.4rem;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 20px auto 0;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-1);
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* Navbar */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd700 !important;
    display: flex;
    align-items: center;
    letter-spacing: 2px;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: rotate(360deg);
}

.nav-link {
    color: #ffd700 !important;
    font-weight: bold;
    margin: 0 15px;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(108, 99, 255, 0.1), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255, 101, 132, 0.1), transparent 50%);
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    letter-spacing: 3px;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(45deg); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ffd700;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary {
    background: var(--gradient-1);
    border: none;
    padding: 15px 40px;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: #000000;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    color: #000000;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
}

.btn-outline-light {
    border: 2px solid #ffd700;
    color: #ffd700;
    padding: 15px 40px;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #ffd700;
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.contract-address {
    animation: fadeInUp 1s ease 0.9s both;
}

.contract-label {
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 10px;
    font-family: 'Impact', 'Arial Black', sans-serif;
}

.contract-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    padding: 5px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    max-width: 500px;
}

.contract-box:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.contract-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffd700;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    outline: none;
}

.copy-btn {
    background: var(--gradient-1);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.copy-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

.copy-btn:active {
    transform: scale(0.95);
}

#copyIcon {
    pointer-events: none;
}

.social-links {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 1.2s both;
}

.social-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-icon:hover {
    transform: translateY(-5px) rotate(360deg);
    background: var(--gradient-1);
}

.social-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.hero-image-container {
    position: relative;
    z-index: 2;
}

.floating-animation {
    animation: floating 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(108, 99, 255, 0.5));
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.scroll-indicator span {
    width: 3px;
    height: 15px;
    background: #ffd700;
    animation: scrollDown 1.5s ease-in-out infinite;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(0); }
}

/* About Section */
.about-section {
    background: var(--dark-bg);
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.title-underline {
    width: 100px;
    height: 5px;
    background: var(--gradient-1);
    margin: 0 auto 3rem;
    border-radius: 10px;
}

.about-image-wrapper img {
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 3rem;
    margin-right: 20px;
}

.feature-content h5 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    color: #ffd700;
}

.feature-content p {
    margin: 0;
    color: #ffd700;
    opacity: 0.8;
    font-family: Arial, sans-serif;
}

/* Live Chart Section */
.chart-section {
    background: var(--darker-bg);
    position: relative;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.chart-container:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.chart-note {
    color: rgba(255, 255, 255, 0.6);
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
}

#dexscreener-embed {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
}

/* Contact Section */
.contact-section {
    background: var(--darker-bg);
    position: relative;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #ffd700;
    opacity: 0.8;
    font-family: Arial, sans-serif;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-10px);
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.contact-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    color: #ffd700;
}

.contact-card p {
    margin-bottom: 1.5rem;
    color: #ffd700;
    font-family: Arial, sans-serif;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: #ffd700;
    opacity: 0.7;
    font-family: Arial, sans-serif;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .chart-container {
        padding: 1rem;
    }
    
    #dexscreener-embed {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-outline-light {
        padding: 10px 25px;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0 !important;
    }
    
    .contract-box {
        max-width: 100%;
    }
    
    .contract-input {
        font-size: 0.75rem;
        padding: 10px 15px;
    }
    
    .copy-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .contract-label {
        font-size: 0.8rem;
    }
    
    .nav-link {
        margin: 10px 0;
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-icon img {
        width: 28px;
        height: 28px;
    }
    
    .feature-content h5 {
        font-size: 1.1rem;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .contact-card h4 {
        font-size: 1.4rem;
    }
    
    .contact-icon {
        width: 80px;
        height: 80px;
    }
    
    #dexscreener-embed {
        height: 450px;
    }
    
    .chart-container {
        padding: 0.5rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .contract-address {
        margin-top: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .navbar-brand {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
    
    .btn-primary, .btn-outline-light {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    #dexscreener-embed {
        height: 400px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .about-section, .chart-section, .contact-section {
        padding: 3rem 0 !important;
    }
    
    .contract-input {
        font-size: 0.65rem;
        padding: 8px 12px;
    }
    
    .copy-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .contract-label {
        font-size: 0.75rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}