:root {
    --bg-dark: #0a0a0c;
    --bg-panel: #141417;
    --brand-orange: #ff5c00;
    --brand-red: #ff2a55;
    --text-main: #f5f5f7;
    --text-muted: #9a9a9f;
    --border-color: #2a2a30;
    --card-radius: 12px;
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

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

  ul {
    list-style: none;
  }

  img {
    display: block;
    max-width: 100%;
  }

  /* Marquee */
  .top-marquee {
    background: #000;
    color: var(--text-muted);
    font-size: 12px;
    padding: 6px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color);
  }
  .marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
  }
  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Header */
  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
  }
  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
  }
  .logo-area img {
    height: 32px;
    border-radius: 6px;
  }
  .nav-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
  }
  .nav-links a:hover {
    color: var(--text-main);
  }

  /* Hero Section */
  .hero-section {
    position: relative;
    padding: 60px 24px;
    background: radial-gradient(circle at top right, rgba(255, 92, 0, 0.15), transparent 50%),
                radial-gradient(circle at bottom left, rgba(255, 42, 85, 0.1), transparent 50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
  }
  .hero-text {
    flex: 1;
    max-width: 600px;
  }
  .hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
  }
  .hero-text h1 span {
    color: var(--brand-orange);
  }
  .hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
  }
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
  }
  .btn-primary {
    background: var(--brand-orange);
    color: #fff;
  }
  .btn-primary:hover {
    background: #e65400;
    transform: translateY(-2px);
  }
  .btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
  }
  .btn-outline:hover {
    background: var(--border-color);
  }
  
  /* Hover QR */
  .qr-wrapper {
    position: relative;
    display: inline-block;
  }
  .qr-popover {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    z-index: 10;
  }
  .qr-popover img {
    width: 120px;
    height: 120px;
    object-fit: cover;
  }
  .qr-wrapper:hover .qr-popover {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .hero-visuals {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
  }
  .hero-visuals img {
    width: 40%;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    aspect-ratio: 3/4;
    object-fit: cover;
  }
  .hero-visuals img:nth-child(2) {
    margin-top: 40px;
  }

  /* Sections Common */
  section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .section-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
  }
  .section-header p {
    color: var(--text-muted);
    font-size: 16px;
  }

  /* Hot Ranking */
  .ranking-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
  .ranking-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-panel);
    padding: 16px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-color);
  }
  .rank-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--brand-orange);
    width: 40px;
    text-align: center;
  }
  .rank-info {
    flex: 1;
  }
  .rank-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
  }
  .rank-info span {
    font-size: 13px;
    color: var(--text-muted);
  }
  .trend-up {
    color: var(--brand-red);
    font-size: 14px;
    font-weight: bold;
  }
  .ranking-visuals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .ranking-visuals img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--card-radius);
  }
  .ranking-visuals img:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
    object-fit: cover;
  }

  /* AI / Carousel */
  .carousel-container {
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
  }
  .carousel-container::-webkit-scrollbar {
    display: none;
  }
  .carousel-track {
    display: flex;
    gap: 20px;
    width: max-content;
  }
  .ai-card {
    width: 240px;
    background: rgba(20, 20, 23, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
  }
  .ai-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
  }
  .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand-red);
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
  }
  .badge.new {
    background: #00e676;
    color: #000;
  }
  .card-info {
    padding: 16px;
  }
  .card-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .card-info p {
    font-size: 13px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Schedule */
  .timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-left: 2px solid var(--border-color);
    padding-left: 24px;
    margin-left: 12px;
  }
  .timeline-item {
    position: relative;
    display: flex;
    gap: 20px;
  }
  .timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-orange);
    box-shadow: 0 0 10px var(--brand-orange);
  }
  .time-label {
    font-size: 18px;
    font-weight: bold;
    color: var(--brand-orange);
    width: 60px;
    flex-shrink: 0;
  }
  .schedule-content {
    background: var(--bg-panel);
    padding: 12px 16px;
    border-radius: 8px;
    flex: 1;
    font-size: 14px;
  }

  /* Panels */
  .panels-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .panel {
    background: var(--bg-panel);
    padding: 24px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-color);
  }
  .panel h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .wishlist-item {
    margin-bottom: 16px;
  }
  .wishlist-text {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 6px;
  }
  .progress-bar {
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
  }
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-orange), var(--brand-red));
    border-radius: 3px;
  }
  .sync-visual {
    text-align: center;
    padding: 20px 0;
    color: var(--text-muted);
  }
  .sync-icon {
    font-size: 40px;
    color: var(--brand-orange);
    margin-bottom: 16px;
  }

  /* Reviews Waterfall */
  .reviews-grid {
    column-count: 3;
    column-gap: 20px;
  }
  .review-card {
    background: rgba(30, 30, 35, 0.6);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: var(--card-radius);
    margin-bottom: 20px;
    break-inside: avoid;
    border: 1px solid var(--border-color);
  }
  .review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }
  .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
  }
  .stars {
    color: #ffb400;
    font-size: 14px;
  }
  .review-text {
    font-size: 14px;
    color: var(--text-main);
  }

  /* FAQ */
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .faq-item {
    background: var(--bg-panel);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
  }
  .faq-question {
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .faq-question:hover {
    color: var(--brand-orange);
  }
  .faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
    font-size: 14px;
  }
  .faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
    max-height: 200px;
  }
  .faq-item.active {
    border-color: var(--brand-orange);
  }

  /* Download Section */
  .download-section {
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-panel));
    border-radius: 24px;
    padding: 60px 24px;
    margin-bottom: 60px;
  }
  .download-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
  }
  .download-section p {
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-inline: auto;
  }
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    text-align: left;
  }
  .step-item {
    background: var(--bg-panel);
    padding: 24px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-color);
  }
  .step-item h3 {
    color: var(--brand-orange);
    margin-bottom: 12px;
  }
  .step-item p {
    margin-bottom: 0;
    font-size: 14px;
  }
  .download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .download-buttons .btn {
    min-width: 160px;
  }

  /* Footer */
  .site-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
  }
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-content p {
    margin-bottom: 8px;
  }

  /* Modal */
  .modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  .modal-overlay.active {
    display: flex;
  }
  .modal-box {
    background: var(--bg-panel);
    padding: 24px;
    border-radius: var(--card-radius);
    max-width: 400px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--border-color);
  }
  .modal-box p {
    margin-bottom: 16px;
  }
  .copy-input {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 6px;
    margin-bottom: 16px;
    text-align: center;
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .hero-section { flex-direction: column; text-align: center; }
    .hero-text { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-visuals { justify-content: center; width: 100%; }
    .hero-visuals img { width: 45%; }
    .ranking-layout { grid-template-columns: 1fr; }
    .reviews-grid { column-count: 2; }
    .panels-layout { grid-template-columns: 1fr; }
  }

  @media (max-width: 768px) {
    .site-header { flex-direction: column; gap: 16px; padding: 12px; }
    .nav-links { display: none; }
    .hero-text h1 { font-size: 32px; }
    .hero-visuals img { width: 48%; }
    .hero-visuals img:nth-child(2) { margin-top: 20px; }
    .reviews-grid { column-count: 1; }
    .steps-grid { grid-template-columns: 1fr; }
    .download-buttons { flex-direction: column; align-items: stretch; }
    .download-buttons .btn { width: 100%; }
    .ranking-visuals { grid-template-columns: 1fr; }
    .ranking-visuals img:first-child { grid-column: 1; aspect-ratio: 3/4; }
  }