/* =========================
   1. ROOT VARIABLES
========================= */

:root {
  /* Core Palette */
  --primary: #7b4a2c;
  --primary-dark: #6a3e24;
  --primary-light: #f6efe6;
  --primary-soft: #f0e3d4;
  --accent: #ffb200;
  --accent-gold: #ffd86b;
  --accent-orange: #ff7a00;

  /* Buttons */
  --button: #4c88c7;
  --button-hover: #3b76b4;
  --button-disabled: #ccc;

  /* Backgrounds */
  --bg-main: #f5efe8;
  --bg-card: #ffffff;
  --bg-soft: #f3f3f3;
  --bg-tint: #f4f4f4;
  --bg-dark: #3b2314;
  --bg-deep: #121417;

  /* Text Colors */
  --text-main: #333;
  --text-light: #777;
  --text-muted: #666;
  --text-inverse: #ffffff;
  --text-footer: #d6d6d6;
  --text-footer-muted: #c9c9c9;

  /* Borders & Shadows */
  --border-soft: #ddd;
  --border-accent: #ff7a00;

  --radius: 14px;
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.10);

  /* Containers & Layout */
  --container: 1200px;
  --transition: 0.25s ease;

  /* Brand Colors */
  --tg-color: #0088CC;
  --tg-2-color: #0074b3;
  --reddit-color: #FF4500;
  --reddit-2-color: #f14000;
  --timer-bg: #0d2a63;
  --success: #28a745;
  --live-text: #d35400;

  /* Fluid typography using clamp() */
  --fs-base: clamp(15px, 0.7vw + 13px, 18px);
  --fs-small: clamp(13px, 0.6vw + 11px, 15px);
  --fs-xs: clamp(11px, 0.5vw + 9px, 13px);

  /* Headings */
  --fs-h1: clamp(28px, 3.5vw, 52px);
  --fs-h2: clamp(24px, 2.8vw, 40px);
  --fs-h3: clamp(20px, 2.2vw, 32px);
  --fs-h4: clamp(18px, 1.8vw, 26px);
  --fs-h5: clamp(16px, 1.4vw, 22px);
  --fs-h6: clamp(15px, 1vw, 18px);

  /* UI */
  --fs-nav: clamp(14px, 0.8vw, 17px);
  --fs-button: clamp(14px, 0.8vw, 18px);
  --fs-meta: clamp(12px, 0.6vw, 14px);
  --fs-footer: clamp(12px, 0.6vw, 14px);

  /* Hero / Featured */
  --fs-hero-title: clamp(30px, 4vw, 64px);
  --fs-hero-subtitle: clamp(16px, 1.6vw, 24px);
  --fs-card-title: clamp(17px, 1.5vw, 24px);
  --fs-cta: clamp(17px, 1.6vw, 22px);

  /* Line Heights */
  --lh-tight: 1.2;
  --lh-normal: 1.55;
  --lh-loose: 1.75;
}

/* =========================
   2. RESET & BASE
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}

ul,
ol {
  margin-block-start: 1em;
  padding-inline-start: 40px;
  margin-block-end: 1em;
}

h1,
h2,
h3 {
  margin-block-start: 0.8em;
  margin-block-end: 0.8em;
}

hr {
  margin: 30px 0;
  border: 0.5px solid var(--border-soft);
}

/* =========================================
   3. GLOBAL FONT SIZE SYSTEM & BASE TYPOGRAPHY
========================================= */

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-tight);
}

h3 {
  font-size: var(--fs-h3);
}

p {
  font-size: var(--fs-base);
}

small {
  font-size: var(--fs-small);
}

nav a {
  font-size: var(--fs-nav);
}

button,
.btn {
  font-size: var(--fs-button);
}

.hero-title {
  font-size: var(--fs-hero-title);
}

.hero-subtitle {
  font-size: var(--fs-hero-subtitle);
}

.meta-text {
  font-size: var(--fs-meta);
}

footer {
  font-size: var(--fs-footer);
}

/* =========================
   4. LAYOUT & CONTAINERS
========================= */

