@import url('https://fonts.googleapis.com/css?family=Varela:100,200,300,400,500,600,700,800,900');
@import url('https://fonts.googleapis.com/css?family=Muli|Great+Vibes|Marmelad');
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
@import "tailwindcss";

/* 基础样式 */
.heading-font {
  font-family: Catamaran, Helvetica, Arial, sans-serif;
  font-weight: 200;
  letter-spacing: 1px;
}

.body-font {
  font-family: Muli, Helvetica, Arial, sans-serif;
}

.alt-font {
  font-family: Lato, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Muli, Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: #222;
  color: #999;
}

#root {
  height: 100%;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Varela, Helvetica, Arial, sans-serif;
  font-weight: 200;
  letter-spacing: 1px;
  color: #111;
  margin: 0;
}

a {
  -webkit-transition: all .35s;
  -moz-transition: all .35s;
  transition: all .35s;
  text-decoration: none;
}

a:focus, a:hover {
  color: #bb0000;
  text-decoration: none;
}

hr {
  max-width: 100px;
  margin: 25px auto 0;
  border-width: 1px;
  border-color: rgba(34, 34, 34, .1);
}

hr.light {
  border-color: #fff;
}

p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* 导航栏样式 */
.navbar-default {
  font-family: Varela, Helvetica, Arial, sans-serif;
  font-weight: 200;
  letter-spacing: 1px;
  color: #111;
  background-color: #fff;
  border-color: rgba(34, 34, 34, .05);
  -webkit-transition: all .35s;
  -moz-transition: all .35s;
  transition: all .35s;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: Marmelad;
  color: #bb0000;
  display: flex;
  align-items: center;
}

.navbar-brand:focus, .navbar-brand:hover {
  color: #bb0000;
}

.nav-link {
  font-family: Lato, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: #222;
}

.nav-link:focus, .nav-link:hover {
  color: #fdcc52;
}

.nav-link.active {
  color: #bb0000 !important;
  background-color: transparent;
}

.menuhighlight {
  border-radius: 30px;
  background: #333;
  color: #fff !important;
  padding: 8px 17px;
  margin-top: 5px;
}

.menuhighlight:hover, .menuhighlight:active, .menuhighlight:focus {
  background: #444;
  color: #fff;
}

@media (min-width: 768px) {
  .navbar-default {
    background-color: transparent;
    border-color: transparent;
  }

  .navbar-brand {
    color: rgba(255, 255, 255, .7);
  }

  .navbar-brand:focus, .navbar-brand:hover {
    color: #fff;
  }

  .nav-link, .nav-link:focus {
    color: rgba(255, 255, 255, .7);
  }

  .nav-link:focus:hover, .nav-link:hover {
    color: #fff;
  }

  .navbar-default.affix {
    background-color: #fff;
    border: 0;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.03);
  }

  .navbar-default.affix .navbar-brand {
    color: #222;
  }

  .navbar-default.affix .navbar-brand:focus, .navbar-default.affix .navbar-brand:hover {
    color: #bb0000;
  }

  .navbar-default.affix .nav-link, .navbar-default.affix .nav-link:focus {
    color: #222;
  }

  .navbar-default.affix .nav-link:focus:hover, .navbar-default.affix .nav-link:hover {
    color: #fdcc52;
  }
}

.iconlogo {
  float: left;
  margin-top: -15px;
  margin-right: 10px;
}

/* 音频播放器 */
.audioembed {
  position: fixed;
  bottom: -6px;
  right: 0;
  z-index: 9;
}

