/* ============================================
   动物频道 - 丛林探险自然风主题样式
   CSS前缀: dw-
   ============================================ */

/* Google Fonts - Patrick Hand + Roboto */
@font-face {
    font-family: 'Patrick Hand';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Patrick Hand'), local('PatrickHand-Regular');
}

/* ---- CSS Variables ---- */
:root {
    --dw-primary: #2E7D32;
    --dw-secondary: #A1887F;
    --dw-accent: #FFC107;
    --dw-text: #F5F5F5;
    --dw-link: #4CAF50;
    --dw-dark: #1B5E20;
    --dw-bg-dark: #1a2e1a;
    --dw-bg-card: rgba(30, 60, 30, 0.85);
    --dw-border: rgba(161, 136, 127, 0.3);
    --dw-shadow: rgba(0, 0, 0, 0.3);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--dw-bg-dark);
    color: var(--dw-text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--dw-link);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dw-accent);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Patrick Hand', 'Ma Shan Zheng', cursive, sans-serif;
    color: var(--dw-text);
    line-height: 1.3;
}

/* ---- Jammer Block (SEO) ---- */
.animal-jammer-block {
    display: none !important;
}

/* ---- Container ---- */
.dw-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Navigation ---- */
#dw-header {
    width: 100%;
    background: rgba(30, 60, 30, 0.88);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 2px solid var(--dw-border);
    position: relative;
}

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

.dw-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.dw-logo-icon {
    width: 42px;
    height: 42px;
    position: relative;
}

.dw-logo-icon svg {
    width: 100%;
    height: 100%;
}

.dw-logo-text {
    font-family: 'Patrick Hand', cursive;
    font-size: 1.5rem;
    color: var(--dw-accent);
    font-weight: 700;
    letter-spacing: 1px;
}

.dw-nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.dw-nav-links li a {
    display: block;
    padding: 8px 16px;
    color: var(--dw-text);
    font-family: 'Patrick Hand', cursive;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s;
}

.dw-nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--dw-link);
    transition: width 0.4s ease, left 0.4s ease;
    border-radius: 2px;
}

.dw-nav-links li a:hover {
    color: var(--dw-accent);
}

.dw-nav-links li a:hover::after {
    width: 80%;
    left: 10%;
}

/* Hamburger Menu */
.dw-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
}

.dw-hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dw-text);
    border-radius: 3px;
    transition: all 0.3s;
}

.dw-hamburger.dw-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.dw-hamburger.dw-active span:nth-child(2) {
    opacity: 0;
}

.dw-hamburger.dw-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Side Menu */
.dw-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(27, 50, 27, 0.96);
    backdrop-filter: blur(12px);
    z-index: 9999;
    transition: right 0.4s ease;
    padding: 80px 30px 30px;
    overflow-y: auto;
}

.dw-mobile-menu.dw-open {
    right: 0;
}

.dw-mobile-menu a {
    display: block;
    padding: 14px 0;
    color: var(--dw-text);
    font-family: 'Patrick Hand', cursive;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--dw-border);
}

.dw-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}

.dw-mobile-overlay.dw-show {
    display: block;
}

.dw-mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--dw-text);
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

/* ---- Hero Section ---- */
.dw-hero {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dw-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.dw-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(27,94,32,0.5) 100%);
    z-index: 2;
}

.dw-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
}

.dw-hero-content h1 {
    font-size: 3.2rem;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    margin-bottom: 20px;
}

.dw-hero-slogan {
    font-size: 1.4rem;
    color: var(--dw-accent);
    font-family: 'Patrick Hand', cursive;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    opacity: 0;
    animation: dw-fadeInUp 1.2s ease 0.5s forwards;
}

.dw-hero-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--dw-primary);
    color: #fff;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--dw-link);
}

.dw-hero-btn:hover {
    background: var(--dw-link);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* ---- Section Common ---- */
.dw-section {
    padding: 70px 0;
}

.dw-section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--dw-accent);
}

.dw-section-subtitle {
    text-align: center;
    color: rgba(245, 245, 245, 0.7);
    margin-bottom: 45px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.8;
}

