/* ===== BASE STYLES ===== */
@font-face {
    font-family: 'Comic Sans MS';
    src: url("fonts/cosmic/comici.ttf");
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html, body {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
  }
  
  body {
    background-color: #000;
    color: white;
    line-height: 1.6;
  }
  
  /* ===== LAYOUT STYLES ===== */
  .container {
    background-color: #111;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.1);
    padding: 25px;
    margin: 20px auto;
    max-width: 1200px;
    border: 2px solid orange;
    border-radius: 10px;
  }
  
  section {
    padding: 30px 20px;
    text-align: center;
  }
  
  /* ===== HEADER STYLES ===== */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    padding: 20px;
    border-bottom: 2px solid orange;
  }
  
  .header-left {
    display: flex;
    align-items: center;
    margin-left: 10%;
  }
  
  .header-left img {
    width: 100px;
    margin-right: 20px;
    transition: transform 0.3s ease;
  }
  
  .header-left img:hover {
    transform: rotate(10deg);
  }
  
  .header-left h1 {
    color: orange;
    margin: 0;
    font-size: 2.2rem;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
  }
  
  .header-nav {
    display: flex;
    gap: 25px;
    margin-right: 10%;
  }
  
  .header-nav a {
    color: orange;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 5px 10px;
  }
  
  .header-nav a span {
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .header-nav a:hover span {
    transform: scale(1.15);
    text-shadow: 0 0 5px orange, 0 0 10px rgba(255, 165, 0, 0.5);
  }
  
  /* ===== HERO SECTION ===== */
  #hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
  }
  
  .hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 100%);
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
  }
  
  /* Coin Animation */
  .coin-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .coin-animation {
    position: relative;
    width: 120px;
    height: 120px;
  }
  
  .floating-coin {
    width: 100%;
    height: 100%;
    animation: subtleFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.15));
    transform-origin: center;
    position: relative;
    z-index: 2;
  }
  
  .sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,165,0,0.8) 0%, transparent 70%);
    animation: pulse 2s infinite alternate;
    border-radius: 50%;
    opacity: 0.5;
  }
  
  .price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .current-price {
    font-size: 2.2rem;
    font-weight: bold;
    color: orange;
    margin: 5px 0;
  }
  
  .price-change {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .price-change.up { color: #4CAF50; }
  .price-change.down { color: #f44336; }
  
  .volume-display {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 5px;
  }
  
  .live-badge {
    display: inline-block;
    background: rgba(255,0,0,0.2);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-top: 5px;
    border: 1px solid #f44336;
  }
  
  .pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #f44336;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 1.5s infinite;
  }
  
  /* Hero Text */
  .hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
  }
  
  .tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: orange;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
  }
  
  /* Social Proof */
  .social-proof {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
  }
  
  .proof-item {
    background: rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255,165,0,0.3);
    backdrop-filter: blur(5px);
  }
  
  .proof-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: orange;
    margin-bottom: 5px;
  }
  
  .proof-label {
    font-size: 0.9rem;
    opacity: 0.8;
  }
  
  /* ===== BUTTON STYLES ===== */
  .btn, .btn-outline-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: orange;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    border: 2px solid orange;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    margin: 10px;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  
  .btn:hover, .btn-outline-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.4);
  }
  
  .btn:hover { background-color: #ff8c00; }
  
  .btn-outline-primary {
    background-color: transparent;
    color: orange;
  }
  
  .btn-outline-primary:hover {
    background-color: orange;
    color: #000;
  }
  
  .btn::after, .btn-outline-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
    opacity: 0;
  }
  
  .btn:hover::after, .btn-outline-primary:hover::after {
    opacity: 1;
    transform: scale(1.5);
  }
  
  .btn-lg {
    padding: 15px 25px;
    font-size: 1.1rem;
    min-width: 200px;
    text-align: center;
  }
  
  /* Special Button Styles */
  .btn-outline-primary.twitter {
    background-color: #1DA1F2;
    border-color: #1DA1F2;
    color: white;
  }
  
  .btn-outline-primary.twitter:hover {
    background-color: #1a8cd8;
    border-color: #1a8cd8;
  }
  
  .btn-outline-primary.discord {
    background-color: #5865F2;
    border-color: #5865F2;
    color: white;
  }
  
  .btn-outline-primary.discord:hover {
    background-color: #4752c4;
    border-color: #4752c4;
  }
  
  .btn-outline-primary.telegram {
    background-color: #0088cc;
    border-color: #0088cc;
    color: white;
  }
  
  .btn-outline-primary.telegram:hover {
    background-color: #0077b5;
    border-color: #0077b5;
  }
  
  /* ===== SECTION STYLES ===== */
  /* Tokenomics Section */
  #tokenomics {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #000000 0%, #1a0d00 100%);
    border-top: 2px solid orange;
    border-bottom: 2px solid orange;
  }
  
  .tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .tokenomics-card {
    background: #111;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #333;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .tokenomics-card:hover {
    transform: translateY(-10px);
    border-color: orange;
    box-shadow: 0 15px 30px rgba(255, 165, 0, 0.2);
  }
  
  .card-image {
    height: 180px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid orange;
  }
  
  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .tokenomics-card:hover .card-image img {
    transform: scale(1.05);
  }
  
  .card-content {
    padding: 25px;
  }
  
  .tokenomics-card h3 {
    color: orange;
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .big-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin: 10px 0;
  }
  
  .token-name {
    color: orange;
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  
  .card-desc {
    color: #aaa;
    font-size: 0.95rem;
  }
  
  .contract-wrapper {
    margin: 20px 0;
  }
  
  .contract-address {
    background: #000;
    padding: 10px;
    border-radius: 6px;
    font-family: monospace;
    word-break: break-all;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border: 1px solid #333;
  }
  
  .security-badge {
    color: #4CAF50;
    font-size: 0.9rem;
    margin-top: 10px;
  }
  
  /* CTA Card */
  .cta-card {
    border: 2px solid orange;
    animation: pulse 2s infinite;
  }
  
  .cta-card .card-image {
    border-bottom: 2px solid orange;
  }
  
  .cta-text {
    color: #fff;
    font-size: 1.1rem;
    margin: 15px 0;
    font-weight: bold;
  }
  
  .urgency-banner {
    background: orange;
    color: #000;
    padding: 5px;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 15px;
    font-size: 0.9rem;
    animation: blink 1.5s infinite;
  }
  
  /* How to Buy Section */
  #how-to-buy {
    background: linear-gradient(135deg, #000000 0%, #1a0d00 100%);
    padding: 60px 20px;
    border-top: 2px solid orange;
    border-bottom: 2px solid orange;
  }
  
  .buy-steps-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .buy-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .buy-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid orange;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.2);
  }
  
  .buy-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
  }
  
  .buy-image:hover img {
    transform: scale(1.05);
  }
  
  .step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #111;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid orange;
    transition: all 0.3s ease;
  }
  
  .step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 165, 0, 0.2);
  }
  
  .step-number {
    background: orange;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
  }
  
  .step-content h3 {
    color: orange;
    margin-bottom: 8px;
    font-size: 1.3rem;
  }
  
  .step-content p {
    color: #ddd;
    margin: 0;
    font-size: 1rem;
  }
  
  /* Exchanges Section */
  #exchanges {
    background: #000;
    padding: 60px 20px;
    border-top: 2px solid orange;
    border-bottom: 2px solid orange;
    overflow: hidden;
  }
  
  .ticker-wrap {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    background: #111;
    border-radius: 10px;
    border: 1px solid #333;
    padding: 20px 0;
  }
  
  .ticker {
    display: inline-block;
    white-space: nowrap;
    padding-right: 100%;
    animation: ticker 40s linear infinite;
  }
  
  .ticker:hover {
    animation-play-state: paused;
  }
  
  .ticker__item {
    display: inline-block;
    padding: 0 30px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    position: relative;
    text-shadow: 0 0 5px rgba(255,255,255,0.1);
  }
  
  .ticker__item:after {
    content: "•";
    color: orange;
    position: absolute;
    right: -5px;
  }
  
  .ticker__item:last-child:after {
    display: none;
  }
  
  .trade-now {
    text-align: center;
    margin-top: 40px;
  }
  
  /* Chart Section */
  .chart-container {
    border: 2px solid orange;
    border-radius: 10px;
    padding: 15px;
    background-color: #111;
    margin: 20px auto;
  }
  
  /* Elon Section */
  .elon-section {
    background: #000;
    border-top: 3px solid orange;
    border-bottom: 3px solid orange;
    position: relative;
    overflow: hidden;
  }
  
  .elon-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
  }
  
  .elon-text, .elon-visual {
    flex: 1;
    min-width: 300px;
  }
  
  .elon-heading {
    display: block;
    color: orange;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(255,165,0,0.3);
  }
  
  .twitter-handle {
    display: block;
    color: #1DA1F2;
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .elon-tweet {
    background: #15202B;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid orange;
    max-width: 500px;
  }
  
  .tweet-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
  }
  
  .tweet-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid orange;
  }
  
  .tweet-author strong {
    color: white;
    display: block;
  }
  
  .tweet-author span {
    color: #8899A6;
    font-size: 0.9rem;
  }
  
  .tweet-icon {
    color: #1DA1F2;
    font-size: 1.2rem;
  }
  
  .tweet-content {
    color: white;
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 15px;
  }
  
  .tweet-stats {
    display: flex;
    gap: 15px;
    color: #8899A6;
    font-size: 0.9rem;
  }
  
  .tweet-date {
    margin-left: auto;
  }
  
  .meme-frame {
    position: relative;
    padding-top: 56.25%;
    border: 3px solid orange;
    border-radius: 8px;
    background: #000;
  }
  
  .meme-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .meme-tag {
    position: absolute;
    background: rgba(0,0,0,0.7);
    color: orange;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid orange;
    animation: float 3s ease-in-out infinite alternate;
  }
  
  .elon-quote {
    margin-top: 20px;
    text-align: right;
    font-style: italic;
    color: white;
    font-size: 1.3rem;
  }
  
  .signature {
    color: orange;
  }
  
  .elon-facts {
    list-style: none;
    padding: 0;
    margin-top: 25px;
  }
  
  .elon-facts li {
    margin-bottom: 12px;
    color: white;
  }
  
  .elon-facts i {
    color: orange;
    margin-right: 10px;
    width: 20px;
    text-align: center;
  }
  
  /* Video Container */
  .video-frame {
    position: relative;
    border: 3px solid orange;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255,165,0,0.1);
  }
  
  .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
  }
  
  .video-container iframe,
  .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,165,0,0.8);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .video-play-overlay:hover {
    background: orange;
  }
  
  .video-play-btn {
    background: orange;
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'Comic Sans MS', cursive;
    font-weight: bold;
    cursor: pointer;
    display: none; /* Hidden by default */
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
  }
  
  .video-play-btn:hover {
    background: #ff8c00;
  }
  
  .volume-toggle {
    background: rgba(0,0,0,0.7);
    border: 1px solid orange;
    color: orange;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  
  .volume-toggle:hover {
    background: orange;
    color: black;
  }
  
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 10;
  }
  
  /* Footer */
  footer {
    background-color: #111;
    color: orange;
    padding: 25px;
    text-align: center;
    border-top: 2px solid orange;
    margin-top: 30px;
  }
  
  footer p {
    margin: 0;
    font-size: 1rem;
  }
  
  .disclaimer p {
    color: #aaa;
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto 10px;
  }
  
  .copyright p {
    color: #666;
    font-size: 0.8rem;
    margin: 15px 0 0;
  }
  
  /* Floating Buttons */
  .floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 1000;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
  }
  
  .floating-btn {
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
  }
  
  .buy-btn {
    background: orange;
    color: #000;
    border: 2px solid orange;
  }
  
  .buy-btn:hover {
    background: #ff8c00;
    transform: translateY(-3px);
  }
  
  .top-btn {
    background: #111;
    color: orange;
    border: 2px solid orange;
    cursor: pointer;
  }
  
  .top-btn:hover {
    background: #222;
    transform: translateY(-3px);
  }
  
  .top-btn {
    display: none;
  }
  
  body.scrolled .top-btn {
    display: flex;
  }
  
  /* ===== ANIMATIONS ===== */
  @keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
  }
  
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 165, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 165, 0, 0); }
  }
  
  @keyframes blink {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
  }
  
  @keyframes subtleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
  }
  
  @keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  /* ===== RESPONSIVE STYLES ===== */
  @media (max-width: 992px) {
    .meme-frame {
      padding-top: 75%;
    }
  }
  
  @media (max-width: 768px) {
    body {
      font-size: 15px;
    }
  
    header {
      flex-direction: column;
      padding: 15px;
    }
  
    .header-left, .header-nav {
      margin: 10px 0;
    }
  
    .header-nav {
      flex-wrap: wrap;
      justify-content: center;
    }
  
    h1, h2, h3 {
      font-size: 90%;
    }
  
    /* Hero Section */
    #hero {
      min-height: 500px;
      padding-bottom: 40px;
    }
  
    .hero-text h1 {
      font-size: 2.5rem;
    }
  
    .tagline {
      font-size: 1.2rem;
    }
  
    .cta-buttons {
      flex-direction: column;
      gap: 15px;
    }
  
    /* Coin Price */
    .coin-price {
      flex-direction: column;
      gap: 15px;
      margin: 20px auto;
    }
  
    .coin-animation {
      width: 100px;
      height: 100px;
      margin: 0 auto 10px;
    }
  
    .floating-coin {
      animation: mobile-float 3s ease-in-out infinite;
    }
  
    .price-display {
      order: 2;
      margin-top: 0;
    }
  
    /* Social Proof */
    .social-proof {
      flex-direction: column;
      gap: 15px;
      align-items: center;
    }
  
    .proof-item {
      width: 100%;
      max-width: 300px;
    }
  
    /* Tokenomics */
    .tokenomics-grid {
      grid-template-columns: 1fr;
    }
  
    .card-image {
      height: 150px;
    }
  
    /* How to Buy */
    .buy-steps-container {
      flex-direction: column;
    }
  
    .buy-image {
      order: -1;
      width: 100%;
    }
  
    .step {
      padding: 15px;
    }
  
    /* Elon Section */
    .elon-container {
      flex-direction: column;
    }
  
    .elon-tweet {
      max-width: 100%;
    }
  
    .meme-tag {
      font-size: 0.7rem !important;
      padding: 2px 6px !important;
    }
  
    .meme-frame {
      padding-top: 100%;
    }
  
    /* Exchanges */
    .ticker__item {
      font-size: 1.2rem;
      padding: 0 20px;
    }
  
    /* Floating Buttons */
    .floating-buttons {
      width: 90%;
      justify-content: center;
    }
  
    .floating-btn {
      padding: 10px 15px;
      font-size: 0.9rem;
    }
  
    /* General Section Adjustments */
    section {
      padding: 40px 15px;
      overflow: visible !important;
    }
  
    .container {
      padding: 20px 15px;
      margin: 0 auto;
      width: calc(100% - 30px);
    }
  }
  
  /* Mobile-specific animations */
  @keyframes mobile-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
  }
  /* ===== Memes Section ===== */
.memes-section {
    background: #000;
    border-top: 2px solid orange;
    border-bottom: 2px solid orange;
    padding: 60px 0;
}

.meme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.meme-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.meme-item:hover {
    transform: translateY(-5px);
    border-color: orange;
    box-shadow: 0 10px 20px rgba(255,165,0,0.2);
}

.meme-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.meme-caption {
    background: rgba(0,0,0,0.7);
    color: orange;
    padding: 10px;
    text-align: center;
    font-family: 'Comic Sans MS', cursive;
}

.meme-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 10px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.meme-item:hover .meme-actions {
    opacity: 1;
}

.meme-download {
    background: orange;
    color: #000;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    text-align: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    margin-top: 5vh;
    border: 3px solid orange;
    border-radius: 10px;
}

.modal-caption {
    color: orange;
    font-family: 'Comic Sans MS', cursive;
    margin: 15px 0;
    font-size: 1.2rem;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: orange;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ff8c00;
}

@media (max-width: 768px) {
    .meme-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        max-width: 95%;
    }
}
/* Clipboard button styles */
.copy-btn {
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 8px;
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Contract address styling */
.contract-address {
    user-select: all;
    word-break: break-all;
    padding: 8px;
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
    margin: 8px 0;
    font-family: monospace;
}