/* ========================================
   Dragon Bit Custom Styles
   Color Scheme from Logo
   ======================================== */

:root {
    /* Logo-based Color Palette */
    --dragon-dark: #0F1419;
    --dragon-navy: #1A2332;
    --dragon-card: #233144;
    --dragon-gold: #F4A261;
    --dragon-teal: #2A9D8F;
    --dragon-highlight: #FFB703;
    --dragon-orange: #E76F51;
    --dragon-light-blue: #B8C5D6;
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #FFB703 0%, #F4A261 100%);
    --gradient-teal: linear-gradient(135deg, #2A9D8F 0%, #1B7F73 100%);
    --gradient-dark: linear-gradient(180deg, #0F1419 0%, #1A2332 100%);
}

/* ========================================
   Global Styles
   ======================================== */

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dragon-dark);
    color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.text-gold {
    color: var(--dragon-gold) !important;
}

.text-teal {
    color: var(--dragon-teal) !important;
}

.bg-gold {
    background-color: var(--dragon-gold) !important;
}

.bg-teal {
    background-color: var(--dragon-teal) !important;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(42, 157, 143, 0.1);
}

.navbar.scrolled {
    background: rgba(15, 20, 25, 0.98);
    box-shadow: 0 2px 20px rgba(42, 157, 143, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dragon-gold) !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    filter: drop-shadow(0 0 10px var(--dragon-gold));
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--dragon-gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--dragon-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* ========================================
   Buttons
   ======================================== */

.btn-primary {
    background: var(--gradient-gold);
    border: none;
    color: #1A2332;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 162, 97, 0.5);
    background: var(--gradient-gold);
    color: #1A2332;
}

.btn-outline-primary {
    border: 2px solid var(--dragon-teal);
    color: var(--dragon-teal);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--dragon-teal);
    border-color: var(--dragon-teal);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 157, 143, 0.4);
}

.btn-outline-gold {
    border: 2px solid var(--dragon-gold);
    color: var(--dragon-gold);
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--dragon-gold);
    border-color: var(--dragon-gold);
    color: #1A2332;
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 100px; /* Space for navbar */
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    margin-top: 2rem; /* Extra space at top to prevent cutoff */
}

.hero-logo {
    width: 250px;
    height: 250px;
    animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(244, 162, 97, 0.5));
    border-radius: 50%; /* Makes the glow more circular */
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(244, 162, 97, 0.5)); }
    50% { filter: drop-shadow(0 0 50px rgba(244, 162, 97, 0.8)); }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--dragon-teal);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--dragon-light-blue);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-stats {
    margin-top: 3rem;
}

.stat-box {
    padding: 2rem;
    background: rgba(35, 49, 68, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(42, 157, 143, 0.3);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--dragon-teal);
    box-shadow: 0 10px 30px rgba(42, 157, 143, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dragon-gold);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--dragon-light-blue);
    margin-top: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-indicator a {
    color: var(--dragon-teal);
    font-size: 2rem;
    text-decoration: none;
}

.scroll-indicator a:hover {
    color: var(--dragon-gold);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Hide scroll indicator on mobile to avoid clutter */
@media (max-width: 767px) {
    .scroll-indicator {
        display: none;
    }
}

/* ========================================
   Sections
   ======================================== */

.section-dark {
    background: var(--gradient-dark);
    padding: 6rem 0;
}

.section-light {
    background: var(--dragon-navy);
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dragon-gold);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--dragon-light-blue);
    margin-bottom: 2rem;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-teal);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* ========================================
   Cards
   ======================================== */