.container {
  max-width: var(--container);
  margin: auto;
  padding: 0 20px;
}

/* =========================
   5. NAVIGATION & HEADER
========================= */

.navbar {
  width: 100%;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.nav-container {
  max-width: var(--container);
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img,
.navbar-logo-img {
  height: auto;
  max-height: 42px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}

.navbar-brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  gap: 28px;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-gold);
}

/* Language Switcher */
.language-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-soft);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.lang-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.lang-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: var(--bg-card);
  min-width: 160px;
  box-shadow: var(--shadow-card);
  z-index: 1001;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  margin-top: 10px;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
}

.lang-dropdown-content.show {
  display: block;
}

.lang-dropdown-content a {
  color: var(--text-main);
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  border-bottom: 1px solid var(--bg-soft);
  transition: var(--transition);
}

.lang-dropdown-content a:last-child {
  border-bottom: none;
}

.lang-dropdown-content a:hover {
  background-color: var(--bg-soft);
  color: var(--primary);
}

/* =========================
   6. HERO SECTION
========================= */

.hero {
  padding: 36px 20px;
  background: linear-gradient(180deg, var(--primary-light), var(--primary-soft));
}

.hero-container {
  max-width: var(--container);
  margin: auto;
  display: flex;
  align-items: center;
  gap: 50px;
  background: var(--bg-card);
  padding: 20px 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.hero-image img {
  width: 280px;
}

.hero-content h1 {
  font-size: 34px;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 14px;
}

.hero-content strong {
  color: #c48225;
}

.hero-buttons {
  margin-top: 20px;
  display: flex;
  gap: 16px;
}

.claim-btn {
  background: var(--tg-color);
  color: white;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.claim-btn:hover {
  transform: translateY(-2px);
  background: var(--tg-2-color);
}

.share-btn {
  background: var(--reddit-color);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
}

.share-btn:hover {
  opacity: 0.9;
  background: var(--reddit-2-color);
}

/* =========================
   7. SPINS SECTION & SPIN CARD
========================= */

.spins-section {
  padding: 70px 20px;
  max-width: var(--container);
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 40px;
}

.spins-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.spin-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.spin-card:hover {
  transform: translateY(-3px);
}

.spin-main {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
}

.spin-left img {
  width: 75px;
}

.spin-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spin-amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
}

.spin-time {
  font-size: 15px;
  color: var(--text-light);
  background: #e6e6e6;
  padding: 6px 12px;
  border-radius: 6px;
  width: fit-content;
}

.collect-btn {
  background: var(--button);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.collect-btn:hover {
  background: var(--button-hover);
}

.spin-bottom {
  background: #e9e9e9;
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 16px;
  border-top: 1px solid var(--border-soft);
}

/* =========================
   8. REDIRECT CARD (SPIN CARD Variant)
========================= */

.redirect-card-wrapper {
  margin: 30px 0;
  display: flex;
  justify-content: center;
}

.redirect-card {
  display: block;
  width: 100%;
  max-width: 650px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  padding: 20px 15px 10px 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.redirect-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #0066ff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 16px;
  white-space: nowrap;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.card-icon img {
  margin: 0 !important;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-soft);
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  flex: 1;
}

/* =========================
   9. FEATURED CARD & TIMER WIDGETS
========================= */

.offer-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-orange);
  color: var(--text-inverse);
  font-size: 10px;
  font-weight: 700;
  padding: 6px 16px;
  border-bottom-left-radius: 8px;
  letter-spacing: 0.5px;
}

.featured-card {
  grid-column: 1 / -1;
  background: var(--bg-tint);
  border: 2px solid var(--accent-orange);
}

.featured-main {
  align-items: center;
}

.expire-text {
  font-size: 14px;
  color: var(--text-main);
  margin-top: 5px;
}

