<head>
<title>Tengdosh-Ustoz | Style</title>
</head>
:root {
      --bg-gradient: radial-gradient(circle at top, #f4f9ffd3, #fbfbfb);
      --text: #1f2937;
      --muted: #6b7280;
      --primary: #7c8cff;
      --border: rgba(255,255,255,0.45);
      --card-bg: rgba(255,255,255,0.7);
      --pill-bg: rgba(124,140,255,0.1);
      --btn-bg: rgba(255, 255, 255, 0.5);
      --glow: rgba(124, 140, 255, 0.3);
    }

    [data-theme="dark"] {
      --bg-gradient: radial-gradient(circle at top, #111827, #030712);
      --text: #f3f4f6;
      --muted: #9ca3af;
      --primary: #a5b4fc;
      --border: rgba(255,255,255,0.1);
      --card-bg: rgba(31, 41, 55, 0.7);
      --pill-bg: rgba(165, 180, 252, 0.1);
      --btn-bg: rgba(255, 255, 255, 0.05);
      --glow: rgba(165, 180, 252, 0.3);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      transition: background 0.3s, color 0.3s, border-color 0.3s;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg-gradient);
      background-attachment: fixed;
      color: var(--text);
      line-height: 1.5;
      overflow-x: hidden;
      min-height: 100vh;
    }

    .glass {
      background: linear-gradient(135deg, var(--card-bg), rgba(255,255,255,0.05));
      backdrop-filter: blur(22px) saturate(140%);
      -webkit-backdrop-filter: blur(22px) saturate(140%);
      border: 1px solid var(--border);
      box-shadow: 0 20px 40px rgba(0,0,0,0.08);
      border-radius: 30px;
    }

    #theme-toggle {
      position: fixed;
      bottom: 20px;
      right: 20px;
      padding: 12px;
      border-radius: 50%;
      border: none;
      background: var(--primary);
      color: white;
      cursor: pointer;
      z-index: 1000;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .top { padding-top: 50px; display: flex; justify-content: center; }
    .icon-top { 
      height: 200px; 
      width: 200px; 
      border-radius: 50%; 
      cursor: pointer; 
      transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      box-shadow: 0 0 15px gray;
    }
    .icon-top:hover {
      transform: scale(1.1);
      box-shadow: 0 0 25px var(--glow);
    }

    .hero { padding: 60px 20px; text-align: center; }
    .pill { display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--pill-bg); color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
    .hero h1 { font-size: clamp(32px, 8vw, 64px); line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
    .hero p { max-width: 580px; margin: auto; color: var(--muted); font-size: 18px; }
    
    .section-title { text-align: center; margin: 40px 0 20px; }
    
    .toggle-container { text-align: center; margin-bottom: 20px; }
    #toggle-schedule-btn {
      background: var(--card-bg);
      border: 1px solid var(--border);
      color: var(--text);
      padding: 12px 30px;
      border-radius: 15px;
      cursor: pointer;
      font-weight: 600;
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
    }
    #toggle-schedule-btn:hover {
      background: var(--primary);
      color: white;
      transform: translateY(-2px);
    }

    #upcoming-classes-container {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      padding: 0 20px;
    }
    #upcoming-classes-container.visible {
      max-height: 2000px; 
      opacity: 1;
      margin-bottom: 80px;
      padding: 20px;
    }

    .features, .principles-grid { 
      max-width: 1200px; 
      margin: 0 auto 80px; 
      display: grid; 
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
      gap: 25px; 
      padding: 0 20px; 
    }

    .card, .principle-card { 
      padding: 24px; 
      display: flex; 
      flex-direction: column; 
      height: 100%; 
      transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .card-img-container { 
      width: 100%; 
      height: 200px; 
      border-radius: 20px; 
      overflow: hidden; 
      margin-bottom: 20px; 
      border: 1px solid var(--border);
    }

    .card img, .principle-card img { 
      width: 100%; 
      height: 100%; 
      object-fit: cover; 
      transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .card:hover img, .principle-card:hover img {
      transform: scale(1.08);
    }

    .card h3, .principle-card h3 { margin-bottom: 10px; font-size: 20px; }
    .card p, .principle-card p { color: var(--muted); font-size: 15px; margin-bottom: 20px; flex-grow: 1; }

    .card a, .principle-card a {
      display: inline-block;
      text-decoration: none;
      color: var(--primary);
      font-weight: 600;
      padding: 12px 24px;
      background: var(--btn-bg);
      border: 1px solid var(--border);
      border-radius: 14px;
      width: 100%;           
      text-align: center;    
      transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
      margin-top: auto;
    }
    .card a:hover, .principle-card a:hover {
      background: var(--primary);
      color: #ffffff !important;
      transform: translateY(-3px);
      box-shadow: 0 10px 20px var(--glow);
    }

    .live-pulse {
      color: #ff4d4d;
      font-weight: 700;
      animation: pulse 1.5s infinite;
    }
    @keyframes pulse {
      0% { opacity: 1; }
      50% { opacity: 0.5; }
      100% { opacity: 1; }
    }

    /* â”€â”€ Background Orbs â”€â”€ */
    .bg-orbs {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }
    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.18;
      animation: drift linear infinite;
    }
    [data-theme="dark"] .orb { opacity: 0.13; }
    .orb-1 { width: 600px; height: 600px; background: #7c8cff; top: -200px; left: -100px; animation-duration: 28s; }
    .orb-2 { width: 400px; height: 400px; background: #a5b4fc; top: 30%; right: -150px; animation-duration: 22s; animation-delay: -8s; }
    .orb-3 { width: 300px; height: 300px; background: #818cf8; bottom: 10%; left: 20%; animation-duration: 35s; animation-delay: -15s; }
    @keyframes drift {
      0%   { transform: translate(0px, 0px) scale(1); }
      33%  { transform: translate(30px, -40px) scale(1.05); }
      66%  { transform: translate(-20px, 20px) scale(0.97); }
      100% { transform: translate(0px, 0px) scale(1); }
    }

    /* Ensure content renders above orbs */
    body > *:not(.bg-orbs) { position: relative; z-index: 1; }

    /* â”€â”€ Floating Particles â”€â”€ */
    #particles-canvas {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      opacity: 0.5;
    }

    /* â”€â”€ Quote Section â”€â”€ */
    .quote-section {
      max-width: 1200px;
      margin: 0 auto 80px;
      padding: 0 20px;
    }
    .quote-section-label {
      text-align: center;
      margin-bottom: 24px;
    }

    .quote-card {
      padding: 52px 48px 40px;
      position: relative;
      overflow: hidden;
      cursor: default;
      transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
    }
    .quote-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 32px 64px rgba(124,140,255,0.18);
    }

    /* big decorative quotation mark */
    .quote-card::before {
      content: '\201C';
      font-family: 'Playfair Display', serif;
      font-size: 240px;
      line-height: 1;
      position: absolute;
      top: -30px;
      left: 20px;
      color: var(--primary);
      opacity: 0.08;
      pointer-events: none;
      transition: color 0.3s;
    }

    /* animated accent bar */
    .quote-accent-bar {
      width: 48px;
      height: 4px;
      border-radius: 4px;
      background: var(--primary);
      margin-bottom: 28px;
      transition: width 0.6s ease;
    }
    .quote-card:hover .quote-accent-bar { width: 80px; }

    .quote-text {
      font-family: 'Playfair Display', serif;
      font-size: clamp(18px, 3vw, 26px);
      font-style: italic;
      line-height: 1.65;
      color: var(--text);
      margin-bottom: 28px;
      min-height: 100px;
      transition: opacity 0.35s ease, transform 0.35s ease;
    }
    .quote-text.fading {
      opacity: 0;
      transform: translateY(12px);
    }

    .quote-author {
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--primary);
      transition: opacity 0.35s ease;
    }
    .quote-author.fading { opacity: 0; }

    .quote-controls {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 32px;
      flex-wrap: wrap;
    }

    .q-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 10px 18px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: var(--btn-bg);
      color: var(--text);
      font-family: 'Inter', sans-serif;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      backdrop-filter: blur(8px);
      transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    .q-btn:hover {
      background: var(--primary);
      color: #fff;
      border-color: var(--primary);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px var(--glow);
    }
    .q-btn.active-like {
      background: #ff4d6d;
      color: #fff;
      border-color: #ff4d6d;
    }
    .q-btn.active-like:hover {
      background: #e63355;
      border-color: #e63355;
      box-shadow: 0 8px 20px rgba(255,77,109,0.35);
    }
    .q-btn svg { width: 16px; height: 16px; }

    /* progress ring around auto-advance */
    .q-auto-btn {
      position: relative;
      padding: 10px;
      border-radius: 50%;
      width: 44px;
      height: 44px;
      justify-content: center;
    }
    .q-auto-btn svg.ring-icon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
    .q-auto-btn svg.ring-icon circle {
      fill: none;
      stroke: var(--primary);
      stroke-width: 2;
      stroke-dasharray: 126;
      stroke-dashoffset: 126;
      transform: rotate(-90deg);
      transform-origin: center;
      transition: stroke-dashoffset 0.1s linear;
    }
    .q-auto-btn.auto-on { background: var(--pill-bg); border-color: var(--primary); }

    /* quote counter dots */
    .quote-nav {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-left: auto;
    }
    .q-nav-btn {
      width: 36px; height: 36px;
      border-radius: 50%;
      border: 1px solid var(--border);
      background: var(--btn-bg);
      color: var(--text);
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      backdrop-filter: blur(8px);
      transition: all 0.2s;
      font-size: 16px;
    }
    .q-nav-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

    .quote-counter {
      font-size: 12px;
      color: var(--muted);
      min-width: 44px;
      text-align: center;
    }

    /* like pop animation */
    @keyframes likePop {
      0%   { transform: scale(1); }
      40%  { transform: scale(1.4); }
      70%  { transform: scale(0.9); }
      100% { transform: scale(1); }
    }
    .like-pop { animation: likePop 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97); }

    /* copied toast */
    .copy-toast {
      position: fixed;
      bottom: 80px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: var(--primary);
      color: #fff;
      padding: 10px 22px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 600;
      opacity: 0;
      pointer-events: none;
      transition: all 0.3s ease;
      z-index: 9999;
    }
    .copy-toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    @media (max-width: 700px) {
      .quote-section > div:last-child {
        flex-direction: column;
      }
      .quote-section > div:last-child > img {
        width: 100% !important;
        max-width: 100% !important;
        height: 220px;
        order: 1;
      }
      .quote-section > div:last-child > .quote-card {
        order: 0;
      }
    }


    /* Mobile quote layout fixes */
    @media (max-width: 520px) {
      .quote-card{
        padding: 28px 18px 18px;
      }
      .quote-card::before{
        font-size: 170px;
        top: -34px;
        left: 10px;
      }
      .quote-accent-bar{ margin-bottom: 18px; }
      .quote-text{
        line-height: 1.45;
        margin-bottom: 18px;
        min-height: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
      }

      .quote-controls{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        align-items: center;
      }

      .quote-controls .q-btn{
        width: 100%;
        justify-content: center;
        min-height: 44px;
        padding: 10px 14px;
      }

      /* Keep auto button compact */
      .quote-controls .q-auto-btn{
        width: 44px;
        height: 44px;
        padding: 10px;
        border-radius: 50%;
        justify-self: end;
      }

      /* Place nav on its own row, full width */
      .quote-controls .quote-nav{
        grid-column: 1 / -1;
        margin-left: 0;
        justify-content: space-between;
        width: 100%;
      }

      .quote-counter{
        min-width: 80px;
        font-size: 12px;
      }

      .q-nav-btn{
        width: 44px;
        height: 44px;
      }
    }



/* Lucide icon helpers */
.lucide{width:16px;height:16px;vertical-align:-3px;margin-right:6px;}
.pill .lucide{width:14px;height:14px;margin-right:8px;vertical-align:-2px;}
.live-pulse .lucide{margin-right:8px;}
