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

body {
    font-family: 'Space Mono', monospace;
    background: #0A0A1A;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Stars Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(3px 3px at 20px 30px, #fff, transparent),
        radial-gradient(4px 4px at 40px 70px, rgba(255,255,255,1), transparent),
        radial-gradient(2px 2px at 90px 40px, #fff, transparent),
        radial-gradient(3px 3px at 130px 80px, rgba(255,255,255,0.9), transparent),
        radial-gradient(5px 5px at 160px 30px, #fff, transparent),
        radial-gradient(2px 2px at 200px 50px, #33CCFF, transparent),
        radial-gradient(4px 4px at 250px 80px, #FF6666, transparent),
        radial-gradient(3px 3px at 300px 20px, #6633CC, transparent),
        radial-gradient(2px 2px at 350px 60px, #fff, transparent),
        radial-gradient(4px 4px at 400px 90px, #33CCFF, transparent),
        radial-gradient(3px 3px at 450px 25px, #FF6666, transparent),
        radial-gradient(2px 2px at 500px 75px, #fff, transparent);
    background-repeat: repeat;
    background-size: 120px 60px;
    animation: sparkle 6s linear infinite, drift 8s ease-in-out infinite alternate, twinkle 2s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes sparkle {
    0% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-25px) translateX(10px) scale(1.2);
        opacity: 1;
    }
    50% { 
        transform: translateY(-50px) translateX(-5px) scale(0.8);
        opacity: 0.7;
    }
    75% { 
        transform: translateY(-75px) translateX(15px) scale(1.5);
        opacity: 1;
    }
    100% { 
        transform: translateY(-100px) translateX(0px) scale(1);
        opacity: 0.3;
    }
}

@keyframes drift {
    0% { transform: translateX(0px) rotate(0deg); }
    100% { transform: translateX(30px) rotate(2deg); }
}

@keyframes twinkle {
    0% { 
        opacity: 0.2;
        filter: brightness(0.5);
    }
    50% { 
        opacity: 1;
        filter: brightness(2);
    }
    100% { 
        opacity: 0.3;
        filter: brightness(1);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) brightness(0.3);
    animation: bannerFloat 20s ease-in-out infinite;
}

@keyframes bannerFloat {
    0%, 100% {
        transform: scale(1) translateY(0px);
    }
    50% {
        transform: scale(1.05) translateY(-20px);
    }
}

.hero-badge {
    background: #CC3333;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

.badge-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(45deg, #FF6666, #33CCFF, #6633CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 4px;
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #6633CC;
    color: white;
    border: 2px solid #6633CC;
}

.btn-primary:hover {
    background: transparent;
    color: #6633CC;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 51, 204, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #666;
}

.btn-secondary:hover {
    background: #666;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 102, 102, 0.3);
}

.hero-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.link {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.link:hover {
    color: #33CCFF;
}

/* Hero Socials */
.hero-socials {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(51, 204, 255, 0.1);
    border-color: #33CCFF;
    color: #33CCFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(51, 204, 255, 0.2);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
}

.hero-banner-main {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: bannerFloat 6s ease-in-out infinite;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hero-banner-main:hover .hero-banner-img {
    transform: scale(1.05);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
}

.banner-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #33CCFF;
}

.banner-content p {
    font-size: 0.9rem;
    color: #cccccc;
}

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

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(51, 204, 255, 0.05));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-badge {
    background: #33CCFF;
    color: #000;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(51, 204, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #33CCFF;
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-icon:hover {
    background: rgba(51, 204, 255, 0.2);
    transform: scale(1.1);
}

.feature-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-text p {
    color: #cccccc;
    font-size: 14px;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(51, 204, 255, 0.2), rgba(102, 51, 204, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

/* Holders Section */
.holders-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(51, 204, 255, 0.1), rgba(102, 51, 204, 0.1));
}

.holders-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.holders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.holders-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #33CCFF;
}

.giveaway-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #FF6666, #33CCFF);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    animation: pulse 2s infinite;
}

.giveaway-info {
    margin-bottom: 40px;
}

.giveaway-text {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.6;
}

.giveaway-text strong {
    color: #33CCFF;
    font-weight: 700;
}

.holders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.holder-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(51, 204, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.holder-item:hover {
    background: rgba(51, 204, 255, 0.1);
    border-color: #33CCFF;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(51, 204, 255, 0.2);
}

.holder-rank {
    font-size: 1.2rem;
    font-weight: 700;
    color: #33CCFF;
    min-width: 50px;
    text-align: center;
}

.holder-info {
    flex: 1;
    text-align: left;
}

.holder-address {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 5px;
    word-break: break-all;
}

.holder-balance {
    font-size: 16px;
    font-weight: 700;
    color: #33CCFF;
}

.holder-status {
    min-width: 80px;
    text-align: center;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.winner {
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    color: white;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(76, 175, 80, 0.5); }
    to { box-shadow: 0 0 15px rgba(76, 175, 80, 0.8); }
}

.holders-note {
    color: #999;
    font-size: 14px;
    font-style: italic;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.refresh-holders-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #33CCFF, #6633CC);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-holders-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(51, 204, 255, 0.3);
}

.refresh-holders-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.holders-iframe-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.holders-iframe-container iframe {
    border: none;
    border-radius: 16px;
    background: transparent;
    width: 100%;
    height: 500px;
}

.holders-note {
    text-align: center;
    margin-top: 20px;
    color: #cccccc;
    font-size: 14px;
}

.external-link {
    color: #33CCFF;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.external-link:hover {
    color: #FF6B6B;
    text-decoration: underline;
}

.dexscreener-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #FF6B6B 0%, #33CCFF 100%);
    border: none;
    border-radius: 50px;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

.dexscreener-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #FF8E53 0%, #4ECDC4 100%);
}

.dexscreener-btn svg {
    transition: transform 0.3s ease;
}

.dexscreener-btn:hover svg {
    transform: scale(1.1);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Contract Section */
.contract-section {
    padding: 80px 0;
    background: rgba(51, 204, 255, 0.05);
}

.contract-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contract-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.contract-address {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

#contractInput {
    flex: 1;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #333;
    border-radius: 8px;
    color: white;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

#contractInput:focus {
    border-color: #33CCFF;
}

.copy-btn {
    padding: 16px 24px;
    background: #33CCFF;
    color: #000;
    border: none;
    border-radius: 8px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-btn:hover {
    background: #29B3E6;
    transform: translateY(-2px);
}

.contract-note {
    color: #cccccc;
    font-size: 14px;
}

/* Chart Section */
.chart-section {
    padding: 80px 0;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.chart-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.chart-buttons {
    display: flex;
    gap: 10px;
}

.chart-btn {
    padding: 12px 24px;
    background: transparent;
    color: #cccccc;
    border: 2px solid #333;
    border-radius: 8px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-btn.active,
.chart-btn:hover {
    background: #33CCFF;
    color: #000;
    border-color: #33CCFF;
}

.chart-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.chart-iframe {
    display: none;
}

.chart-iframe.active {
    display: block;
}

.chart-iframe iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* Footer */
.footer {
    background: #000;
    padding: 60px 0 30px;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #33CCFF;
}

.footer-brand p {
    color: #cccccc;
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

.footer-social-link:hover {
    color: #33CCFF;
    background: rgba(51, 204, 255, 0.1);
    transform: translateY(-2px);
}

.footer-social-link svg {
    transition: transform 0.3s ease;
}

.footer-social-link:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
        padding-top: 0;
    }
    
    .hero-banner-main {
        max-width: 100%;
    }
    
    .hero-banner-img {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-socials {
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .social-link {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .holders-section {
        padding: 60px 0;
    }
    
    .holders-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .holders-title {
        font-size: 2rem;
    }
    
    .holder-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .holder-info {
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .features {
        gap: 25px;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contract-section {
        padding: 60px 0;
    }
    
    .contract-address {
        flex-direction: column;
        gap: 15px;
    }
    
    .chart-section {
        padding: 60px 0;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .chart-buttons {
        justify-content: center;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .hero-banner-main {
        max-width: 100%;
    }
    
    .hero-banner-img {
        min-height: 200px;
    }
    
    .banner-content h3 {
        font-size: 1.2rem;
    }
    
    .banner-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .badge-icon {
        width: 14px;
        height: 14px;
    }
    
    .hero-socials {
        gap: 10px;
    }
    
    .social-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .hero-banner-main {
        max-width: 100%;
    }
    
    .hero-banner-img {
        min-height: 180px;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .contract-section {
        padding: 40px 0;
    }
    
    .chart-section {
        padding: 40px 0;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-banner-main {
        max-width: 100%;
    }
    
    .hero-banner-img {
        min-height: 150px;
    }
    
    .social-link {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}