.dw-section-cmd {
    text-align: center;
    font-family: 'Courier New', monospace;
    color: var(--dw-link);
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* ---- Species Cards ---- */
.dw-species-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dw-species-card {
    background: var(--dw-bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--dw-border);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.dw-species-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(76, 175, 80, 0.2);
}

.dw-species-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

.dw-species-card:hover img {
    transform: scale(1.08);
}

.dw-species-card-body {
    padding: 18px;
}

.dw-species-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dw-accent);
}

.dw-species-card-body p {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.75);
    line-height: 1.6;
}

/* ---- Theater (Poster Wall) ---- */
.dw-theater-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.dw-theater-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.dw-theater-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.dw-theater-card:hover img {
    transform: scale(1.06);
}

.dw-theater-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.dw-theater-card-overlay h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 6px;
}

.dw-theater-card-overlay p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* ---- Cute Pets (Waterfall) ---- */
.dw-cutepets-grid {
    columns: 3;
    column-gap: 20px;
}

.dw-cutepet-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--dw-bg-card);
    border: 1px solid var(--dw-border);
    transition: transform 0.3s;
}

.dw-cutepet-item:hover {
    transform: scale(1.02);
}

.dw-cutepet-item img {
    width: 100%;
    display: block;
}

.dw-cutepet-item-info {
    padding: 14px;
}

.dw-cutepet-item-info h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--dw-accent);
}

.dw-cutepet-item-info p {
    font-size: 0.85rem;
    color: rgba(245, 245, 245, 0.7);
}

/* ---- Behind the Scenes ---- */
.dw-behind-card {
    display: flex;
    gap: 30px;
    background: var(--dw-bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--dw-border);
    padding: 0;
}

.dw-behind-card img {
    width: 45%;
    min-height: 300px;
    object-fit: cover;
}

.dw-behind-card-content {
    padding: 30px 30px 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dw-behind-card-content h3 {
    font-size: 1.5rem;
    color: var(--dw-accent);
    margin-bottom: 15px;
}

.dw-behind-card-content p {
    font-size: 0.95rem;
    color: rgba(245, 245, 245, 0.8);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ---- Sound Player ---- */
.dw-sound-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dw-sound-item {
    background: var(--dw-bg-card);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--dw-border);
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
}

.dw-sound-item:hover {
    transform: translateY(-4px);
}

.dw-sound-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.dw-sound-item h4 {
    font-size: 1.1rem;
    color: var(--dw-accent);
    margin-bottom: 8px;
}

.dw-sound-item p {
    font-size: 0.85rem;
    color: rgba(245, 245, 245, 0.65);
}

.dw-sound-bar {
    width: 100%;
    height: 4px;
    background: var(--dw-border);
    border-radius: 2px;
    margin-top: 14px;
    position: relative;
    overflow: hidden;
}

.dw-sound-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--dw-link);
    border-radius: 2px;
    transition: width 0.3s;
}

/* ---- Knowledge Cards ---- */
.dw-knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dw-knowledge-card {
    background: var(--dw-bg-card);
    border-radius: 14px;
    padding: 28px;
    border: 1px solid var(--dw-border);
    cursor: pointer;
    transition: transform 0.3s;
    min-height: 200px;
    position: relative;
    perspective: 1000px;
}

.dw-knowledge-card:hover {
    transform: translateY(-4px);
}

.dw-knowledge-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
    position: relative;
}

.dw-knowledge-card.dw-flipped .dw-knowledge-card-inner {
    transform: rotateY(180deg);
}

.dw-knowledge-front, .dw-knowledge-back {
    backface-visibility: hidden;
}

.dw-knowledge-back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
}

.dw-knowledge-card h4 {
    font-size: 1.1rem;
    color: var(--dw-accent);
    margin-bottom: 12px;
}

.dw-knowledge-card p {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.75);
    line-height: 1.7;
}

.dw-knowledge-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(76, 175, 80, 0.2);
    color: var(--dw-link);
    border-radius: 12px;
    font-size: 0.75rem;
    margin-top: 10px;
}

/* ---- Gallery ---- */
.dw-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.dw-gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
}

.dw-gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s;
}

.dw-gallery-item:hover img {
    transform: scale(1.05);
}

.dw-gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.dw-gallery-item-info h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.dw-gallery-item-info p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

/* ---- Conservation ---- */
.dw-conservation-card {
    display: flex;
    gap: 30px;
    background: var(--dw-bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--dw-border);
}

.dw-conservation-card img {
    width: 45%;
    min-height: 280px;
    object-fit: cover;
}

