:root {
      --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      --card-bg: rgba(255,255,255,0.15);
      --card-border: rgba(255,255,255,0.25);
      --text-opacity: 0.9;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: var(--bg-gradient);
      color: white;
      min-height: 100dvh;
      margin: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 1rem 1.5rem; /* Increased horizontal padding */
      box-sizing: border-box;
    }

    .container {
      background: var(--card-bg);
      backdrop-filter: blur(12px);
      border-radius: 1.5rem;
      padding: 1.75rem 1.5rem; /* Increased horizontal padding */
      text-align: center;
      border: 1px solid var(--card-border);
      width: 100%;
      max-width: 480px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    }

    h1 {
      margin: 0 0 1.5rem;
      font-size: clamp(1.8rem, 7vw, 2.4rem);
      font-weight: 700;
      line-height: 1.1;
    }

    .recommend-btn {
      font-size: clamp(1.1rem, 5vw, 1.25rem);
      padding: 1rem 2.5rem;
      margin: 1.25rem 0 1.75rem;
      border: none;
      border-radius: 9999px;
      background: white;
      color: #4a148c;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.25s ease;
      box-shadow: 0 6px 20px rgba(0,0,0,0.3);
      touch-action: manipulation;
    }

    .recommend-btn:hover,
    .recommend-btn:focus-visible {
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    }

    .recommend-btn:active {
      transform: translateY(1px);
    }

    .stocks-container {
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
      margin: 0.5rem 0 1rem;
    }

    .stock-item {
      background: rgba(255,255,255,0.18);
      border-radius: 1rem;
      padding: 1.2rem;
      backdrop-filter: blur(6px);
      border: 1px solid var(--card-border);
      transition: all 0.3s ease;
      opacity: 0;
      transform: translateY(12px);
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }

    .stock-name {
      font-size: clamp(1.25rem, 5.5vw, 1.45rem);
      font-weight: 700;
    }

    .stock-description {
      font-size: clamp(0.8rem, 3.5vw, 0.875rem);
      opacity: 0.8;
      margin: 0;
      font-weight: 400;
    }

    .stock-item.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* ── 화면 크기별 조정 ── */
    @media (min-width: 480px) {
      .container {
        padding: 2rem 1.75rem;
      }
      
      .stocks-container {
        gap: 1.1rem;
      }
    }

    @media (min-width: 640px) {
      .container {
        max-width: 560px;
        padding: 2.25rem 2rem;
      }
      
      .stocks-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
      }
      
      .stock-item {
        font-size: 1.35rem;
        padding: 1.4rem 1rem;
      }
    }

    @media (min-width: 768px) {
      .container {
        max-width: 640px;
      }
      
      h1 {
        font-size: 2.8rem;
      }
    }

    .sub-text {
      opacity: 0.7;
      font-size: clamp(0.8rem, 3.5vw, 0.875rem);
      margin-top: 1.75rem;
      line-height: 1.4;
    }
    
    /* ── 추가 콘텐츠 스타일 ── */
    .content-container {
      background: var(--card-bg);
      backdrop-filter: blur(12px);
      border-radius: 1.5rem;
      padding: 1.75rem 1.5rem; /* Increased horizontal padding */
      border: 1px solid var(--card-border);
      width: 100%;
      max-width: 480px;
      margin-top: 2rem;
      box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    }

    .content-article {
      text-align: left;
      line-height: 1.6;
      padding: 1rem 0; /* Added internal padding */
    }

    .content-article:not(:last-child) {
      border-bottom: 1px solid var(--card-border);
      padding-bottom: 1.5rem;
      margin-bottom: 1.5rem;
    }

    .content-article h2 {
      font-size: 1.6rem;
      font-weight: 700;
      margin-top: 0;
      margin-bottom: 1rem;
      color: white;
    }

    .content-article p,
    .content-article ul {
      margin-top: 0;
      margin-bottom: 1rem;
      font-size: 0.95rem;
      opacity: var(--text-opacity);
    }

    .content-article ul {
      padding-left: 1.5rem;
    }

    .content-article li {
      margin-bottom: 0.5rem;
    }

    .content-article strong {
      font-weight: 700;
      color: white;
    }

    @media (min-width: 640px) {
      .content-container {
        max-width: 560px;
        padding: 2.25rem 2rem;
      }
    }

    @media (min-width: 768px) {
      .content-container {
        max-width: 640px;
      }
    }

    /* ── 푸터 스타일 ── */
    footer {
      width: 100%;
      max-width: 640px;
      padding: 1rem;
      box-sizing: border-box;
      text-align: center;
      margin-top: 1rem;
    }
