/* GENERAL */
body {
  font-family: Arial, sans-serif;
  background: #f0f2f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

/* HEADER */
.site-header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 0.5rem 1rem;
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  justify-content: space-between;
}

/* LOGO */
.main-logo img {
  max-height: 50px;
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #007bff;
  margin-left: auto;
}

/* MENU */
.menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* DESKTOP DROPDOWN */
.dropdown {
  position: relative;
}

.dropbtn {
  background: #007bff;
  color: white;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.dropbtn:hover {
  background: #0056b3;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-radius: 8px;
  z-index: 10;
}

.dropdown-content a {
  color: #333;
  padding: 0.7rem 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
}

.dropdown-content img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
  border-radius: 8px;
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-content {
  display: block;
}

/* MOBILE COINS hidden on desktop */
.mobile-coins {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-coins a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.mobile-coins img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.mobile-coins a:hover {
  color: #007bff;
}

/* MAIN NAV LINKS */
.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #0056b3;
}

/* ICON ALIGNMENT FIX */
.main-nav a i, 
.mobile-coins a i {
  font-size: 1.1rem;
  vertical-align: middle;
}

/* HORIZONTAL BANNERS */
.banner {
  width: 100%;
  background: #f0f2f5;
  padding: 1rem 0;
  margin: 1rem 0;
}

.banner .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner img {
  width: 100%;
  max-width: 728px;
  height: auto;
  display: block;
}

/* HEADER TEXT */
.header {
  text-align: center;
}

.header h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.header p {
  font-size: 1rem;
  color: #555;
}

.header a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.header a:hover {
  text-decoration: underline;
}

/* CARDS CONTAINER */
.container.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

/* INDIVIDUAL CARDS */
.crypto-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  justify-content: space-between;
  min-height: 270px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.crypto-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.6), 0 0 15px rgba(0, 123, 255, 0.5);
}

/* LOGO IN CARD */
.logo {
  width: 100px;
  height: 100px;
  background: #e0e0e0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 1rem;
}

.logo img {
  width: 70%;
  height: auto;
}

/* CARD DESCRIPTION */
.description {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #333;
  min-height: 40px;
}

/* BUTTON STYLE */
.btn {
  background: #007bff;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  transition: background 0.3s;
  
}

.btn:hover {
  background: #0056b3;
  
}

footer {
  margin-bottom: 15px;
  
}

footer a {
  text-decoration: none;
}

/* REFERRAL LIST CONTAINER */
.list-container {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* REFERRAL ITEM */
.referral-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  width: 220px;
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.referral-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.4);
}

.referral-item h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.referral-item p {
  margin-bottom: 1rem;
  color: #555;
}

/* BUTTON REPEAT */
.btn {
  background: #007bff;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s;
}

.btn:hover {
  background: #0056b3;
}

/* PRIVACY PAGE CONTENT */
.privacy-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  max-width: 900px;
  padding: 2.5rem;
  margin: 2rem;
}

.privacy-container h1 {
  text-align: center;
  color: #333;
  margin-bottom: 1.5rem;
}

.privacy-container h2 {
  color: #007bff;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.privacy-container p,
.privacy-container li {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.privacy-container a {
  color: #007bff;
  text-decoration: none;
}

.privacy-container a:hover {
  text-decoration: underline;
}

/* TERMS PAGE CONTENT */
.terms-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  max-width: 900px;
  padding: 2.5rem;
  margin: 2rem;
}

.terms-container h1 {
  text-align: center;
  color: #333;
  margin-bottom: 1.5rem;
}

.terms-container h2 {
  color: #007bff;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.terms-container p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.terms-container a {
  color: #007bff;
  text-decoration: none;
}

.terms-container a:hover {
  text-decoration: underline;
}

/* SIDE BANNERS */
.fixed-banner-left, .fixed-banner-right {
  position: fixed;
  top: 100px; /* adjust this value if needed */
  width: 160px;
  height: 600px;
  z-index: 999;
}

.fixed-banner-left {
  left: 10px;
}

.fixed-banner-right {
  right: 10px;
}

.fixed-banner-left img,
.fixed-banner-right img {
  width: 160px;
  height: 600px;
  object-fit: cover;
}

/* Hide banners on mobile to avoid covering screen */
@media (max-width: 992px) {
  .fixed-banner-left,
  .fixed-banner-right {
    display: none;
  }
}

/* NEW: FIX BUTTON SIZE IN CARDS */
.crypto-card .btn {
  display: block;
  width: 100%;
  max-width: 180px;
  padding: 0.7rem 1rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  border-radius: 5px;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s;
}

  
.crypto-card .btn:hover {
  background: #0056b3;
}

/* RESPONSIVE - CENTER MENU ON MOBILE */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .dropdown {
    display: none;
  }

  .mobile-coins {
    display: flex;
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-radius: 0 0 10px 10px;
    margin-top: 1rem;
    padding: 1rem;
    gap: 1rem;
  }

  .menu.show {
    display: flex;
  }

  .main-nav, 
  .mobile-coins {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

  .main-nav a,
  .mobile-coins a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 0;
    box-sizing: border-box;
  }

  .main-nav a i,
  .mobile-coins a img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
  }

  .banner img {
    max-width: 468px;
  }
}

@media (max-width: 480px) {
  .banner img {
    max-width: 320px;
  }
}

/* RESPONSIVE CARDS & CONTAINERS */
@media (max-width: 480px) {
  .referral-item {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    padding: 0 2rem;
  }

  .privacy-container,
  .terms-container {
    padding: 1.5rem;
    margin: 1rem;
  }
}