/* 容器 */
.container {
  z-index: 2;
  position: relative;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 粒子动画层 */
.illustration {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.i-large,
.i-medium,
.i-small {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.i-medium {
  background: url("/img/particules_medium.png") repeat 0px 0px;
  -webkit-animation: dropFlowParticles 12s linear infinite;
  -o-animation: dropFlowParticles 12s linear infinite;
  animation: dropFlowParticles 12s linear infinite;
}

.i-small {
  background: url("/img/particules_small.png") repeat 0px 0px;
  -webkit-animation: dropFlowParticles 27s linear infinite;
  -o-animation: dropFlowParticles 27s linear infinite;
  animation: dropFlowParticles 27s linear infinite;
}

@-webkit-keyframes dropFlowParticles {
  from { background-position: 0 0; }
  to { background-position: 0 413px; }
}

@keyframes dropFlowParticles {
  from { background-position: 0 0; }
  to { background-position: 0 413px; }
}

/* Header 区域 - 精确复刻原始样式 */
header {
  position: relative;
  width: 100%;
  min-height: auto;
  overflow-y: hidden;
  color: #fff;
  background-image: url("/img/pic1.jpg");
  background-size: cover;
  background-position: center;
}

header::before {
  opacity: 0.7;
  background-color: #000;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  content: '';
  z-index: 1;
}

/* 基础样式 - 移动端 */
header .device-container {
  margin: 0 auto;
  max-width: 300px;
  position: relative;
  z-index: 2;
}

header .device-container img {
  max-width: 100%;
  height: auto;
}

header .header-content {
  position: relative;
  z-index: 2;
}

header .header-content .header-content-inner {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

header .header-content .header-content-inner h1 {
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 80px;
  font-family: 'Great Vibes', cursive;
  color: #fff;
}

header .header-content .header-content-inner h4 {
  color: #fff;
}

.header-content h1, .header-content h4 {
  color: #fff;
}

header .header-content .header-content-inner .list-badges {
  margin-bottom: 25px;
}

header .header-content .header-content-inner .list-badges img {
  height: 50px;
  margin-bottom: 25px;
}

header .device-container .screen img {
  border-radius: 3px;
}

/* 桌面端样式 - 精确复刻原始 CSS */
@media (min-width: 768px) {
  header {
    min-height: 100%;
  }

  header .device-container {
    max-width: 300px;
    margin: 0 auto 100px;
  }

  header .header-content {
    padding: 150px 0 50px;
    position: relative;
  }

  header .header-content {
    text-align: left;
    padding: 0;
    height: 100vh;
  }

  header .header-content .header-content-inner {
    max-width: none;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  header .header-content .header-content-inner h1 {
    font-size: 35px;
  }

  header .device-container {
    max-width: none;
    max-height: calc(0vh);
    margin: 100px auto 0;
  }
}

/* h1 字体大小覆盖 - 在所有断点下 */
header .header-content .header-content-inner h1 {
  font-size: 80px;
  font-family: 'Great Vibes', cursive;
  white-space: nowrap;
}

/* 社交图标 */
.social a {
  color: #fff;
  font-size: 20px;
  margin-right: 5px;
  width: 40px;
  height: 40px;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.social a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Section 通用样式 */
section {
  padding: 100px 0;
}

section h2 {
  font-size: 50px;
}

section .title {
  font-family: Marmelad;
}

/* Coupon Section */
section.couponsection {
  padding: 150px 0;
  position: relative;
  background: #37488a;
  text-align: center;
}

section.couponsection h2 {
  margin-top: 0;
  font-size: 70px;
  color: #fff;
}

section.couponsection p {
  color: #fff;
}

.coupon {
  width: 570px;
  max-width: 100%;
  margin: 0px auto;
  margin-top: 50px;
  padding: 40px;
  background: rgba(252, 255, 250, 0.14);
  text-align: center;
  border: 8px dashed rgba(255, 255, 255, 0.32);
  color: #fff;
}

.coupon h3, .coupon h4 {
  color: #fff;
}

.btn-buynow {
  display: inline-block;
  border: 2px solid transparent;
  color: #fff;
  font-size: 13px;
  padding: 15px 35px;
  background: #900d0d;
  margin-top: 10px;
  font-family: Lato, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 300px;
  text-decoration: none;
}

.btn-buynow:hover {
  opacity: 0.8;
  color: #fff;
}

/* FAQ Section */
section#faq {
  background-color: #edeef3;
}

section#faq p {
  font-size: 16px;
}

section#faq .section-heading {
  margin-bottom: 40px;
}

section#faq .section-heading h2 {
  margin-top: 0;
}

section#faq h3 {
  font-size: 20px;
  margin-bottom: 15px;
  margin-top: 30px;
}

section#faq h3:first-child {
  margin-top: 0;
}

/* Contact Section */
section#contact {
  position: relative;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  background-position: center;
  background-image: url("/img/pic2.jpg");
  text-align: center;
}

section#contact .overlay {
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, .7);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

