/* ======================================================
   GlowTrove - Tech Futuristic Style CSS
   Author: Senior CSS Developer & UI Designer
   ======================================================
   1. CSS Reset & Normalize
   2. Variables & Fonts
   3. Layout Containers (Flexbox only!)
   4. Typography
   5. Header & Navigation
   6. Mobile Navigation (burger + overlay)
   7. Buttons & CTAs
   8. Section, Card, Grid, and Spacing
   9. Tables
  10. Testimonials & Review Cards
  11. Footer
  12. Cookie Consent Banner & Modal
  13. Animations & Transitions
  14. Responsive Breakpoints (Mobile first)
====================================================== */

/* 1. CSS Reset & Normalize */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, 
footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #1F2942;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #5BCFD6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F8D24B;
  text-decoration: underline;
}
button, .cta-button, input, select, textarea {
  font-family: inherit;
}

/* 2. Variables & Fonts (Fallbacks included) */
:root {
  --color-primary: #18233A;
  --color-secondary: #5BCFD6;
  --color-accent: #F8D24B;
  --color-bg: #324679;
  --color-card-bg: #232742;
  --color-foreground: #F3F6FF;
  --color-muted: #9093A6;
  --color-dark: #151928;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 4px 16px 0 rgba(91,207,214,0.10), 0 2px 8px rgba(40,56,142,0.065);
  --shadow-hover: 0 8px 24px 0 rgba(91,207,214,0.12), 0 4px 16px rgba(40,56,142,0.1);
  --transition: 0.24s cubic-bezier(.5,.15,.4,.85);
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url('https://fonts.gstatic.com/s/montserrat/v25/JTURjIg1_i6t8kCHKm45_dJE3gnD-w.ttf') format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'), url('https://fonts.gstatic.com/s/opensans/v34/mem8YaGs126MiZpBA-UFUK0Udc1UAw.ttf') format('truetype');
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
}

/* 3. Layout Containers (Flexbox only!) */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover,
.card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.03);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: #fff;
  color: #22233A!important;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(24,35,58,0.11);
  margin-bottom: 20px;
  min-width: 280px;
  max-width: 400px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid,
.crypto-grid,
.resource-categories,
.stat-grid,
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
@media (max-width: 1024px) {
  .feature-grid, .crypto-grid, .resource-categories, .stat-grid, .service-grid {
    gap: 16px;
  }
}
.feature-grid > div,
.crypto-grid > div,
.resource-categories > div,
.service-grid > div,
.stat-grid > div {
  flex: 1 1 210px;
  min-width: 220px;
  background: var(--color-card-bg);
  color: var(--color-foreground);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 24px 18px 24px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid > div:hover,
.crypto-grid > div:hover,
.resource-categories > div:hover,
.service-grid > div:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.025);
}

.unique-features-list {
  margin-top: 12px;
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--color-accent);
  font-size: 16px;
  font-family: var(--font-display);
}
.unique-features-list li {
  margin-bottom: 10px;
}

/***** Spacing helpers *****/
.cta-row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
}

/***** Badge Row *****/
.accreditation-badges, .partner-logos {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 16px;
}

/***** Cards & Grids for Blog and Testimonials *****/
.blog-posts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.blog-posts-list > div {
  flex: 1 1 340px;
  min-width: 280px;
  background: var(--color-card-bg);
  color: var(--color-foreground);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}
.blog-posts-list > div:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.018);
}

.featured-article {
  margin-top: 8px;
  background: linear-gradient(85deg, #18313A 50%, #5BCFD6 110%);
  color: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px 0 rgba(91,207,214,0.15);
  padding: 26px 22px 28px 22px;
  position: relative;
}

/***** cta-banner style for main calls to action *****/
.cta-banner {
  background: linear-gradient(94deg, #1F2942 60%, #5BCFD6 125%);
  border-radius: var(--radius);
  color: #fff;
  padding: 42px 32px;
  align-items: center;
  box-shadow: 0 9px 36px 0 rgba(91,207,214,0.10);
}
.cta-banner h1, .cta-banner h2 {
  color: #fff;
}

/***** Content wrapper/generic text section *****/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 12px;
  font-size: 17px;
  color: var(--color-foreground);
}
.text-section ul {
  margin-left: 18px;
  margin-bottom: 8px;
}

/***** Testimonial Slider & List *****/
.testimonial-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.star-ratings {
  display: flex;
  gap: 4px;
  align-items: center;
}
.testimonial-meta {
  font-size: 15px;
  color: #18233A;
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: -8px;
}

/***** Category/tag styling *****/
.category-tag {
  display: inline-block;
  background: var(--color-secondary);
  color: #19233F;
  border-radius: 16px;
  padding: 2px 12px 2px 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-top: 10px;
}

/***** Tables (assets page) *****/
table {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 32px;
  border-collapse: collapse;
  font-size: 16px;
  background: var(--color-card-bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
  color: var(--color-foreground);
  box-shadow: var(--shadow);
}
th, td {
  padding: 14px 10px;
  text-align: left;
}
th {
  background: #192440;
  color: var(--color-secondary);
  font-size: 15px;
}
tbody tr:nth-child(even) {
  background: #212944;
}
tbody tr:nth-child(odd) {
  background: #243256;
}

/***** 4. Typography *****/
h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.10;
  color: var(--color-secondary);
  letter-spacing: 1px;
  margin-bottom: 18px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-muted);
}
p, li {
  font-size: 16px;
  letter-spacing: 0.01em;
  line-height: 1.64;
}
strong {
  font-weight: bold;
  color: var(--color-accent);
}
ul, ol {
  margin-bottom: 14px;
  padding-left: 20px;
}
li {
  padding-left: 6px;
  margin-bottom: 5px;
}

