/* ==================================================
   TOP BANNER
   ================================================== */
.top-banner {
    width: 100%;
    height: 120px; /* Adjust this height to make the banner taller or shorter */
    background-image: url('media/banner.jpg'); /* IMPORTANT: Upload your banner image to the 'media' folder with this exact name */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a0b2e; /* Fallback dark purple color if the image fails to load */
    display: block;
    margin-bottom: 0; /* Ensures no gap between banner and navbar */
}

/* =============================================
   RESET & BASE
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #0a0a12;
    color: #e8e8f0;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: #7c5cff;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #9d85ff;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #1a1a2e;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 20px;
    color: #ffffff;
}

.nav-logo img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #7c5cff;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: #a0a0c0;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a:hover {
    color: #7c5cff;
}

/* =============================================
   HERO
   ============================================= */
.hero {
    text-align: center;
    padding: 110px 20px 90px;
    background: radial-gradient(circle at 50% 0%, #1a1440 0%, #0a0a12 65%);
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 30px;
    border: 3px solid #7c5cff;
    box-shadow: 0 0 80px rgba(124, 92, 255, 0.5);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 80px rgba(124, 92, 255, 0.5); }
    50% { box-shadow: 0 0 100px rgba(124, 92, 255, 0.8); }
}

.hero h1 {
    font-size: 52px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #7c5cff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 span {
    font-size: 26px;
    -webkit-text-fill-color: #7c5cff;
    color: #7c5cff;
}

.tagline {
    font-size: 18px;
    color: #a0a0c0;
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================ */
/* HERO VISUAL SECTION (STARS + PLANET)         */
/* ============================================ */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 65px;
  margin-bottom: 30px;
}

/* --- TRNDT TOKEN WITH SHINING STARS (Size unchanged) --- */
.token-stars-wrapper {
  position: relative;
  width: 70px;       /* SAME SIZE AS BEFORE */
  height: 70px;      /* SAME SIZE AS BEFORE */
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.6); 
  flex-shrink: 0;
}

.trndt-token-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  display: block;
}

/* --- SHINING STAR SHAPES (Not circles) --- */
.star {
  position: absolute;
  background: #ffffff;
  /* Creates a 4-point star shape */
  clip-path: polygon(
    50% 0%, 
    61% 35%, 
    100% 50%, 
    61% 65%, 
    50% 100%, 
    39% 65%, 
    0% 50%, 
    39% 35%
  );
  filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 12px rgba(139, 92, 246, 0.9));
  animation: twinkle 2.5s infinite ease-in-out;
  z-index: 3;
}

/* Positioning and sizing individual stars */
.star-1 { width: 8px; height: 8px; top: -15px; left: 50%; animation-delay: 0s; }
.star-2 { width: 3px;  height: 3px;  top: 20%; right: -20px; animation-delay: 0.4s; }
.star-3 { width: 12px; height: 12px; bottom: -10px; left: 20%; animation-delay: 0.8s; }
.star-4 { width: 7px; height: 7px; top: 60%; left: -25px; animation-delay: 1.2s; }
.star-5 { width: 5px;  height: 5px;  bottom: 10%; right: -15px; animation-delay: 1.6s; }
.star-6 { width: 9px; height: 9px; top: -20px; left: 15%; animation-delay: 2.0s; }


/* --- ROTATING PLANET (West to East) --- */
.planet-wrapper {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(100, 100, 255, 0.5);
  animation: float-planet 22s ease-in-out infinite;
  flex-shrink:0;
}

.planet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Rotates West to East (left to right) */
  animation: spin-planet 150s linear infinite;
}

/* ============================================ */
/* KEYFRAME ANIMATIONS                          */
/* ============================================ */

/* Twinkling star effect */
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.7) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

/* Planet spins West to East (positive rotation) */
@keyframes spin-planet {
  0%   { transform: rotate(0deg) scale(1.1); }
  100% { transform: rotate(-360deg) scale(1.1); }
}

/* Makes the planet float up and down gently */
@keyframes float-planet {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-15px); }
}

/* Center alignment for text below */
.hero h1, .hero .tagline, .hero .hero-buttons {
  text-align: center;
  width: 100%;
}

/* ============================================ */
/* KEYFRAME ANIMATIONS                          */
/* ============================================ */

/* Twinkling star effect */
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50%      { opacity: 1; transform: scale(1.2); }
}

/* Slowly rotates the planet image */
@keyframes spin-planet {
  0%   { transform: rotate(0deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1.1); }
}

/* Makes the planet float up and down gently */
@keyframes float-planet {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-15px); }
}

/* Ensure the H1 and tagline remain centered below */
.hero h1, .hero .tagline, .hero .hero-buttons {
  text-align: center;
  width: 100%;
}

/* ============================================ */
/* MUSIC PLAYER STYLES                          */
/* ============================================ */

