/* === GENERAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: #f0f0f0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* === TOPBAR === */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: linear-gradient(90deg, rgba(28, 37, 38, 0.9), rgba(17, 42, 46, 0.9));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  width: 100%;
  z-index: 100;
}

.top-left {
  display: flex;
  align-items: flex-start;
}

.top-logo {
  width: 110px;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.top-logo:hover {
  transform: scale(1.1);
}

.title-slogan {
  display: flex;
  flex-direction: column;
}

.title-slogan .title {
  font-size: 28px;
  font-weight: 700;
  color: #00d1b2;
  letter-spacing: 1px;
}

.title-slogan .slogan {
  font-size: 15px;
  color: #a0a0a0;
  font-style: italic;
  margin-top: 5px;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-link,
.top-btn {
  color: #fff;
  background: linear-gradient(45deg, #00d1b2, #00a68f);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.top-link:hover,
.top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 209, 178, 0.4);
}

.top-btn.theme-toggle {
  background: #333;
  color: #00d1b2;
}

.top-btn.theme-toggle:hover {
  background: #00d1b2;
  color: #000;
}

/* === WELCOME MESSAGE === */
.welcome-message {
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  margin-top: 80px; /* Topbar yüksekliği */
}

.welcome-message h1 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 0 2px 5px rgba(0, 209, 178, 0.3);
}

.welcome-message p {
  font-size: 16px;
  color: #a0a0a0;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* === MAIN LAYOUT === */
.main-layout {
  display: flex;
  padding: 20px 40px;
  gap: 20px;
}

/* === MARKET PANEL === */
.market-panel {
  flex: 0 0 20%; /* %20 genişlik */
  background: transparent !important; /* Şeffaf arka plan */
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.market-panel h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #00d1b2;
  text-transform: uppercase;
}

.market-list {
  list-style: none;
  padding-left: 0;
  font-size: 14px;
}

.market-list li {
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 5px;
  transition: background 0.2s;
}

.market-list li:hover {
  background: #2a3439;
}

/* === CONTENT CENTER (SUBSCRIPTION CARDS) === */
.content-center {
  flex: 0 0 65%; /* %65 genişlik */
  padding: 20px;
  text-align: center;
}

.subscription-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background: linear-gradient(135deg, #2a3439, #1c2526);
  padding: 25px;
  border-radius: 16px;
  width: 30%;
  min-width: 280px;
  border: 1px solid #00d1b2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 209, 178, 0.2), transparent);
  transition: 0.5s;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 209, 178, 0.4);
}

.card h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 15px;
}

.card .price {
  color: #00d1b2;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.card li {
  margin-bottom: 10px;
  color: #ccc;
  font-size: 14px;
}

.card .highlight {
  color: #ffd700;
  font-weight: 600;
}

.subscribe-btn {
  margin-top: 20px;
  padding: 12px 20px;
  background: linear-gradient(45deg, #00d1b2, #00a68f);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.subscribe-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(45deg, #00a68f, #00d1b2);
}

/* === USER PANEL === */
.user-panel {
  flex: 0 0 15%; /* %15 genişlik */
  max-height: 300px;
  overflow-y: auto;
  background: transparent !important; /* Şeffaf arka plan */
  padding: 17px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.user-panel h3 {
  font-size: 18px;
  color: #00d1b2;
  margin-bottom: 15px;
}

.user-panel p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

/* === SUCCESS WALL === */
.success-wall {
  width: 100%;
  padding: 50px 20px;
  background: #1c2526;
  border-radius: 12px;
  text-align: center;
  margin-top: 30px;
}

.success-wall h2 {
  font-size: 28px;
  color: #00d1b2;
  margin-bottom: 20px;
}

.success-meta {
  font-size: 14px;
  color: #a0a0a0;
  margin-bottom: 20px;
}

.success-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
  padding: 0 20px;
}

.success-card {
  background: #2a3439;
  border: 1px solid #00d1b2;
  border-radius: 12px;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.success-card:hover {
  transform: rotate(1deg) scale(1.02); /* Hafif dönme efekti */
  box-shadow: 0 6px 20px rgba(0, 209, 178, 0.25);
}

.success-card .pair {
  font-size: 15px;
  color: #00d1b2;
  font-weight: 600;
}

.success-card img {
  width: 20px;
  height: 20px;
}
.success-card .type {
  color: #ccc;
  font-size: 14px;
}

.success-card .comment {
  color: #999;
  font-style: italic;
  margin-top: 10px;
}
.success-card.long {
  border-left: 5px solid limegreen;
}

.success-card.short {
  border-left: 5px solid crimson;
}

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background: #2a3439;
  margin: 10% auto;
  padding: 25px;
  border-radius: 12px;
  width: 350px;
  border: 1px solid #00d1b2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #00d1b2;
  transition: color 0.2s;
}

.close:hover {
  color: #fff;
}

/* === LIGHT MODE === */
body.light-mode {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

body.light-mode .topbar {
  background: linear-gradient(90deg, #fff, #f0f0f0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

body.light-mode .top-logo {
  filter: brightness(0);
}

body.light-mode .market-panel,
body.light-mode .user-panel,
body.light-mode .success-wall,
body.light-mode .success-card,
body.light-mode .card {
  background: #fff;
  color: #111;
  border-color: #ccc;
}

body.light-mode .card .price,
body.light-mode .success-card .pair,
body.light-mode .market-panel h3,
body.light-mode .user-panel h3,
body.light-mode .success-wall h2 {
  color: #0077b6;
}

body.light-mode .subscribe-btn {
  background: linear-gradient(45deg, #0077b6, #00a68f);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .main-layout {
    flex-direction: column;
  }
   .welcome-message h1 {
    font-size: 28px;
  }
  .welcome-message p {
    font-size: 14px;
  }
  .market-panel,
  .user-panel {
    flex: 0 0 100%;
    max-width: 300px; /* Mobil için sınırlı genişlik */
  }
  .market-panel {
    background: transparent !important; /* Şeffaf arka plan */
  }
 
  .content-center {
    flex: 0 0 100%;
  }
  .card {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }
  .top-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .top-logo {
    width: 90px;
  }
  .title-slogan .title {
    font-size: 24px;
  }
  .title-slogan .slogan {
    font-size: 12px;
  }
  .main-layout {
    padding: 20px;
  }
  .see-more-btn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: linear-gradient(to right, #3f87a6, #ebf8e1, #f69d3c);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.see-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
  /* === Success Modal === */
.modal {
  display: none; /* Başlangıçta gizli */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #1e2a2d;
  margin: 5% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.modal-content h3 {
  color: #00d1b2;
  margin-bottom: 20px;
  font-size: 20px;
  border-bottom: 1px solid #00d1b2;
  padding-bottom: 10px;
}

.modal-content .success-card {
  background: #2a3439;
  border: 1px solid #00d1b2;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 15px;
}

.modal-content .success-card .pair {
  color: #00d1b2;
  font-weight: bold;
  margin-bottom: 5px;
}

.close {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
  transition: color 0.3s ease;
}

.close:hover {
  color: #fff;
}
}
