:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-bg: #f3f4f6;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: transparent;
}

.hero-section h1 {
    font-size: 5.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-button, .ai-bot-button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
}

.cta-button {
    background: var(--primary-color);
    color: var(--white);
}

.ai-bot-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(5px);
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ai-bot-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.features-section {
    padding: 5rem 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.features-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer {
    background-color: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        padding: 0 20px;
    }
    
    .hero-description {
        font-size: 1.3rem;
        margin-bottom: 3rem;
        padding: 0 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-button, .ai-bot-button {
        width: 200px;
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* 修改背景相关样式 */
.whale-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/src/images/Deepdown.png') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    z-index: -2;
}

/* 添加暗色叠加层，增强视觉效果 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,24,50,0.7) 0%, rgba(0,5,16,0.8) 100%);
    z-index: -1;
}

/* 调整原有元素的透明度，使背景图更明显 */
.ocean {
    opacity: 0.3;
}

.whale {
    opacity: 0.6;
}

.light-beams .light-beam {
    opacity: 0.15;
}

.ocean {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(1, 65, 255, 0.05), transparent 50%);
    animation: oceanGlow 8s ease-in-out infinite;
}

.whale {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 120px;
    animation: whaleFall 15s ease-in infinite;
    opacity: 0.8;
}

.whale-body {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.fins {
    position: absolute;
    top: 20px;
    right: 40px;
    width: 30px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: rotate(45deg);
}

.tail {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 40px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: rotate(-45deg);
}

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.light-beams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.light-beam {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
}

/* 动画关键帧 */
@keyframes oceanGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes whaleFall {
    0% {
        transform: translateX(-50%) translateY(-20%) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateX(-50%) translateY(30%) rotate(5deg);
        opacity: 0.6;
    }
    100% {
        transform: translateX(-50%) translateY(120%) rotate(8deg);
        opacity: 0.2;
    }
}

/* 调整原有样式以适应新背景 */
.hero-section {
    background: transparent;
}

.hero-section h1,
.hero-section p {
    color: var(--white);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.features-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-links a {
    color: var(--white);
}

/* 添加新的样式 */
.hero-subtitle {
    font-size: 2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.4;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--white);
    margin-top: 0;
    margin-bottom: 3.5rem;
    opacity: 0.85;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.feature-list {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
    padding: 0 1rem;
}

.feature-list li {
    margin: 0.5rem 0;
    color: var(--white);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.2rem;
}

.feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.tech-stack-section,
.tokenomics-section {
    padding: 5rem 2rem;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.tech-stack-section h2,
.tokenomics-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.tech-container,
.tokenomics-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.tech-item,
.tokenomics-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tech-item:hover,
.tokenomics-card:hover {
    transform: translateY(-5px);
}

.tech-item h3,
.tokenomics-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.tech-item p,
.tokenomics-card p {
    color: var(--white);
    line-height: 1.8;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .tech-container,
    .tokenomics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-item,
    .tokenomics-card {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .tech-container,
    .tokenomics-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-item,
    .tokenomics-card {
        height: 200px;
    }
}

.about-section,
.contact-section {
    padding: 5rem 2rem;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.about-section h2,
.contact-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.about-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--white);
    line-height: 1.8;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }
}

.contact-section {
    padding: 5rem 2rem;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item p {
    color: var(--white);
    line-height: 1.8;
    font-size: 1.1rem;
}

.docs-section {
    padding: 5rem 2rem;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.docs-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
}

.docs-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.docs-card:hover {
    transform: translateY(-5px);
}

.docs-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.docs-card p {
    color: var(--white);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.docs-link {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.docs-link:hover {
    background: var(--secondary-color);
}

@media (max-width: 1024px) {
    .docs-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .docs-container {
        grid-template-columns: 1fr;
    }
}

/* Scroll Down Arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.scroll-down-arrow span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(45deg);
    margin: -10px;
    animation: scrollDown 2s infinite;
}

.scroll-down-arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.scroll-down-arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

/* Make arrow disappear when scrolling down */
@media (max-height: 700px) {
    .scroll-down-arrow {
        display: none;
    }
}