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

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    background: #1a1a1a;
    color: #fff;
    overflow-x: hidden;
    perspective: 1000px;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* Particles */
.golden-particle,
.sparkle-particle,
.glow-particle {
    position: fixed;
    top: -10px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: fall linear forwards;
}

.golden-particle {
    background: #FFD700;
    box-shadow: 0 0 10px #FFD700;
}

.sparkle-particle {
    background: #FFF;
    box-shadow: 0 0 8px #FFF;
}

.glow-particle {
    background: #FFA500;
    box-shadow: 0 0 15px #FFA500;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Japanese Pattern */
.japanese-pattern {
    position: absolute;
    width: 100px;
    height: 100px;
    background: url('https://www.transparenttextures.com/patterns/seigaiha.png') repeat;
    opacity: 0.1;
    transition: transform 0.3s ease;
}

.japanese-pattern.top-right {
    top: 20px;
    right: 20px;
}

.japanese-pattern.bottom-left {
    bottom: 20px;
    left: 20px;
}

.japanese-pattern.top-left {
    top: 20px;
    left: 20px;
}

.japanese-pattern.bottom-right {
    bottom: 20px;
    right: 20px;
}

/* Glowing Frame */
.glow-frame {
    margin: 2rem auto;
    padding: 2rem;
    max-width: 1200px;
    border: 2px solid #FFD700;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3), inset 0 0 15px rgba(255, 215, 0, 0.2);
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glow-frame:hover {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Header */
.logo-container {
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.2) 0%, rgba(255,215,0,0) 70%);
    pointer-events: none;
}

.main-title {
    font-family: 'Zen Loop', cursive;
    font-size: 4.5rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
    position: relative;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: titlePulse 2s infinite;
}

@keyframes titlePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.token-symbol {
    font-family: 'Zen Loop', cursive;
    font-size: 2.5rem;
    color: rgba(255, 215, 0, 0.8);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.kanji-container {
    position: relative;
    display: inline-block;
}

.kanji {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 2.5rem;
    color: rgba(255, 215, 0, 0.6);
    animation: floatKanji 3s ease-in-out infinite;
}

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

.kanji-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0) 70%);
    pointer-events: none;
}

.mascot-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 2rem auto;
}

.mascot-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,215,0,0.2) 0%, rgba(255,215,0,0) 70%);
    pointer-events: none;
}

.mascot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Section Headers */
h2 {
    font-family: 'Zen Loop', cursive;
    font-size: 3rem;
    text-align: center;
    color: #FFD700;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* Instagram Section */
.updates-title {
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0% { text-shadow: 0 0 8px rgba(255, 215, 0, 0.3); }
    50% { text-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
    100% { text-shadow: 0 0 8px rgba(255, 215, 0, 0.3); }
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1000px;
    padding: 0 1rem;
}

.instagram-embed-placeholder {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.instagram-embed-placeholder:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.instagram-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    background: rgba(255, 215, 0, 0.03);
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
    border: 2px solid #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.username {
    color: #FFD700;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.instagram-content {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
}

.content-placeholder {
    text-align: center;
    padding: 2rem;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

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

.content-placeholder p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.instruction {
    color: rgba(255, 215, 0, 0.7) !important;
    font-size: 0.9rem !important;
    font-style: italic;
    letter-spacing: 1px;
}

.instagram-footer {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 215, 0, 0.03);
}

.engagement {
    display: flex;
    gap: 1rem;
}

.engagement span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.engagement span:hover {
    color: #FFD700;
    cursor: pointer;
}

.timestamp {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Tokenomics Section */
.token-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.token-card {
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.token-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.card-icon::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 2s infinite;
}

.token-card h3 {
    font-family: 'Zen Loop', cursive;
    color: #FFD700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.token-card .value {
    font-family: 'Zen Loop', cursive;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0.5rem 0;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.token-card .symbol {
    color: #aaa;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.token-card .card-detail {
    font-size: 1rem;
    color: #888;
    position: relative;
    padding-top: 1rem;
    letter-spacing: 0.5px;
}

.token-card .card-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: rgba(255, 215, 0, 0.2);
}

/* Contract Address */
.contract-address {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.address-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.contract-address code {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.2rem;
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.2);
    letter-spacing: 1px;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1a1a1a;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: 'Zen Maru Gothic', sans-serif;
    letter-spacing: 1px;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Roadmap Timeline */
.roadmap-timeline {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem 0;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255, 215, 0, 0.8),
        rgba(255, 215, 0, 0.2)
    );
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.timeline-content {
    flex: 1;
    max-width: 400px;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    backdrop-filter: blur(5px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: inherit;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-left: 1px solid rgba(255, 215, 0, 0.2);
    top: 20px;
    right: 100%;
    transform: translateX(50%) rotate(-45deg);
}

.timeline-content h3 {
    font-family: 'Zen Loop', cursive;
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    margin: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.timeline-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 1.5rem;
    line-height: 1;
}

.timeline-content li.completed::before {
    content: '✓';
    color: #4CAF50;
}

.timeline-content li.in-progress::before {
    content: '↻';
    color: #2196F3;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Community Section */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.community-card {
    position: relative;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.08);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0) 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.community-card:hover .card-glow {
    opacity: 1;
}

.community-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
}

.community-card h3 {
    font-family: 'Zen Loop', cursive;
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.community-card p {
    color: #aaa;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.member-count {
    font-size: 1rem;
    color: rgba(255, 215, 0, 0.7);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 3.5rem;
    }

    .token-symbol {
        font-size: 2rem;
    }

    .kanji {
        font-size: 2rem;
    }

    .mascot-container {
        width: 200px;
        height: 200px;
    }

    .token-info {
        grid-template-columns: 1fr;
    }

    .roadmap-timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row;
        justify-content: flex-start;
        padding-left: 30px;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        position: absolute;
        left: 10px;
    }

    .timeline-content {
        margin-left: 40px;
    }

    .timeline-content::before {
        display: none;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .instagram-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }
}