/* Hide the default audio player */
#background-music {
  display: none;
}

/* Floating Music Toggle Button */
.music-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.8);
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
}

.music-toggle:hover {
  transform: scale(1.1);
  background: #8B5CF6;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    padding: 14px 34px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn.primary {
    background: linear-gradient(135deg, #7c5cff 0%, #5a3fe8 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(124, 92, 255, 0.3);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(124, 92, 255, 0.5);
    color: #ffffff;
}

.btn.secondary {
    background: transparent;
    color: #7c5cff;
    border: 2px solid #7c5cff;
}

.btn.secondary:hover {
    background: #7c5cff;
    color: #ffffff;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
    padding: 80px 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.section h2 {
    font-size: 38px;
    margin-bottom: 30px;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #7c5cff, #5a3fe8);
    border-radius: 2px;
}

.section p {
    margin-bottom: 18px;
    color: #c0c0d8;
    font-size: 16px;
}

/* =============================================
   FEATURES
   ============================================= */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature {
    background: linear-gradient(135deg, #13131f 0%, #1a1440 100%);
    padding: 28px;
    border-radius: 14px;
    border: 1px solid #1f1f30;
    transition: transform 0.3s, border-color 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: #7c5cff;
}

.feature h3 {
    color: #7c5cff;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature p {
    font-size: 14px;
    margin: 0;
}

/* =============================================
   MINTING
   ============================================= */
.mint-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.mint-card {
    background: linear-gradient(135deg, #13131f 0%, #1f1440 100%);
    padding: 26px;
    border-radius: 14px;
    border: 1px solid #2a2a4a;
    transition: transform 0.3s, border-color 0.3s;
}

.mint-card:hover {
    transform: translateY(-5px);
    border-color: #7c5cff;
}

.mint-card h3 {
    color: #7c5cff;
    margin-bottom: 10px;
    font-size: 17px;
}

.mint-card p {
    color: #c0c0d8;
    font-size: 14px;
    margin: 0;
}

/* =============================================
   ECOSYSTEM
   ============================================= */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ecosystem-card {
    background: linear-gradient(135deg, #13131f 0%, #1a1440 100%);
    padding: 26px;
    border-radius: 14px;
    border: 1px solid #2a2a4a;
    transition: transform 0.3s, border-color 0.3s;
}

.ecosystem-card:hover {
    transform: translateY(-5px);
    border-color: #7c5cff;
}

.ecosystem-card h3 {
    color: #7c5cff;
    margin-bottom: 10px;
    font-size: 17px;
}

.ecosystem-card p {
    color: #c0c0d8;
    font-size: 14px;
    margin: 0;
}

.ecosystem-card.highlight {
    background: linear-gradient(135deg, #1a1440 0%, #2a1f50 100%);
    border: 1px solid #f0b90b;
}

.ecosystem-card.highlight h3 {
    color: #f0b90b;
}

.ecosystem-summary {
    margin-top: 40px;
    padding: 22px;
    background: rgba(124, 92, 255, 0.1);
    border-left: 4px solid #7c5cff;
    border-radius: 10px;
    font-style: italic;
    color: #e8e8f0;
    font-size: 15px;
}

.eco-link {
    display: inline-block;
    margin-top: 12px;
    color: #7c5cff;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.eco-link:hover {
    color: #9d85ff;
}

/* =============================================
   LISTINGS
   ============================================= */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.listing-card {
    background: #13131f;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid #1f1f30;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    display: block;
}

.listing-card:hover {
    transform: translateY(-5px);
    border-color: #7c5cff;
    background: #1a1a2e;
    color: inherit;
}

.listing-card h3 {
    color: #7c5cff;
    margin-bottom: 8px;
    font-size: 16px;
}

.listing-card p {
    color: #a0a0c0;
    font-size: 13px;
    margin: 0;
}

.listing-card.highlight {
    background: linear-gradient(135deg, #1a1440 0%, #2a1f50 100%);
    border: 1px solid #f0b90b;
}

.listing-card.highlight h3 {
    color: #f0b90b;
}

/* =============================================
   VIDEO SECTION
   ============================================= */
.video-subtitle {
    font-size: 20px;
    color: #7c5cff;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Main promo video */
.promo-video-wrapper {
    margin-bottom: 60px;
    text-align: center;
}

.promo-video {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    background: #000;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

/* Grouped videos */
.video-gallery {
    margin-top: 20px;
}

/* Featured video (video1) — on top */
.video-feature {
    width: 100%;
    max-width: 640px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    background: #000;
    margin: 0 auto 20px;
    object-fit: cover;
    display: block;
}

/* Two smaller videos side-by-side */
.video-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 640px;
    margin: 0 auto;
}

.video-row video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: #000;
    object-fit: cover;
    display: block;
}

/* ============================================ */
/* SHORTS VIDEO PLAYER (1:1 SQUARE)             */
/* ============================================ */

.video-shorts {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 30px auto 0;
  padding-bottom: 100%; /* 1:1 Square aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.video-shorts iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   TOKENOMICS
   ============================================= */
.token-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.token-card {
    background: #13131f;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid #1f1f30;
    transition: border-color 0.2s;
}

.token-card:hover {
    border-color: #7c5cff;
}

.token-card h3 {
    font-size: 11px;
    color: #7c5cff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 600;
}

.token-card p {
    font-size: 16px;
    color: #e8e8f0;
    word-break: break-word;
    margin: 0;
}

.mono {
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 13px;
    color: #a0a0c0;
    letter-spacing: 0.3px;
    word-break: break-all;
}

/* =============================================
   CREATOR SECTION
   ============================================= */
.creator-card {
    background: linear-gradient(135deg, #13131f 0%, #1a1440 100%);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #2a2a4a;
    margin-top: 30px;
    transition: border-color 0.3s;
}

.creator-card:hover {
    border-color: #7c5cff;
}

/* Top row: avatar + name side by side */
.creator-header {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 24px;
}

/* Circular avatar (perfect circle, no distortion) */
.creator-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #7c5cff;
    box-shadow: 0 0 30px rgba(124, 92, 255, 0.4);
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    background: #0a0a12;
}

/* Name block */
.creator-name-block h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.2;
}

.creator-title {
    color: #7c5cff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Social links */
.creator-socials {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.creator-social-link {
    display: inline-block;
    padding: 8px 18px;
    background: #13131f;
    border: 1px solid #7c5cff;
    border-radius: 8px;
    color: #7c5cff;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.25s;
}

.creator-social-link:hover {
    background: linear-gradient(135deg, #7c5cff, #5a3fe8);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Description */
.creator-desc {
    color: #c0c0d8;
    font-size: 15px;
    margin: 0 0 16px;
    line-height: 1.6;
}

/* AI badge */
.creator-ai {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #7c5cff 0%, #5a3fe8 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(124, 92, 255, 0.4);
}

/* Wallet badges */
.creator-wallets {
    margin-top: 40px;
}

.creator-wallets h3 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 16px;
}

.wallet-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wallet-badge {
    display: inline-block;
    padding: 12px 22px;
    background: #13131f;
    border: 1px solid #2a2a4a;
    border-radius: 10px;
    color: #e8e8f0;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
}

.wallet-badge:hover {
    background: linear-gradient(135deg, #7c5cff, #5a3fe8);
    border-color: #7c5cff;
    color: #ffffff;
    transform: translateY(-3px);
}

/* =============================================
   SOCIAL
   ============================================= */
.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social {
    padding: 14px 26px;
    background: #13131f;
    border: 1px solid #1f1f30;
    border-radius: 10px;
    color: #e8e8f0;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s;
}

.social:hover {
    background: linear-gradient(135deg, #7c5cff, #5a3fe8);
    border-color: #7c5cff;
    color: #ffffff;
    transform: translateY(-3px);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid #1a1a2e;
    color: #606080;
    font-size: 13px;
    margin-top: 40px;
}

.disclaimer {
    margin-top: 12px;
    font-size: 11px;
    color: #404060;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 14px;
        font-size: 13px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 70px 20px 60px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero h1 span {
        font-size: 20px;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .tagline {
        font-size: 15px;
    }

    .section {
        padding: 60px 20px;
    }

    .section h2 {
        font-size: 28px;
    }

    .btn {
        padding: 12px 26px;
        font-size: 14px;
    }

    .video-row {
        grid-template-columns: 1fr;
    }

    .promo-video-wrapper,
    .video-gallery {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .creator-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .creator-avatar img {
        width: 90px;
        height: 90px;
        margin: 0 auto;
    }

    .creator-name-block h3 {
        font-size: 19px;
    }

    .creator-socials {
        justify-content: center;
    }

    .wallet-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .section h2 {
        font-size: 24px;
    }

    .features,
    .mint-info,
    .ecosystem-grid,
    .listings-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* TRNDT TYPOGRAPHY UPDATE                      */
/* ============================================ */

/* 2. HEADER / NAVIGATION (Medium, tracked out) */
nav a, 
.header-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* 3. HERO HEADLINE (Extra Bold) */
.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* 4. BODY PARAGRAPHS (Regular) */
.hero .tagline, 
p, 
.about p, 
.ecosystem p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
}

/* 5. TRANSACTION / PROTOCOL DATA (Space Mono) */
.contract-address, 
code, 
.protocol-data {
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Contract Address Style (Space Mono) */
.contract-address {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  color: #8B5CF6;
  background: rgba(139, 92, 246, 0.1);
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 10px;
  word-break: break-all;
}
