:root {
    --brand-blue: #0066cc;
    --brand-light: #e6f2ff;
    --brand-dark: #003366;
    --aqua-bg: linear-gradient(180deg, #f0f8ff 0%, #e0f0ff 50%, #d0e8ff 100%);
    --text-main: #1a2b3c;
    --text-light: #5a7184;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);
    --shadow: 0 8px 24px rgba(0, 102, 204, 0.08);
    --radius: 16px;
    --font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }

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

  body {
    font-family: var(--font-family);
    color: var(--text-main);
    background: var(--aqua-bg);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  a {
    text-decoration: none;
    color: var(--brand-blue);
  }

  /* 水面光斑背景层 */
  .water-layer {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
  }
  .water-spot {
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    animation: floatSpot 20s infinite ease-in-out alternate;
  }
  @keyframes floatSpot {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    100% { transform: translate(20px, -20px) scale(1.2); opacity: 0.8; }
  }

  /* 顶部导航 */
  .top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.05);
  }
  .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 18px;
    color: var(--brand-dark);
    white-space: nowrap;
  }
  .logo-group img {
    height: 32px;
    width: auto;
  }
  .nav-links {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .nav-links a {
    color: var(--text-light);
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s;
  }
  .nav-links a:hover {
    color: var(--brand-blue);
    background: var(--brand-light);
  }
  .nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .search-box {
    display: flex;
    align-items: center;
    background: var(--brand-light);
    border-radius: 20px;
    padding: 6px 12px;
    border: 1px solid transparent;
  }
  .search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100px;
    font-size: 13px;
    color: var(--text-main);
  }
  .btn-download-nav {
    background: var(--brand-blue);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.2s;
  }
  .btn-download-nav:hover {
    background: var(--brand-dark);
  }

  /* 通用区块样式 */
  .section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }
  .section-header {
    text-align: center;
    margin-bottom: 40px;
  }
  .section-header h2 {
    font-size: 28px;
    color: var(--brand-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .section-header .persona {
    display: inline-block;
    background: var(--white);
    color: var(--brand-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid var(--brand-light);
  }
  .section-header p {
    color: var(--text-light);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
  }

  /* SVG 波浪分隔线 */
  .svg-divider {
    width: 100%;
    height: 30px;
    display: block;
    color: rgba(255, 255, 255, 0.5);
    fill: currentColor;
  }

  /* 首屏 */
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
  }
  .hero-text {
    flex: 1;
    max-width: 500px;
  }
  .hero-text h1 {
    font-size: 42px;
    line-height: 1.2;
    color: var(--brand-dark);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(255,255,255,0.8);
  }
  .hero-hook {
    font-size: 18px;
    color: var(--brand-blue);
    margin-bottom: 24px;
    font-weight: 500;
  }
  .hero-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
  }
  .stat-item {
    text-align: center;
  }
  .stat-item strong {
    display: block;
    font-size: 24px;
    color: var(--brand-dark);
  }
  .stat-item span {
    font-size: 13px;
    color: var(--text-light);
  }
  .hero-actions {
    display: flex;
    gap: 16px;
  }
  .btn-primary {
    background: var(--brand-blue);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
  }

  /* 水族展示缸 */
  .hero-tank {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 500px;
  }
  .tank-glass {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 40px;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.8), 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    height: 100%;
    position: relative;
    overflow: hidden;
  }
  .tank-cover {
    position: absolute;
    width: 90px;
    height: 130px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    animation: floatCover 6s infinite ease-in-out alternate;
  }
  .tank-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  @keyframes floatCover {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(3deg); }
  }

  /* 领航鱼市 */
  .fish-market {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .orbit-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .center-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    z-index: 10;
    width: 200px;
    text-align: center;
    transition: transform 0.3s;
  }
  .center-card:hover {
    transform: scale(1.05);
  }
  .center-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
  }
  .center-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--brand-dark);
  }
  .center-card p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
  }
  .orbit-cover {
    position: absolute;
    width: 80px;
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation: orbit 20s linear infinite;
    transition: transform 0.3s;
  }
  .orbit-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .orbit-container:hover .orbit-cover {
    animation-play-state: paused;
  }
  @keyframes orbit {
    from { transform: rotate(0deg) translateX(250px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(250px) rotate(-360deg); }
  }

  /* 潮汐播报站 */
  .tide-station {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
  }
  .tide-row {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px dashed var(--brand-light);
  }
  .tide-row:last-child {
    border-bottom: none;
  }
  .tide-time {
    font-weight: bold;
    color: var(--brand-dark);
    width: 80px;
    font-size: 16px;
  }
  .tide-covers {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  .tide-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
  }
  .tide-item img {
    width: 80px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
  }
  .tide-item span {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tide-row.active {
    background: linear-gradient(90deg, rgba(0,102,204,0.05) 0%, rgba(255,255,255,0) 100%);
    border-left: 4px solid var(--brand-blue);
    padding-left: 16px;
    animation: waveHighlight 3s infinite alternate ease-in-out;
  }
  @keyframes waveHighlight {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
  }
  .tide-row.future {
    opacity: 0.5;
  }

  /* 深潜排行榜 */
  .ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .rank-item {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s;
    margin-left: calc(var(--rank) * 10px);
  }
  .rank-item:hover {
    transform: translateX(5px);
  }
  .rank-num {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-light);
    width: 40px;
  }
  .rank-item:first-child .rank-num {
    color: var(--brand-blue);
  }
  .rank-item:first-child {
    border: 2px solid var(--brand-blue);
  }
  .rank-cover {
    width: 50px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 16px;
  }
  .rank-info {
    flex: 1;
  }
  .rank-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--brand-dark);
  }
  .rank-info p {
    font-size: 13px;
    color: var(--text-light);
  }
  .rank-heat {
    font-weight: bold;
    color: var(--brand-blue);
    margin-right: 16px;
  }
  .rank-trend {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
  }
  .trend-up {
    color: #cc0000;
    background: #ffe6e6;
  }
  .trend-down {
    color: #008800;
    background: #e6ffe6;
  }

  /* 水族展缸馆 */
  .genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
  .genre-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .genre-card:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
    transform: translateY(-4px);
  }
  .genre-card h3 {
    font-size: 18px;
    color: var(--brand-dark);
    margin-bottom: 12px;
  }
  .genre-covers {
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  .genre-covers img {
    width: 60px;
    height: 85px;
    object-fit: cover;
    border-radius: 6px;
    animation: floatCover 4s infinite ease-in-out alternate;
  }
  .genre-covers img:nth-child(2) {
    animation-delay: 1s;
  }

  /* 沉船打捞区 */
  .salvage-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }
  .salvage-main {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 2px solid var(--brand-light);
    position: relative;
    overflow: hidden;
  }
  .salvage-main::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,60 Q150,90 300,60 T600,60 T900,60 T1200,60 L1200,120 L0,120 Z' fill='%23e6f2ff'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
    z-index: 0;
  }
  .salvage-main img {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
  }
  .salvage-main h3 {
    font-size: 20px;
    color: var(--brand-dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
  }
  .salvage-main p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
  }
  .salvage-btn {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: var(--brand-blue);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: bold;
  }
  .salvage-list {
    flex: 1;
    display: grid;
    gap: 16px;
  }
  .salvage-item {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--brand-light);
  }
  .salvage-item img {
    width: 50px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 16px;
  }
  .salvage-item h4 {
    font-size: 15px;
    color: var(--brand-dark);
    margin-bottom: 4px;
  }
  .salvage-item span {
    font-size: 12px;
    color: var(--text-light);
  }

  /* 贝壳免费摊 */
  .free-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
  }
  .free-card {
    background: var(--white);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s;
  }
  .free-card:hover {
    transform: scale(1.05);
  }
  .free-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: transform 0.3s;
  }
  .free-card:hover img {
    transform: scale(1.02);
  }
  .free-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #00cc66;
    color: var(--white);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
  }
  .free-card h3 {
    font-size: 14px;
    color: var(--text-main);
    margin-top: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .free-card p {
    font-size: 12px;
    color: var(--text-light);
  }

  /* 漂流瓶邮局 */
  .bottle-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
  .bottle-card {
    background: rgba(255,255,255,0.7);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
    transform: rotate(calc(var(--rot) * 1deg));
    transition: transform 0.3s;
  }
  .bottle-card:hover {
    transform: rotate(0deg) scale(1.02);
  }
  .bottle-text {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 12px;
    font-style: italic;
  }
  .bottle-user {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .bottle-user img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
  }
  .bottle-user span {
    font-size: 12px;
    color: var(--text-light);
  }
  .stars {
    color: #ffaa00;
    font-size: 12px;
    margin-left: auto;
  }

  /* 浮标向导 */
  .faq-buoys {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 30px;
  }
  .buoy-btn {
    background: var(--white);
    border: 2px solid var(--brand-light);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--brand-blue);
    cursor: pointer;
    transition: all 0.2s;
  }
  .buoy-btn:hover, .buoy-btn.active {
    background: var(--brand-blue);
    color: var(--white);
    border-color: var(--brand-blue);
  }
  .faq-panel {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    display: none;
    animation: bubbleUp 0.3s ease-out;
  }
  .faq-panel.active {
    display: block;
  }
  .faq-panel h3 {
    font-size: 18px;
    color: var(--brand-dark);
    margin-bottom: 12px;
  }
  .faq-panel p {
    color: var(--text-light);
    font-size: 15px;
  }
  @keyframes bubbleUp {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  /* 登舱口 */
  .download-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
  }
  .step-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--brand-blue);
  }
  .step-card h3 {
    font-size: 18px;
    color: var(--brand-dark);
    margin-bottom: 12px;
  }
  .step-card p {
    font-size: 14px;
    color: var(--text-light);
    text-align: left;
    margin-bottom: 8px;
  }
  .submarine-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: var(--white);
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 8px solid #cce0ff;
    position: relative;
  }
  .submarine-panel::before, .submarine-panel::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: #99c2ff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #e6f2ff;
  }
  .submarine-panel::before { top: 20px; left: 20px; }
  .submarine-panel::after { bottom: 20px; right: 20px; }
  .qr-code {
    width: 160px;
    height: 160px;
    background: var(--brand-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px dashed var(--brand-blue);
    color: var(--brand-blue);
    font-weight: bold;
    font-size: 14px;
    text-align: center;
  }
  .download-btns {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .btn-dl-large {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-blue);
    color: var(--white);
    padding: 16px 48px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transition: transform 0.2s;
  }
  .btn-dl-large:hover {
    transform: translateY(-2px);
  }
  .btn-dl-large.ios {
    background: var(--brand-dark);
  }

  /* 页脚 */
  footer {
    background: var(--white);
    border-top: 1px solid var(--brand-light);
    padding: 40px 20px 20px;
    margin-top: 60px;
    color: var(--text-light);
    font-size: 13px;
  }
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
  }
  .footer-brand {
    max-width: 300px;
  }
  .footer-brand p {
    margin-top: 12px;
    line-height: 1.6;
  }
  .footer-links {
    display: flex;
    gap: 60px;
  }
  .footer-col h4 {
    color: var(--brand-dark);
    font-size: 15px;
    margin-bottom: 16px;
  }
  .footer-col ul {
    list-style: none;
  }
  .footer-col li {
    margin-bottom: 8px;
  }
  .footer-col a {
    color: var(--text-light);
  }
  .footer-col a:hover {
    color: var(--brand-blue);
  }
  .footer-bottom {
    border-top: 1px solid var(--brand-light);
    padding-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }

  /* 响应式 */
  @media (max-width: 992px) {
    .hero {
      flex-direction: column;
      text-align: center;
    }
    .hero-text {
      max-width: 100%;
    }
    .hero-stats {
      justify-content: center;
    }
    .hero-actions {
      justify-content: center;
    }
    .salvage-layout {
      flex-direction: column;
    }
    .submarine-panel {
      flex-direction: column;
      padding: 24px;
    }
  }
  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }
    .search-box {
      display: none;
    }
    .hero-text h1 {
      font-size: 32px;
    }
    .section {
      padding: 40px 16px;
    }
    .section-header h2 {
      font-size: 22px;
    }
    .orbit-container {
      height: auto;
      flex-direction: column;
    }
    .orbit-cover {
      display: none;
    }
    .tide-row {
      flex-direction: column;
      align-items: flex-start;
    }
    .tide-time {
      margin-bottom: 12px;
    }
    .footer-links {
      flex-wrap: wrap;
      gap: 30px;
    }
  }
  @media (max-width: 480px) {
    .hero-actions {
      flex-direction: column;
    }
    .btn-primary {
      width: 100%;
      text-align: center;
    }
    .submarine-panel {
      padding: 20px;
    }
    .btn-dl-large {
      width: 100%;
      padding: 12px 24px;
      font-size: 16px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    * {
      animation: none !important;
      transition: none !important;
    }
  }