.dw-conservation-content {
    padding: 30px 30px 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dw-conservation-content h3 {
    font-size: 1.4rem;
    color: var(--dw-accent);
    margin-bottom: 14px;
}

.dw-conservation-content p {
    font-size: 0.95rem;
    color: rgba(245, 245, 245, 0.8);
    line-height: 1.8;
    margin-bottom: 18px;
}

.dw-conservation-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--dw-primary);
    color: #fff;
    border-radius: 24px;
    font-size: 0.95rem;
    transition: all 0.3s;
    align-self: flex-start;
}

.dw-conservation-btn:hover {
    background: var(--dw-link);
    color: #fff;
}

/* ---- Field Station Entrance ---- */
.dw-field-entrance {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(30,60,30,0.9), rgba(46,125,50,0.7));
    border-radius: 20px;
    border: 2px solid var(--dw-accent);
    position: relative;
    overflow: hidden;
}

.dw-field-entrance h2 {
    font-size: 2.2rem;
    color: var(--dw-accent);
    margin-bottom: 16px;
}

.dw-field-entrance p {
    font-size: 1.05rem;
    color: rgba(245, 245, 245, 0.85);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dw-field-entrance-btn {
    display: inline-block;
    padding: 16px 44px;
    background: var(--dw-accent);
    color: var(--dw-dark);
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Patrick Hand', cursive;
    transition: all 0.3s;
    animation: dw-pulse 2s infinite;
}

.dw-field-entrance-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    color: var(--dw-dark);
}

/* ---- Footer ---- */
#dw-footer {
    background: rgba(15, 30, 15, 0.95);
    border-top: 2px solid var(--dw-border);
    padding: 50px 0 30px;
    margin-top: 60px;
}

.dw-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.dw-footer-col h4 {
    font-size: 1.2rem;
    color: var(--dw-accent);
    margin-bottom: 18px;
    font-family: 'Patrick Hand', cursive;
}

.dw-footer-col a {
    display: block;
    padding: 6px 0;
    color: rgba(245, 245, 245, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.dw-footer-col a:hover {
    color: var(--dw-accent);
}

.dw-footer-subscribe {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.dw-footer-subscribe input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--dw-border);
    border-radius: 24px;
    background: rgba(30, 60, 30, 0.6);
    color: var(--dw-text);
    font-size: 0.9rem;
    outline: none;
}

.dw-footer-subscribe input::placeholder {
    color: rgba(245, 245, 245, 0.4);
}

.dw-footer-subscribe button {
    padding: 10px 20px;
    background: var(--dw-primary);
    color: #fff;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.dw-footer-subscribe button:hover {
    background: var(--dw-link);
}

.dw-footer-bottom {
    border-top: 1px solid var(--dw-border);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(245, 245, 245, 0.5);
    line-height: 2;
}

.dw-footer-bottom a {
    color: rgba(245, 245, 245, 0.6);
    font-size: 0.85rem;
}

.dw-footer-honor {
    color: var(--dw-accent);
    font-size: 0.85rem;
    margin: 8px 0;
}

/* ---- Animations ---- */
@keyframes dw-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dw-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(255, 193, 7, 0); }
}

@keyframes dw-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.015); }
}

/* ---- Breadcrumb ---- */
.dw-breadcrumb {
    padding: 16px 0;
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.6);
}

.dw-breadcrumb a {
    color: var(--dw-link);
}

.dw-breadcrumb span {
    margin: 0 8px;
    color: rgba(245, 245, 245, 0.4);
}

/* ---- Inner Page Styles ---- */
.dw-page-hero {
    position: relative;
    height: 40vh;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dw-page-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dw-page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(27,94,32,0.6));
}

.dw-page-hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
}

.dw-page-hero-text h1 {
    font-size: 2.6rem;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

/* ---- Video Grid ---- */
.dw-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 40px 0;
}

.dw-video-card {
    background: var(--dw-bg-card);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--dw-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.dw-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.dw-video-thumb {
    position: relative;
    overflow: hidden;
}

.dw-video-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}

.dw-video-card:hover .dw-video-thumb img {
    transform: scale(1.06);
}

.dw-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(46, 125, 50, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.dw-video-card:hover .dw-video-play {
    opacity: 1;
}

.dw-video-play::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}

.dw-video-card-body {
    padding: 16px;
}