.countdown {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.time-box {
  background: var(--timer-bg);
  color: var(--text-inverse);
  padding: 8px 10px;
  border-radius: 6px;
  text-align: center;
  min-width: 55px;
}

.time-box span {
  font-size: 18px;
  font-weight: 700;
  display: block;
}

.time-box small {
  font-size: 10px;
  opacity: 0.8;
}

.live-users {
  font-size: 13px;
  color: var(--live-text);
  font-weight: 600;
  margin-top: 6px;
}

/* =========================
   10. TASKS PAGE (Mobile First Setup)
========================= */

.tasks-section {
  padding: 40px 16px;
}

.tasks-container {
  max-width: 600px;
  margin: auto;
  background: var(--bg-card);
  padding: 25px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.tasks-container h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.tasks-sub {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 25px;
}

.tasks-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.task-card {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  transition: var(--transition);
}

.task-card.active {
  border: 2px solid var(--accent);
}

.task-card.completed {
  border: 2px solid var(--success);
}

.task-info h3 {
  font-size: 16px;
  margin-bottom: 3px;
}

.task-info p {
  font-size: 13px;
  color: var(--text-light);
}

.task-btn {
  width: 100%;
  background: var(--button);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.task-btn.loading {
  background: var(--button-disabled);
}

.task-card.completed .task-btn {
  background: var(--success);
}

.tasks-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

#finishBtn {
  width: 100%;
  background: var(--button-disabled);
  color: var(--text-inverse);
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: not-allowed;
}

#finishBtn.active {
  background: var(--accent);
  cursor: pointer;
}

/* =========================
   11. ARTICLE & GENERIC PAGE/BLOG STYLES
========================= */

.article-section {
  padding: 70px 20px;
  background: var(--bg-card);
}

.article-container {
  max-width: 800px;
  margin: auto;
  line-height: 1.8;
  color: var(--text-main);
  font-size: 16px;
}

.article-container h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.article-container h3 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--primary);
}

.article-container p {
  margin-bottom: 16px;
}

.article-container ul {
  margin: 15px 0;
  padding-left: 20px;
}

.article-container li {
  margin-bottom: 8px;
}

.article-container img {
  object-fit: cover;
  border-radius: 12px;
  height: auto;
}

.page-title {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 15px;
  text-align: left !important;
}

.page-meta {
  color: var(--text-light);
  margin-bottom: 30px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 15px;
}

.page-content {
  line-height: 1.6;
  font-size: 1.1rem;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
}

.featured-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 25px;
}

/* Blog Section */
.blog-section {
  padding: 70px 20px;
  background: var(--bg-card);
}

.blog-section-inner {
  max-width: var(--container);
  margin: auto;
}

.blog-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.blog-section-title {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.blog-section-sub {
  color: var(--text-light);
  font-size: 1rem;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Blog Card */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-bottom-color: var(--accent-gold);
}

.blog-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--primary-soft);
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}

.blog-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-soft), var(--primary-light));
}

.blog-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-date {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.45;
  margin: 0;
}

.blog-card:hover .blog-card-title {
  color: var(--primary);
}

/* =========================
   12. TELEGRAM BOTTOM BAR
========================= */

#tg-bottom-bar {
  position: fixed;
  bottom: -120px;
  left: 0;
  width: 100%;
  background: var(--bg-deep);
  color: var(--text-inverse);
  padding: 16px 20px;
  transition: bottom 0.4s ease;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.tg-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
}

.tg-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tg-icon {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.tg-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tg-heading {
  font-size: 17px;
  font-weight: 600;
}

.tg-subtitle {
  font-size: 13px;
  color: var(--text-footer);
  margin-top: 3px;
}

.tg-button {
  background: var(--tg-color);
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: var(--transition);
  font-size: 16px;
}

.tg-button:hover {
  background: var(--tg-2-color);
}

/* =========================
   13. TABLE
========================= */

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 20px 0;
}

thead {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: var(--text-inverse);
}

th {
  padding: 14px 16px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
}

td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
  color: var(--text-main);
}

tbody tr:nth-child(even) {
  background: var(--bg-soft);
}

tbody tr:hover {
  background: var(--primary-light);
  transition: var(--transition);
}

