/* Hoshimachi Suisei Token Website - Pure Anime Vibes */
:root {
    /* Suisei's signature colors */
    --suisei-blue: #4A90E2;
    --suisei-light-blue: #87CEEB;
    --star-yellow: #FFD700;
    --comet-purple: #9932CC;
    --night-blue: #191970;
    --deep-space: #000814;
    --text-white: #FFFFFF;
    --text-light: #E6F3FF;
    --card-bg: rgba(74, 144, 226, 0.15);
    --glow-blue: rgba(74, 144, 226, 0.6);
    
    /* Gradients */
    --comet-gradient: linear-gradient(135deg, var(--suisei-blue), var(--comet-purple));
    --star-gradient: linear-gradient(45deg, var(--star-yellow), #FFA500);
    --night-gradient: linear-gradient(180deg, var(--deep-space), var(--night-blue));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--night-gradient);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Background */
#stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, var(--star-yellow), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--suisei-light-blue), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--star-yellow), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--suisei-blue), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--star-yellow), transparent);
    background-size: 200px 100px;
    animation: stars-move 20s linear infinite;
    opacity: 0.7;
    z-index: -2;
}

#shooting-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

@keyframes stars-move {
    from { transform: translateX(0) translateY(0); }
    to { transform: translateX(-200px) translateY(-100px); }
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 1;
}

/* Hero Image */
.hero-image {
    position: absolute;
    left: -500px;
    top: 64.5%;
    transform: translateY(-50%);
    max-width: 2000px;
    opacity: 0;
    animation: slideInFromLeft 1.5s ease-out 0.5s forwards;
    z-index: 0;
    pointer-events: none;
}

.suisei-character {
    width: 100%;
    height: auto;
    max-height: 150vh;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(74, 144, 226, 0.3));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: -4rem auto 0 auto;
    padding: 2rem;
    pointer-events: auto;
}

.suisei-logo {
    position: relative;
    margin-bottom: 2rem;
}

.star-crown {
    font-size: 3rem;
    animation: twinkle 2s ease-in-out infinite alternate;
    margin-bottom: 0.5rem;
}

.main-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    position: relative;
}

.suisei-text {
    background: var(--comet-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    filter: drop-shadow(0 0 30px var(--glow-blue));
    animation: pulse-glow 3s ease-in-out infinite;
}

.kanji {
    font-size: 0.4em;
    color: var(--suisei-light-blue);
    display: block;
    font-weight: 400;
    margin-top: -0.5em;
    opacity: 0.9;
}

.comet-trail {
    position: absolute;
    top: 50%;
    right: -20px;
    width: 100px;
    height: 3px;
    background: var(--star-gradient);
    border-radius: 2px;
    opacity: 0.8;
    animation: comet-trail 4s ease-in-out infinite;
    transform: translateY(-50%) rotate(-15deg);
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 30px var(--glow-blue)); }
    50% { filter: drop-shadow(0 0 50px var(--suisei-blue)) drop-shadow(0 0 80px var(--comet-purple)); }
}

@keyframes twinkle {
    from { transform: scale(1) rotate(0deg); opacity: 0.8; }
    to { transform: scale(1.2) rotate(180deg); opacity: 1; }
}

@keyframes comet-trail {
    0%, 100% { transform: translateY(-50%) rotate(-15deg) scaleX(1); opacity: 0.8; }
    50% { transform: translateY(-50%) rotate(-10deg) scaleX(1.5); opacity: 1; }
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-bubble {
    background: var(--card-bg);
    border: 2px solid var(--suisei-blue);
    border-radius: 50px;
    padding: 1rem 2rem;
    text-align: center;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-bubble:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.5);
    border-color: var(--star-yellow);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--star-yellow);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--comet-gradient);
    color: var(--text-white);
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 40px rgba(74, 144, 226, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--suisei-blue);
    border: 2px solid var(--suisei-blue);
}

.btn-secondary:hover {
    background: var(--suisei-blue);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-elements > div {
    position: absolute;
    font-size: 2rem;
    animation: float-around 8s ease-in-out infinite;
    opacity: 0.7;
}

.music-note:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.music-note:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.music-note:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 2s; }
.star-element:nth-child(4) { top: 60%; right: 10%; animation-delay: 3s; color: var(--star-yellow); }
.star-element:nth-child(5) { bottom: 10%; right: 30%; animation-delay: 4s; color: var(--star-yellow); }
.heart-element { top: 40%; left: 80%; animation-delay: 5s; color: var(--suisei-light-blue); }