.lore-card {
    background: rgba(35, 49, 68, 0.8);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(42, 157, 143, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.lore-card:hover {
    transform: translateY(-5px);
    border-color: var(--dragon-teal);
    box-shadow: 0 15px 50px rgba(42, 157, 143, 0.2);
}

.lore-card p {
    color: var(--dragon-light-blue);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-item {
    background: rgba(35, 49, 68, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(42, 157, 143, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--dragon-gold);
    box-shadow: 0 10px 30px rgba(244, 162, 97, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--dragon-gold);
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: var(--dragon-gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--dragon-light-blue);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================================
   Tokenomics
   ======================================== */

.token-info-card {
    background: rgba(35, 49, 68, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(42, 157, 143, 0.3);
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.table-dark {
    background-color: transparent;
}

.table-dark tbody tr {
    border-bottom: 1px solid rgba(42, 157, 143, 0.1);
}

.table-dark td {
    padding: 1rem 0.5rem;
    color: var(--dragon-light-blue);
}

.contract-address {
    background: rgba(15, 20, 25, 0.8);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(42, 157, 143, 0.2);
}

.contract-address code {
    color: var(--dragon-teal);
    font-size: 0.9rem;
}

.allocation-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.allocation-item {
    padding: 1.5rem;
    background: rgba(15, 20, 25, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(42, 157, 143, 0.2);
    transition: all 0.3s ease;
}

.allocation-item:hover {
    border-color: var(--dragon-gold);
    transform: translateX(5px);
}

.allocation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.allocation-name {
    font-weight: 600;
    color: #ffffff;
}

.allocation-percent {
    font-size: 1.3rem;
    font-weight: 700;
}

.progress {
    height: 8px;
    background-color: rgba(42, 157, 143, 0.1);
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.progress-bar {
    border-radius: 10px;
}

/* ========================================
   Pre-Sale Section
   ======================================== */

.presale-card {
    background: rgba(35, 49, 68, 0.9);
    padding: 3rem;
    border-radius: 25px;
    border: 2px solid var(--dragon-gold);
    box-shadow: 0 20px 60px rgba(244, 162, 97, 0.2);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.countdown-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dragon-gold);
    line-height: 1;
    text-shadow: 0 0 20px rgba(244, 162, 97, 0.5);
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--dragon-light-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.bonus-structure {
    background: rgba(15, 20, 25, 0.5);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(42, 157, 143, 0.2);
}

.bonus-card {
    background: rgba(35, 49, 68, 0.8);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    border: 1px solid rgba(42, 157, 143, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.bonus-card:hover {
    transform: scale(1.05);
    border-color: var(--dragon-gold);
}

.bonus-card.active {
    background: rgba(244, 162, 97, 0.1);
    border-color: var(--dragon-gold);
    box-shadow: 0 0 20px rgba(244, 162, 97, 0.3);
}

.bonus-week {
    font-size: 0.9rem;
    color: var(--dragon-light-blue);
    margin-bottom: 0.5rem;
}

.bonus-percent {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dragon-gold);
    margin-bottom: 0.3rem;
}

.bonus-label {
    font-size: 0.8rem;
    color: var(--dragon-teal);
}

.presale-details {
    background: rgba(15, 20, 25, 0.5);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(42, 157, 143, 0.2);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(42, 157, 143, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--dragon-light-blue);
    font-weight: 500;
}

.detail-value {
    font-weight: 600;
    color: #ffffff;
}

/* ========================================
   Transformation Section
   ======================================== */

.transformation-visual {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 2rem;
    background: rgba(35, 49, 68, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(42, 157, 143, 0.2);
}

.transform-step {
    text-align: center;
}

.transform-icon {
    margin-bottom: 1rem;
}

.transform-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dragon-gold);
}

.transform-arrow {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.alert-teal {
    background: rgba(42, 157, 143, 0.1);
    border: 1px solid var(--dragon-teal);
    border-radius: 15px;
    padding: 1.5rem;
    color: #ffffff;
}

.alert-teal h5 {
    color: var(--dragon-teal);
    margin-bottom: 1rem;
}

/* ========================================
   Timeline
   ======================================== */

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-teal);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -3.75rem;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--dragon-gold);
    border: 3px solid var(--dragon-dark);
    box-shadow: 0 0 20px rgba(244, 162, 97, 0.5);
}

.timeline-content {
    background: rgba(35, 49, 68, 0.5);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(42, 157, 143, 0.2);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--dragon-gold);
    transform: translateX(10px);
}

.timeline-content h4 {
    margin-bottom: 1rem;
}

.timeline-content ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.timeline-content li {
    color: var(--dragon-light-blue);
    margin-bottom: 0.5rem;
}

/* ========================================
   Community Section
   ======================================== */

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-card {
    background: rgba(35, 49, 68, 0.8);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(42, 157, 143, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    color: #ffffff;
    display: block;
}

.social-card:hover {
    transform: translateY(-10px);
    border-color: var(--dragon-gold);
    box-shadow: 0 15px 40px rgba(244, 162, 97, 0.3);
    color: var(--dragon-gold);
}

.social-card i {
    color: var(--dragon-teal);
    transition: all 0.3s ease;
}

.social-card:hover i {
    color: var(--dragon-gold);
    transform: scale(1.2);
}

.social-card h4 {
    color: var(--dragon-gold);
    margin-bottom: 0.5rem;
}

.social-card p {
    color: var(--dragon-light-blue);
    margin-bottom: 0;
}

.foundation-card {
    background: rgba(35, 49, 68, 0.8);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(42, 157, 143, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--dragon-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(42, 157, 143, 0.2);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--dragon-light-blue);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--dragon-gold);
    padding-left: 5px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(42, 157, 143, 0.1);
    color: var(--dragon-teal);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--dragon-gold);
    color: var(--dragon-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(244, 162, 97, 0.4);
}

.disclaimer-text {
    color: #6c757d;
    line-height: 1.6;
    padding: 1.5rem;
    background: rgba(15, 20, 25, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(42, 157, 143, 0.1);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-logo {
        width: 200px;
        height: 200px;
    }
    
    .hero-logo-container {
        margin-top: 1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline-marker {
        left: -2.75rem;
    }
    
    .hero-section {
        padding-top: 80px;
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0 !important;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-logo {
        width: 180px;
        height: 180px;
    }
    
    .hero-logo-container {
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-box {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-item {
        min-width: 70px;
    }
    
    .bonus-percent {
        font-size: 1.5rem;
    }
    
    .transformation-visual {
        flex-direction: column;
        gap: 2rem;
    }
    
    .transform-arrow {
        transform: rotate(90deg);
    }
    
    .hero-section {
        padding-top: 70px;
        min-height: auto;
    }
    
    .lore-card,
    .token-info-card,
    .presale-card {
        padding: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    /* Better spacing for mobile */
    .section-dark,
    .section-light {
        padding: 4rem 0;
    }
    
    /* Mobile button improvements */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Mobile hero stats */
    .hero-stats {
        margin-top: 2rem !important;
    }
    
    .hero-stats .row {
        gap: 1rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-teal {
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-gold {
    box-shadow: 0 0 20px rgba(244, 162, 97, 0.5);
}

.glow-teal {
    box-shadow: 0 0 20px rgba(42, 157, 143, 0.5);
}