/***** 5. Header & Navigation *****/
header {
  background-color: var(--color-primary);
  box-shadow: 0 1.5px 12px 0 rgba(32,44,86,0.08);
  z-index: 30;
  width: 100%;
  position: relative;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  text-decoration: none;
  letter-spacing: 0.01em;
  border-bottom: 2.5px solid transparent;
  transition: border-bottom var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2.5px solid var(--color-secondary);
}

/***** CTA BUTTONS *****/
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-secondary) 50%, var(--color-accent) 150%);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 3px 18px 0 rgba(248,210,75,0.13);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 22px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  outline: none;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(92deg, var(--color-accent) 30%, var(--color-secondary) 110%);
  color: #151928;
  box-shadow: 0 6px 28px 0 rgba(248,210,75,0.18);
  transform: translateY(-2px) scale(1.035);
}
.button-secondary {
  background: var(--color-card-bg);
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  border-radius: 32px;
  padding: 9px 28px;
  margin: 0 7px;
  transition: background var(--transition), color var(--transition);
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
}

/***** 6. MOBILE NAVIGATION (burger) *****/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 20px;
  top: 18px;
  z-index: 105;
  background: var(--color-secondary);
  color: #151928;
  border: none;
  border-radius: 38px;
  font-size: 2.1rem;
  line-height: 1;
  padding: 12px 20px 10px 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(91,207,214,0.15);
  outline: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31,41,66,0.98);
  box-shadow: -2px 0 32px rgba(91,207,214,0.13);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.99,0,.32,1.02);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 32px;
  padding-right: 16px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 2.1rem;
  padding: 10px 24px 10px 10px;
  cursor: pointer;
  align-self: flex-end;
  border-radius: 50%;
  transition: background 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-nav {
  margin-top: 16px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding-left: 36px;
  padding-right: 56px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.24rem;
  line-height: 2.08;
  text-decoration: none;
  padding: 10px 0;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  border-bottom: 1px solid #283D5C3D;
  width: 100%;
  transition: color var(--transition), border-bottom var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

/***** 7. Responsive Layout: Hide/Show Navigation *****/
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta-button {
    display: none;
  }
}
@media (max-width: 767px) {
  .container {
    max-width: 100vw;
    padding-left: 7px;
    padding-right: 7px;
  }
  .content-wrapper, .cta-banner, .card, .feature-grid > div,
  .crypto-grid > div, .resource-categories > div,
  .service-grid > div, .stat-grid > div, .blog-posts-list > div {
    padding-left: 12px;
    padding-right: 12px;
  
  }
}

 