section#contact .container {
  position: relative;
  z-index: 2;
}

section#contact h2 {
  color: #fff;
  margin-bottom: 60px;
}

#contactform input, #contactform textarea {
  border: 1px solid rgba(255, 255, 255, .09);
  background-color: rgba(255, 255, 255, 0.1);
  width: 100%;
  padding: 20px 20px;
  letter-spacing: 1px;
  font-size: 13px;
  margin-bottom: 20px;
  color: #fff;
  box-sizing: border-box;
}

#contactform input::placeholder, #contactform textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.done {
  display: none;
}

.done.show {
  display: block;
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  position: relative;
}

.alert-success .close {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #155724;
}

.error input, input.error, .error textarea, textarea.error {
  border: 1px solid orangered !important;
  transition: border linear 0.2s, box-shadow linear 0.2s;
}

#contactform input[type=submit] {
  width: 100%;
  border-radius: 300px;
  padding: 18px 20px;
  color: #fff;
  background: #bb0000;
  border: none;
  cursor: pointer;
  font-family: Lato, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#contactform input[type=submit]:hover {
  background: #aa0000;
}

/* Footer */
footer {
  background-color: #111;
  padding: 25px 0;
  text-align: center;
}

footer p {
  font-size: 12px;
  margin: 0;
  color: rgba(255, 255, 255, .3);
}

footer p a {
  color: rgba(255, 255, 255, .3);
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: inline-flex;
  gap: 15px;
}

footer ul li a {
  font-size: 12px;
  color: rgba(255, 255, 255, .3);
}

footer ul li a:hover, footer ul li a:focus, footer ul li a:active {
  text-decoration: none;
  color: rgba(255, 255, 255, .5);
}

/* 移动端菜单按钮 */
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 12px;
  color: #222;
  padding: 8px 10px;
  cursor: pointer;
}

.navbar-toggle i {
  margin-left: 5px;
}

@media (max-width: 767px) {
  .navbar-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    color: #222 !important;
  }

  .menuhighlight {
    display: inline-block;
    text-align: center;
  }
}

/* 按钮图片样式 */
.btnimg img {
  height: 50px;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* 响应式样式 */
@media (max-width: 800px) {
  header {
    padding: 100px 0 60px;
  }

  header .header-content .header-content-inner h1 {
    font-size: 50px;
    margin-top: 20px;
  }

  section .title, section.couponsection h2 {
    font-size: 30px;
  }

  header .header-content .header-content-inner {
    text-align: center;
  }
}

/* Grid 系统 */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-sm-6, .col-md-6, .col-lg-8 {
  padding: 0 15px;
  width: 100%;
}

@media (min-width: 576px) {
  .col-sm-6 {
    width: 50%;
  }
}

@media (min-width: 768px) {
  .col-md-6 {
    width: 50%;
  }
  .col-md-10 {
    width: 83.333333%;
  }
  .col-md-offset-1 {
    margin-left: 8.333333%;
  }
}

@media (min-width: 992px) {
  .col-lg-8 {
    width: 66.666667%;
  }
  .col-lg-offset-2 {
    margin-left: 16.666667%;
  }
  .col-lg-12 {
    width: 100%;
  }
}

/* 选择样式 */
@media (min-width: 992px) {
  .bg-primary {
    background: #37488a;
  }

  .text-primary {
    color: #fdcc52;
  }

  .no-gutter > [class*=col-] {
    padding-right: 0;
    padding-left: 0;
  }

  .btn-outline {
    color: #fff;
    border: 1px solid;
  }

  .btn-outline.active, .btn-outline:active, .btn-outline:focus, .btn-outline:hover {
    color: #fff;
    background-color: #fdcc52;
    border-color: #fdcc52;
  }

  .btn {
    border-radius: 300px;
  }

  .btn-xl {
    padding: 15px 45px;
    font-size: 11px;
  }

  ::-moz-selection {
    color: #fff;
    text-shadow: none;
    background: #222;
  }

  ::selection {
    color: #fff;
    text-shadow: none;
    background: #222;
  }

  img::selection {
    color: #fff;
    background: 0 0;
  }

  img::-moz-selection {
    color: #fff;
    background: 0 0;
  }
}

/* 分隔符图片 */
.sep-img {
  display: block;
  margin: 0 auto;
}

/* 文字颜色 */
.text-muted {
  color: #999;
}

.text-center {
  text-align: center;
}

/* ========================================
   响应式自适应 - 多尺寸断点
   ======================================== */

/* 超小屏幕 (手机竖屏) - < 480px */
@media (max-width: 479px) {
  .container {
    padding: 0 10px;
  }

  header .header-content .header-content-inner h1 {
    font-size: 36px;
    white-space: normal;
  }

  header .header-content .header-content-inner h4 {
    font-size: 14px;
  }

  .btnimg img {
    height: 40px;
  }

  .social a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 16px;
  }

  section {
    padding: 60px 0;
  }

  section h2, section .title {
    font-size: 24px;
  }

  section.couponsection {
    padding: 80px 0;
  }

  section.couponsection h2 {
    font-size: 24px;
  }

  .coupon {
    padding: 20px;
    border-width: 4px;
  }

  .coupon h3 {
    font-size: 18px;
  }

  .coupon h4 {
    font-size: 14px;
  }

  .coupon p {
    font-size: 14px;
  }

  .btn-buynow {
    padding: 12px 25px;
    font-size: 11px;
  }

  section#faq h3 {
    font-size: 16px;
  }

  section#faq p {
    font-size: 14px;
  }

  #contactform input, #contactform textarea {
    padding: 15px;
    font-size: 12px;
  }

  footer p, footer ul li a {
    font-size: 10px;
  }

  .navbar-brand {
    font-size: 14px;
  }

  .iconlogo {
    width: 35px;
    margin-top: -10px;
  }
}