.dw-video-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--dw-text);
    line-height: 1.4;
}

.dw-video-card-body p {
    font-size: 0.85rem;
    color: rgba(245, 245, 245, 0.6);
}

.dw-video-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.8rem;
    color: rgba(245, 245, 245, 0.5);
}

/* ---- Field Station Page ---- */
.dw-field-page {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.dw-field-form-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 0;
}

.dw-field-form {
    background: rgba(30, 50, 30, 0.92);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--dw-border);
}

.dw-field-form h2 {
    font-size: 1.8rem;
    color: var(--dw-accent);
    margin-bottom: 10px;
    text-align: center;
}

.dw-field-form .dw-form-subtitle {
    text-align: center;
    color: rgba(245, 245, 245, 0.7);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.dw-form-group {
    margin-bottom: 20px;
}

.dw-form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--dw-text);
    font-size: 0.95rem;
}

.dw-form-group input[type="text"],
.dw-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--dw-border);
    border-radius: 10px;
    background: rgba(20, 40, 20, 0.7);
    color: var(--dw-text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.dw-form-group input:focus,
.dw-form-group textarea:focus {
    border-color: var(--dw-link);
}

.dw-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.dw-upload-area {
    border: 2px dashed var(--dw-border);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}

.dw-upload-area:hover {
    border-color: var(--dw-link);
    background: rgba(76, 175, 80, 0.05);
}

.dw-upload-area p {
    color: rgba(245, 245, 245, 0.6);
    margin-top: 10px;
}

.dw-upload-icon {
    font-size: 2.5rem;
    color: var(--dw-link);
}

.dw-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.dw-checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--dw-primary);
}

.dw-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--dw-primary);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.dw-submit-btn:hover {
    background: var(--dw-link);
}

/* ---- APP Download Page ---- */
.dw-app-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.dw-app-content {
    text-align: center;
    max-width: 600px;
}

.dw-app-content h1 {
    font-size: 2.4rem;
    color: var(--dw-accent);
    margin-bottom: 16px;
}

.dw-app-content .dw-app-subtitle {
    font-size: 1.05rem;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 30px;
    line-height: 1.8;
}

.dw-qr-box {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.dw-qr-box svg {
    width: 100%;
    height: 100%;
}

.dw-app-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.dw-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--dw-secondary);
    color: #fff;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    border: 1px solid var(--dw-border);
}

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

/* ---- Responsive ---- */
@media (max-width: 1440px) {
    .dw-container {
        max-width: 1200px;
    }
}

@media (max-width: 1024px) {
    .dw-species-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dw-theater-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dw-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dw-gallery-grid {
        grid-template-columns: 1fr;
    }
    .dw-sound-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .dw-knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dw-nav-links {
        display: none;
    }
    .dw-hamburger {
        display: flex;
    }
    .dw-hero-content h1 {
        font-size: 2.2rem;
    }
    .dw-hero-slogan {
        font-size: 1.1rem;
    }
    .dw-section {
        padding: 50px 0;
    }
    .dw-section-title {
        font-size: 1.6rem;
    }
    .dw-species-grid {
        grid-template-columns: 1fr;
    }
    .dw-theater-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dw-cutepets-grid {
        columns: 2;
    }
    .dw-behind-card {
        flex-direction: column;
    }
    .dw-behind-card img {
        width: 100%;
        min-height: 200px;
    }
    .dw-behind-card-content {
        padding: 20px;
    }
    .dw-conservation-card {
        flex-direction: column;
    }
    .dw-conservation-card img {
        width: 100%;
        min-height: 200px;
    }
    .dw-conservation-content {
        padding: 20px;
    }
    .dw-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .dw-video-grid {
        grid-template-columns: 1fr;
    }
    .dw-sound-list {
        grid-template-columns: 1fr;
    }
    .dw-knowledge-grid {
        grid-template-columns: 1fr;
    }
    .dw-gallery-grid {
        grid-template-columns: 1fr;
    }
    .dw-gallery-item img {
        height: 250px;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 14px;
    }
    .dw-hero-content h1 {
        font-size: 1.8rem;
    }
    .dw-theater-grid {
        grid-template-columns: 1fr;
    }
    .dw-cutepets-grid {
        columns: 1;
    }
    .dw-field-form {
        padding: 24px 16px;
    }
}
