:root {
    --bg-main: #f4f4f6;
    --bg-section-1: #fff0f2;
    --bg-section-2: #e8f2f7;
    --bg-section-3: #f5f2e9;
    --bg-section-4: #eef6f0;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --primary: #e54d7b;
    --primary-hover: #c93b63;
    --border-radius: 12px;
    --nav-bg: #1a1a1a;
    --nav-text: #ffffff;
  }

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

  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 100px; /* Space for floating window */
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.2s ease;
  }

  a:hover {
    color: var(--primary-hover);
  }

  img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
  }

  /* Header & Nav */
  header {
    background-color: var(--nav-bg);
    color: var(--nav-text);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
  }

  .brand img {
    height: 32px;
    border-radius: 4px;
  }

  .nav-links {
    display: none;
    gap: 15px;
    font-size: 0.95rem;
  }

  .nav-links a {
    color: #ddd;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
  }

  .nav-links a:hover {
    color: #fff;
    border-bottom-color: var(--primary);
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
  }

  /* Main Content */
  main {
    max-width: 1200px;
    margin: 0 auto;
  }

  section {
    padding: 40px 20px;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
  }

  .section-desc {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Hero Section */
  .hero {
    background: linear-gradient(135deg, #ffe3e9 0%, #f4f4f6 100%);
    padding-top: 60px;
    padding-bottom: 60px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--text-main);
  }

  .hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-composition {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
  }

  .hero-img-item {
    width: 120px;
    height: 160px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .hero-img-item:hover {
    transform: translateY(-5px);
  }

  .hero-img-item:nth-child(2) {
    width: 160px;
    height: 220px;
    margin-top: -20px;
    z-index: 2;
  }

  .hero-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }

  .download-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }

  .btn-download {
    display: inline-block;
    background-color: var(--primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(229, 77, 123, 0.3);
    transition: background-color 0.2s, transform 0.2s;
  }

  .btn-download:hover {
    background-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
  }

  /* Marquee */
  .marquee-wrapper {
    background: linear-gradient(90deg, #ff9a9e, #fecfef);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    margin-top: 30px;
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  }

  .marquee-content {
    display: inline-block;
    animation: marquee 15s linear infinite;
    font-weight: bold;
    color: #d12c5b;
    font-size: 1.1rem;
  }

  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Sections varied backgrounds */
  .sec-daily { background-color: var(--bg-section-1); }
  .sec-weekly { background-color: var(--bg-section-2); }
  .sec-campus { background-color: var(--bg-section-3); }
  .sec-society { background-color: var(--bg-section-4); }
  .sec-privacy { background-color: #f7f0f5; }
  .sec-feedback { background-color: #f0f5f9; }
  .sec-faq { background-color: #f9f6f0; }
  .sec-download { background-color: #1a1a1a; color: #fff; }

  /* Card Grids */
  .grid-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    gap: 15px;
  }

  .card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  .card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
  }

  /* Layout variations */
  .layout-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .list-item {
    background: #fff;
    padding: 15px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .list-item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .list-item img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
  }

  .list-item-text h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }
  
  .list-item-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
  }

  /* Posts / Replies */
  .post-thread {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
  }

  .post-header img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
  }

  .post-header .username {
    font-weight: bold;
    font-size: 0.95rem;
  }
  
  .post-body {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .post-replies {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
  }

  .reply-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .reply-item:last-child {
    margin-bottom: 0;
  }

  .reply-item img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
  }

  .reply-text {
    flex: 1;
  }

  .reply-text strong {
    color: var(--primary);
  }

  /* FAQ */
  .faq-list {
    max-width: 800px;
    margin: 0 auto;
  }

  .faq-item {
    background: #fff;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
  }

  .faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-main);
  }

  .faq-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
  }

  /* Download Section */
  .sec-download .section-title, .sec-download .section-desc {
    color: #fff;
  }
  
  .download-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
  }

  .install-steps {
    background: #2a2a2a;
    padding: 25px;
    border-radius: var(--border-radius);
  }

  .install-steps h3 {
    color: var(--primary);
    margin-bottom: 15px;
  }

  .install-steps ul {
    list-style: none;
    margin-bottom: 20px;
  }

  .install-steps li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    gap: 10px;
  }

  .install-steps li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
  }

  .download-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  }

  /* Floating Window */
  .floating-window {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    padding: 8px 15px;
    gap: 15px;
    width: 90%;
    max-width: 500px;
    z-index: 999;
    border: 1px solid #f0f0f0;
  }

  .floating-window img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .float-info {
    flex: 1;
    min-width: 0;
  }

  .float-info .title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
  }
  
  .float-info strong {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .float-info .size {
    font-size: 0.7rem;
    background: #eee;
    padding: 1px 5px;
    border-radius: 4px;
    color: #666;
  }

  .float-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .float-btns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }
  
  .float-btns a {
    font-size: 0.75rem;
    background: var(--primary);
    color: #fff;
    padding: 6px 10px;
    border-radius: 20px;
  }

  /* Footer */
  footer {
    background-color: #222;
    color: #888;
    padding: 30px 20px 60px;
    font-size: 0.8rem;
    text-align: center;
  }

  .footer-links {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .footer-links a {
    color: #aaa;
  }
  
  .footer-links a:hover {
    color: #fff;
  }

  .copyright {
    margin-bottom: 5px;
  }

  .footer-meta {
    color: #666;
    font-size: 0.75rem;
  }

  /* Media Queries */
  @media (min-width: 768px) {
    .header-inner {
      padding: 15px 30px;
    }
    .mobile-menu-btn {
      display: none;
    }
    .nav-links {
      display: flex;
    }
    .hero h1 {
      font-size: 2.8rem;
    }
    .hero-img-item {
      width: 180px;
      height: 240px;
    }
    .hero-img-item:nth-child(2) {
      width: 220px;
      height: 300px;
      margin-top: -30px;
    }
    .grid-cards {
      grid-template-columns: repeat(2, 1fr);
    }
    .download-layout {
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }
    section {
      padding: 60px 30px;
    }
  }

  @media (min-width: 1024px) {
    .hero h1 {
      font-size: 3.2rem;
    }
    .grid-cards {
      grid-template-columns: repeat(3, 1fr);
    }
    .list-item img {
      width: 140px;
      height: 140px;
    }
  }