/* 小屏幕 (手机横屏) - 480px ~ 575px */
@media (min-width: 480px) and (max-width: 575px) {
  header .header-content .header-content-inner h1 {
    font-size: 42px;
  }

  section.couponsection h2 {
    font-size: 28px;
  }

  .coupon {
    padding: 25px;
  }
}

/* 平板竖屏 - 576px ~ 767px */
@media (min-width: 576px) and (max-width: 767px) {
  header .header-content .header-content-inner h1 {
    font-size: 50px;
  }

  header .header-content .header-content-inner {
    text-align: center;
  }

  section.couponsection h2 {
    font-size: 36px;
  }

  section h2 {
    font-size: 36px;
  }
}

/* 平板横屏 - 768px ~ 991px */
@media (min-width: 768px) and (max-width: 991px) {
  header .header-content .header-content-inner h1 {
    font-size: 60px;
  }

  section.couponsection h2 {
    font-size: 50px;
  }

  section.couponsection {
    padding: 100px 0;
  }

  .coupon {
    padding: 30px;
  }
}

/* 小桌面 - 992px ~ 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
  header .header-content .header-content-inner h1 {
    font-size: 70px;
  }

  section.couponsection h2 {
    font-size: 60px;
  }
}

/* 大桌面 - >= 1200px */
@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }

  header .header-content .header-content-inner h1 {
    font-size: 80px;
  }

  section.couponsection h2 {
    font-size: 70px;
  }
}

/* 超大屏幕 - >= 1400px */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* 高度自适应 - 短屏幕 */
@media (max-height: 700px) and (min-width: 768px) {
  header .header-content .header-content-inner h1 {
    font-size: 50px;
    margin-bottom: 15px;
  }

  header .header-content .header-content-inner h4 {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .btnimg img {
    height: 40px;
  }
}

/* 横屏模式优化 */
@media (orientation: landscape) and (max-height: 500px) {
  header {
    min-height: auto;
    padding: 80px 0 40px;
  }

  header .header-content {
    height: auto;
  }

  header .header-content .header-content-inner {
    position: relative;
    top: auto;
    transform: none;
  }

  header .header-content .header-content-inner h1 {
    font-size: 36px;
  }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .btn-buynow,
  .nav-link,
  .social a,
  #contactform input[type=submit] {
    min-height: 44px;
    min-width: 44px;
  }

  .nav-link {
    padding: 10px 15px;
  }
}

/* 打印样式 */
@media print {
  .illustration,
  .audioembed,
  .navbar-default {
    display: none !important;
  }

  header::before {
    opacity: 0.3;
  }

  section {
    page-break-inside: avoid;
  }
}