@keyframes float-around {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-20px) translateX(10px) rotate(90deg); }
    50% { transform: translateY(-10px) translateX(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) translateX(5px) rotate(270deg); }
}

/* Section Styling */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    background: var(--comet-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-icon {
    font-size: 0.8em;
    color: var(--star-yellow);
    animation: twinkle 2s ease-in-out infinite alternate;
}

/* About Section */
.about {
    background: rgba(25, 25, 112, 0.1);
    backdrop-filter: blur(10px);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--card-bg);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.about-card:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--star-yellow);
    box-shadow: 0 20px 40px rgba(74, 144, 226, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--suisei-light-blue);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.7;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* About Card Background Images */
.about-card:nth-child(1) {
    background-image: url('idol.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-card:nth-child(2) {
    background-image: url('forbes.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-card:nth-child(3) {
    background-image: url('yandere-min.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Enhanced overlay for better text readability */
.about-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(25, 25, 112, 0.4);
    border-radius: inherit;
    z-index: 1;
    backdrop-filter: blur(1px);
}

.about-card > * {
    position: relative;
    z-index: 2;
}

/* Tokenomics */
.tokenomics {
    background: rgba(153, 50, 204, 0.05);
}

.token-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.token-card {
    background: var(--card-bg);
    border: 2px solid var(--comet-purple);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.token-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--star-yellow);
    box-shadow: 0 15px 35px rgba(153, 50, 204, 0.4);
}

.token-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.token-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--suisei-blue);
}

.token-card p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.token-card small {
    color: var(--star-yellow);
    font-weight: 500;
}

/* How to Buy */
.how-to-buy {
    background: rgba(0, 8, 20, 0.3);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    background: var(--card-bg);
    border: 2px solid var(--suisei-blue);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--star-yellow);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.3);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--star-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--night-blue);
    margin: 0 auto 1rem;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--suisei-light-blue);
}

.step-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--star-yellow);
    animation: pulse 2s ease-in-out infinite;
}

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

/* Inline Contract Address */
.contract-inline {
    margin: 2rem 0;
    text-align: center;
}

.contract-box-inline {
    max-width: 500px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 2px solid var(--suisei-blue);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

.address-container-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    flex-wrap: wrap;
    justify-content: center;
}

#contract-address-inline {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-white);
    word-break: break-all;
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    padding: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.copy-btn-inline {
    background: var(--star-gradient);
    color: var(--night-blue);
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.copy-btn-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.copied-text {
    display: none;
}

.copy-btn-inline.copied .copy-text {
    display: none;
}

.copy-btn-inline.copied .copied-text {
    display: inline;
}

/* Footer */
.footer {
    background: rgba(0, 8, 20, 0.8);
    border-top: 2px solid rgba(74, 144, 226, 0.3);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    text-align: center;
}

.footer-suisei h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--star-yellow);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--suisei-light-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.footer-link:hover {
    color: var(--star-yellow);
    background: rgba(74, 144, 226, 0.1);
    transform: translateX(5px);
}

.footer-disclaimer p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.footer-disclaimer small {
    color: var(--suisei-light-blue);
    font-weight: 500;
}

.dev-credit {
    margin-top: 1rem;
    color: var(--text-light);
}

.dev-link {
    color: var(--star-yellow);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.dev-link:hover {
    color: var(--suisei-light-blue);
    text-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-bubble {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .address-container-inline {
        flex-direction: column;
    }
    
    #contract-address-inline {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        letter-spacing: 0.3px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .token-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .token-grid {
        grid-template-columns: 1fr;
    }
    
    .comet-trail {
        display: none;
    }
    
    .floating-elements {
        display: none;
    }
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--deep-space);
}

::-webkit-scrollbar-thumb {
    background: var(--comet-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--suisei-blue);
}

/* Hero Image Animation */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        left: -350px;
    }
    100% {
        opacity: 1;
        left: -550px;
    }
}

/* Responsive Design for Hero */
@media (max-width: 1024px) {
    .hero-image {
        max-width: 600px;
        left: -150px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        display: none;
    }
    
    .hero-content {
        padding: 1rem;
    }
}

