/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@400;700&family=Montserrat:wght@400;700&display=swap');

/* Banner sizing overrides */
.banner {
  height: 50vh;
  padding: 50px 20px;
}

.banner video {
  height: 70vh;
  object-fit: cover;
}

.banner h2 {
  font-size: 28px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.introduction, .featured-coins, .daily-news {
  padding: 10px 10px;
}

.introduction h2, .featured-coins h2, .daily-news h2 { font-size: 28px; }
.introduction p, .featured-coins p, .daily-news p { font-size: 16px; }

.section-title-text { padding-top: 70px; padding-bottom: 70px; }

.object { width: 30px; }

/* Additional styling for various screen sizes */
@media (max-width: 768px) {
  .object { width: 30px; }
}

.font-medium { font-weight: 500; }
.font-28 { font-size: 28px; }
.font-20-sp { font-size: 20px; }
.font-inter { font-family: 'Montserrat', Arial, sans-serif; }

.content-text-title-text p { margin-bottom: 20px; }
.elements-btn { margin-top: 50px; }

.btn-primary {
  background-color: gold;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

.btn-primary:hover { background-color: #0056b3; }

/* Main Banner */
.banner {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: black; /* Fallback color */
  overflow: hidden;
}

/* Banner Image Container */
.banner-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Improved Banner Image with Overlay */
.banner-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
  z-index: 2;
}

.banner-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transform: scale(1.05);
  transition: transform 0.5s ease-in-out;
}

/* Add slight zoom effect on hover */
.banner-image-container:hover img { transform: scale(1.1); }

/* Banner Content */
.banner-content {
  position: relative;
  z-index: 3;
  color: white;
  padding: 0 20px;
  max-width: 80%;
  text-align: center;
  animation: fadeIn 1.5s ease-in-out;
}

/* Text Styling */
.banner h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 48px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.banner p {
  font-size: 24px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

/* Call-to-Action Button */
.btn-banner {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to right, #ffcc00, #ff9900);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 153, 0, 0.4);
}

.btn-banner:hover {
  background: linear-gradient(to right, #ff9900, #ff6600);
  transform: scale(1.05);
}

/* Main Banner */
@media (max-width: 1024px) {
  .banner { height: 50vh; }
  .banner h1 { font-size: 36px; }
  .banner p { font-size: 20px; }
  .btn-banner { padding: 8px 16px; font-size: 0.9rem; }
}

@media (max-width: 768px) {
  .banner { height: 50vh; }
  .banner h1 { font-size: 28px; }
  .banner p { font-size: 16px; }
  .btn-banner { padding: 6px 12px; font-size: 0.8rem; }
}

/* Contact Section */
.contact-section {
  padding: 80px 20px;
  background-color: #111;
  color: white;
  text-align: center;
}

.contact-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-section p {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Montserrat', Arial, sans-serif;
}

.contact-form { max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* Custom File Upload Styling */
.file-upload-wrapper {
  display: flex;
  align-items: center;
  background-color: #222;
  border: 1px solid #444;
  border-radius: 5px;
  padding: 10px;
  height: 50px;
  width: 100%;
  transition: border-color 0.3s ease;
  margin-bottom: 20px;
  justify-content: flex-start;
}

.file-upload-wrapper:hover { border-color: #ffcc00; }

input[type="file"] { display: none; }

.custom-file-upload {
  background-color: #ffcc00;
  color: black;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
  font-size: 16px;
  height: auto;
  margin-right: 15px;
}

.custom-file-upload:hover { background-color: #ff9900; }

#file-chosen {
  font-style: italic;
  color: white;
  font-family: 'Montserrat', Arial, sans-serif;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  line-height: 1;
}

#fileList { list-style: none; padding-left: 0; margin-top: 10px; }

#fileList li {
  background-color: #444;
  color: white;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
}

#fileList li button {
  background-color: #ffcc00;
  color: black;
  border: none;
  padding: 5px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
}

#fileList li button:hover { background-color: #ff9900; }

/* Form Layout */
.form-row { display: flex; flex-wrap: wrap; gap: 20px; }
.form-group { flex: 1; margin-bottom: 20px; }
.form-group label { display: block; font-weight: bold; margin-bottom: 10px; font-family:'Montserrat', Arial, sans-serif; text-align: left; }

/* Input, Textarea, and Select Styles */
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid #444;
  background-color: #222;
  color: white;
  border-radius: 5px;
  font-family:'Montserrat', Arial, sans-serif;
  transition: border-color 0.3s ease;
}

/* Polished inputs: subtle glow, placeholder color, hover */
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9aa0a6; opacity: 1; }
.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover { border-color: #666; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #ffcc00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.12);
}

/* Status message above submit */
.form-status { 
  margin: 6px 0 6px; 
  font-family: 'Montserrat', Arial, sans-serif; 
  text-align: left; 
  font-size: 14px; 
}
.form-status.ok { color: #4CAF50; }
.form-status.warn { color: #ffcc00; }
.form-status.err { color: #ff6b6b; }

/* Dropdown (select) styling to match input fields */
.form-group select {
  appearance: none; /* Remove default dropdown styles */
  background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"%3E%3Cpath fill="%23ffffff" d="M2 0L0 2h4z" /%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus { border-color: #ffcc00; outline: none; }

/* Submit Button */
.btn-submit {
  display: inline-block;
  padding: 15px 30px;
  background-color: #ffcc00;
  color: black;
  font-weight: bold;
  text-decoration: none;
  border-radius: 25px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  font-family:'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  margin-top: 20px;
}

.btn-submit:hover { background-color: #ff9900; }

/* Responsive Adjustments */
@media (max-width: 768px) {
  .form-row { flex-direction: column; }
  .form-group { margin-bottom: 15px; }
  .btn-submit { width: 100%; padding: 15px; }
}

/* Scroll to Top Button Styles */
.scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  padding: 10px 20px;
  background-color: #ffcc00;
  color: black;
  font-size: 20px;
  border: none;
  border-radius: 50%;
  display: none;
  z-index: 1001;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.scrollToTopBtn:hover { background-color: #ff9900; }

/* Legacy footer styles (scoped away from the new shared footer) */
footer:not(.site-footer) {
  background: black;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 2px solid #444;
  font-family:'Montserrat', Arial, sans-serif;
}

footer:not(.site-footer) .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

footer:not(.site-footer) .footer-logo img { width: 150px; margin-bottom: 20px; }
footer:not(.site-footer) p { margin: 10px 0; font-size: 14px; }

footer:not(.site-footer) .footer-links {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

footer:not(.site-footer) .footer-links li { display: inline; }
footer:not(.site-footer) .footer-links li a { color: #ffcc00; text-decoration: none; font-size: 14px; transition: color 0.3s ease; }
footer:not(.site-footer) .footer-links li a:hover { color: #ffffff; }

@media (max-width: 768px) {
  footer:not(.site-footer) p { font-size: 12px; }
}

/* Footer parity with main page */
:root { --cta: white; --cta-strong: white; --cta-ink: #0f0f10; }

/* Prefer .site-footer block; keep generic footer rules above from affecting it */
.site-footer { background: linear-gradient(180deg, #0b0b0b 0%, #090909 40%, #070707 100%); border-top: none; color: #cfd2d6; padding: 60px 0 34px; }
.site-footer .container { width: min(92%, 1200px); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; column-gap: 48px; row-gap: 28px; align-items: start; }
.footer-col .footer-title { font-family: 'Montserrat', Arial, sans-serif; color: var(--cta); font-size: 20px; margin-bottom: 12px; }
.brand .brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.brand .brand-logo { width: 36px; height: 36px; }
.brand .brand-name { font-size: 20px; font-weight: 700; color: #fff; }
.brand .brand-text { color: #b9bdc3; margin-bottom: 14px; text-align: left; line-height: 1.6; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: grey; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: #ffcc00; outline: none; }
.newsletter-text { color: #b9bdc3; margin-bottom: 10px; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.newsletter-input { width: 100%; padding: 12px 14px; border-radius: 999px; border: 1px solid #ffcc00; background: rgba(255,255,255,0.04); color: #e9ecef; }
.newsletter-input::placeholder { color: #9aa0a6; }
.newsletter-btn { padding: 12px 22px; border-radius: 999px; border: 1.5px solid #ffcc00; background: transparent; color: #ffcc00; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.newsletter-btn:hover, .newsletter-btn:focus-visible { background:#ffcc00; color: black; outline: none; transform: translateY(-1px) scale(1.02); box-shadow: 0 6px 16px rgba(0,0,0,0.35); }
.footer-social { margin-top: 20px; display: flex; gap: 15px; justify-content: center; }
.social-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: grey; transition: all 0.3s ease; }
.social-link img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0.95); }
.social-link:hover { background: #ffcc00; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); }
.social-link:hover img { filter: brightness(0.2); }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; color: #9aa0a6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Responsive */
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 30px; row-gap: 40px; } .brand .brand-text { font-size: 14px; line-height: 1.5; } .footer-col .footer-title { font-size: 18px; } .newsletter-input { padding: 10px 14px; } }
@media (max-width: 767px) { .site-footer { padding: 40px 0 25px; text-align: center; } .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 0 15px; } .brand .brand-row { justify-content: center; margin-bottom: 15px; } .brand .brand-text { text-align: center; font-size: 14px; line-height: 1.5; margin: 0 auto 10px; max-width: 290px; color: #b9bdc3; } .footer-col { margin-bottom: 0; padding-bottom: 5px; } .footer-col .footer-title { font-size: 17px; margin-bottom: 12px; color: white !important; } .footer-links { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 15px; margin: 0 auto 10px; } .footer-links li { display: inline-block; } .footer-links a { font-size: 14px; padding: 5px 10px; color: #aaa !important; display: inline-block; } .footer-links a:hover, .footer-links a:focus-visible { color: white !important; } .newsletter-text { font-size: 14px; max-width: 250px; margin: 0 auto 12px; } .newsletter-form { max-width: 280px; margin: 0 auto; grid-template-columns: 1fr; gap: 10px; } .newsletter-input { width: 100%; padding: 12px 15px; text-align: center; font-size: 14px; } .newsletter-btn { width: 100%; padding: 12px; font-size: 14px; margin-bottom: 15px; } .footer-social { margin: 5px auto 0; display: flex; justify-content: center; gap: 16px; } .social-link { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); } .social-link img { width: 20px; height: 20px; } .footer-bottom { margin-top: 25px; padding-top: 15px; } .copyright { font-size: 13px; color: #777; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .newsletter-form { grid-template-columns: 1fr; } }
@media (max-width: 380px) { .site-footer .container { width: 100%; padding: 0 10px; } .brand .brand-text { font-size: 13px; max-width: 260px; } .footer-links { gap: 8px; } .footer-links a { font-size: 13px; padding: 4px 8px; } .newsletter-form { max-width: 250px; } .newsletter-input { padding: 10px 15px; } .newsletter-btn { padding: 10px; } .social-link { width: 36px; height: 36px; } .social-link img { width: 18px; height: 18px; } }

/* Match main page mobile footer layout exactly */
@media (max-width: 767px) {
  /* Safety: prevent overlays */
  .site-footer { overflow: visible; }
  .site-footer .container { width: min(94%, 640px); margin: 0 auto; }

  /* Two-column Explore/Policies; Brand+Newsletter full width */
  .footer-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 22px !important; padding: 0 16px !important; grid-auto-flow: row; align-items: start; }

  /* Reset any transforms/positioning */
  .footer-col, .footer-col * { position: static !important; transform: none !important; z-index: auto !important; }

  .footer-col.brand,
  .footer-col.newsletter { grid-column: 1 / -1 !important; }

  .footer-col[aria-label="Explore"],
  .footer-col[aria-label="Policies"] { text-align: center; }

  .footer-col[aria-label="Explore"] .footer-links,
  .footer-col[aria-label="Policies"] .footer-links { display: grid !important; gap: 10px !important; justify-items: center !important; margin: 0 auto !important; width: 100% !important; }

  .footer-col[aria-label="Explore"] .footer-links a,
  .footer-col[aria-label="Policies"] .footer-links a { display: inline-block !important; padding: 6px 0 !important; white-space: nowrap; }

  /* Newsletter: match main page sizing */
  .newsletter-text { font-size: 14px !important; max-width: 250px !important; margin: 0 auto 12px !important; }
  .newsletter-form { grid-template-columns: 1fr !important; max-width: 280px !important; margin: 0 auto !important; gap: 10px !important; }
  .newsletter-input, .newsletter-btn { width: 100% !important; }
  .newsletter-input { padding: 12px 15px !important; }
  .newsletter-btn { padding: 12px !important; font-size: 14px !important; margin-bottom: 15px !important; }
}

/* Very small devices: allow wrapping */
@media (max-width: 380px) {
  .footer-col[aria-label="Explore"] .footer-links a,
  .footer-col[aria-label="Policies"] .footer-links a { white-space: normal; }
}