tbody tr:last-child td {
  border-bottom: none;
}

thead tr th:first-child {
  border-top-left-radius: var(--radius);
}

thead tr th:last-child {
  border-top-right-radius: var(--radius);
}

div:has(> table) {
  overflow-x: auto;
}

/* =========================
   14. SITE FOOTER
========================= */

.site-footer {
  background: var(--bg-dark);
  color: var(--text-inverse);
  margin-top: 70px;
}

.site-footer.has-tg-bar {
  padding-bottom: 140px !important;
}

.footer-container {
  max-width: var(--container);
  margin: auto;
  padding: 45px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand img {
  height: 42px;
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 350px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-footer);
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: var(--text-footer-muted);
}

/* =========================
   KEYFRAMES
========================= */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   15. MEDIA QUERIES
========================= */

/* Desktop & Tablets+ (min-width: 768px) */
@media (min-width: 768px) {
  .tasks-container {
    padding: 40px;
  }

  .task-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .task-btn {
    width: auto;
    padding: 10px 20px;
  }

  .tasks-footer {
    position: static;
    box-shadow: none;
    margin-top: 20px;
  }
}

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px 30px;
  }

  .hero-image img {
    width: 220px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .spins-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {

  /* Typography Overrides */
  body,
  p,
  .article-container,
  .page-content,
  li {
    font-size: 14px !important;
    line-height: 1.5;
  }

  h1,
  .hero-content h1,
  .page-title {
    font-size: 22px;
  }

  .hero-content h1 {
    font-size: 21px !important;
    margin-top: 0 !important;
  }

  h2,
  .article-container h2,
  .section-title,
  .tasks-container h2 {
    font-size: 20px !important;
    line-height: 1.35;
  }

  h3,
  .article-container h3,
  .task-info h3 {
    font-size: 18px !important;
    line-height: 1.4;
  }

  h4 {
    font-size: 16px !important;
    line-height: 1.4;
  }

  small,
  .spin-time,
  .spin-bottom,
  .tasks-sub,
  .tg-subtitle,
  .blog-date,
  .page-meta {
    font-size: 12px !important;
  }

  /* Buttons & Nav/UI */
  .collect-btn,
  .claim-btn,
  .share-btn,
  .task-btn,
  #finishBtn {
    font-size: 14px !important;
    padding: 12px;
  }

  .lang-btn,
  .tg-heading,
  .nav-menu a {
    font-size: 12px !important;
  }

  /* Structural Adjustments */
  .nav-menu {
    display: none;
  }

  .hero {
    padding: 20px !important;
  }

  .spins-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .spin-main {
    padding: 20px 20px 10px 20px;
    justify-content: center;
    flex-direction: row;
  }

  .spin-left img {
    width: 60px;
  }

  .spin-amount {
    font-size: 16px;
  }

  .spin-bottom {
    font-size: 10px !important;
    padding: 6px 16px;
  }

  .collect-btn {
    width: 100%;
    text-align: center;
  }

  .spins-section {
    padding: 28px 20px !important;
  }

  .section-title {
    margin-bottom: 20px;
  }

  .article-section {
    padding: 70px 30px;
  }

  .article-container h2 {
    line-height: normal;
  }

  .article-container img {
    width: 100%;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .featured-main {
    padding: 24px 20px 10px 20px !important;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Small Screen Devices (max-width: 600px) */
@media (max-width: 600px) {
  .tg-content {
    flex-direction: row;
    gap: 15px;
    text-align: center;
  }

  .card-content {
    flex-direction: row;
    gap: 15px;
  }

  .card-icon img {
    width: 60px;
    height: 60px;
  }

  .card-title {
    font-size: 16px;
  }

  #tg-bottom-bar {
    padding: 12px 16px;
  }

  .tg-button {
    padding: 10px 16px;
    font-size: 12px;
  }
}

/* Utility */
.lang-flag {
  height: 16px;
  border-radius: 2px;
}

.lang-arrow {
  font-size: 10px;
}

.no-posts {
  text-align: center;
}