/***** 8. Section, Card, Grid, and Spacing *****/
section {
  margin-bottom: 56px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 5px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .cta-banner {
    padding: 30px 10px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .blog-posts-list, .testimonial-slider, .testimonial-list,
  .feature-grid, .crypto-grid, .resource-categories, .stat-grid, .service-grid {
    flex-direction: column;
    gap: 18px;
  }
  .accreditation-badges, .partner-logos {
    gap: 14px;
  }
  .cta-row {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .testimonial-card, .blog-posts-list > div {
    min-width: unset;
    max-width: 100vw;
  }
}

/***** 9. Tables (assets comparison) *****/
@media (max-width: 700px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  th, td {
    padding: 9px 6px;
  }
  thead {
    display: none;
  }
  tr {
    margin-bottom: 18px;
    border-bottom: 1px solid #232742;
  }
  td {
    border: none;
    position: relative;
    padding-left: 42%;
  }
  td:before {
    position: absolute;
    left: 10px;
    width: 35%;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.98em;
  }
  td:nth-child(1):before { content: 'Asset Type'; }
  td:nth-child(2):before { content: 'Volatility'; }
  td:nth-child(3):before { content: 'Liquidity'; }
  td:nth-child(4):before { content: 'Main Use'; }
}

/***** 10. Testimonials & Review Cards *****/
/* Already styled. Add glow for futuristic feel */
.testimonial-card {
  position: relative;
  border: none;
  outline: 1.5px solid #e5eaf7;
  box-shadow: 0 1.5px 18px rgba(91,207,214,0.074), 0 0 0 2px #5BCFD633;
  color: #151928;
  font-size: 17px;
  background: #fff;
}
.testimonial-card::after {
  content: '';
  position: absolute;
  left: 13px;
  bottom: 8px;
  width: 32px;
  height: 7px;
  pointer-events: none;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(89deg, #5BCFD644 40%, #F8D24B55 125%);
  filter: blur(2px);
  opacity: 0.6;
}

/***** 11. Footer *****/
footer {
  background: #18233A;
  box-shadow: 0 -3px 24px 0 rgba(24,35,58,0.09);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  margin-top: 40px;
  width: 100%;
  padding-top: 36px;
  padding-bottom: 14px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 24px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex: 1 1 240px;
}
.footer-nav a {
  color: #5BCFD6;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  transition: color 0.15s, border-bottom 0.15s;
  border-bottom: 1.5px solid transparent;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F8D24B;
  border-bottom: 1.5px solid #F8D24B;
}
.footer-contact {
  flex: 2 1 320px;
  color: #F3F6FF;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  width: 17px;
  height: 17px;
  margin-right: 6px;
  vertical-align: middle;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  flex: 1 1 160px;
}
.footer-branding img {
  width: 33px;
  height: 33px;
  vertical-align: middle;
}
.footer-branding span {
  color: #8ac0c7;
  font-size: 14px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 17px;
    margin-bottom: 8px;
  }
  .footer-branding {
    margin-top: 10px;
    margin-bottom: 8px;
  }
}

/***** 12. Cookie Consent Banner & Modal *****/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #232742;
  color: #fff;
  box-shadow: 0 -3px 16px 0 #5BCFD63b;
  padding: 22px 20px 18px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  border-radius: 0;
  transition: transform 0.39s cubic-bezier(.99,0,.33,1.02);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner__text {
  flex: 2 1 380px;
  color: #fff;
}
.cookie-banner__actions {
  flex: 1 0 220px;
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 15px;
  padding: 8px 24px;
  border-radius: 24px;
  border: none;
  margin: 0 2px;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  font-weight: 600;
  outline: none;
  box-shadow: 0 2px 8px rgba(248,210,75,0.07);
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: #232742;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #344063;
  color: var(--color-accent);
}
.cookie-btn.settings {
  background: #151928;
  color: #F3F6FF;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 17px 6px 13px 8px;
    font-size: 15px;
  }
  .cookie-banner__actions {
    gap: 6px;
    justify-content: flex-start;
  }
}

/* Cookie preferences MODAL popup */
.cookie-modal {
  position: fixed;
  z-index: 2200;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31,41,66,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .33s cubic-bezier(.55,.23,.33,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__dialog {
  background: #fff;
  color: #19233A;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px #23274233, 0 1.5px 8px #5BCFD655;
  padding: 38px 30px 28px 30px;
  max-width: 380px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: popIn 0.39s cubic-bezier(.785,-0.02,.32,1.17) 1;
}
@keyframes popIn {
  0% {transform: scale(0.88) translateY(19px); opacity: 0.33;}
  70% {transform: scale(1.045) translateY(-3px); opacity: 0.98;}
  100% {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal__dialog h3 {
  font-size: 1.24rem;
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 700;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  margin: 9px 0;
}
.cookie-category label {
  font-size: 1rem;
  color: #18233A;
  font-family: var(--font-display);
}
.cookie-category .cookie-switch {
  margin-right: 7px;
}
.cookie-switch {
  appearance: none;
  width: 37px;
  height: 20px;
  background: #c3c3c3;
  border-radius: 18px;
  position: relative;
  outline: none;
  transition: background 0.24s;
  cursor: pointer;
}
.cookie-switch:checked {
  background: var(--color-secondary);
}
.cookie-switch:before {
  content: '';
  width: 16px;
  height: 16px;
  background: #fff;
  position: absolute;
  left: 2.5px;
  top: 2px;
  border-radius: 50%;
  transition: left 0.20s;
  box-shadow: 0 2px 6px #adbacc38;
}
.cookie-switch:checked:before {
  left: 19px;
}
.cookie-modal__footer {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  justify-content: flex-end;
  align-items: center;
}
.cookie-modal__footer .cookie-btn {
  padding: 7px 18px;
  font-size: 14px;
}

/* Essential cookies label always enabled */
.cookie-category .cookie-switch[disabled] + label {
  opacity:0.7;
  color: #434a55;
}

/***** 13. Animations & Micro-interactions *****/
.card, .testimonial-card, .blog-posts-list > div, .feature-grid > div, .crypto-grid > div, .resource-categories > div, .service-grid > div {
  transition: box-shadow var(--transition), transform var(--transition);
}
.cta-button, .cookie-btn {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.mobile-menu, .cookie-banner, .cookie-modal {
  transition: transform var(--transition), opacity var(--transition);
}

/***** 14. Media Queries for Responsive Layout *****/
@media (max-width: 1024px) {
  header .container {
    gap: 6px;
  }
  .main-nav {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.02rem;
  }
  h2 {
    font-size: 1.52rem;
  }
  .cta-button {
    font-size: 16px;
    padding: 10px 18px;
    margin-left: 0;
  }
}
@media (max-width: 531px) {
  body {
    font-size: 15px;
  }
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.10rem; }
  h3 { font-size: 1.04rem; }
  .cta-button { font-size: 15px; padding: 8px 13px; }
}

/* ===== END OF GlowTrove CSS ===== */