/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #ff7f00;
    --text-color: #ff7f00;
    --text-light: #ff7f00;
    --bg-color: #0a0a0a;
    --white: #ff7f00;
    --black: #000000;
    --shadow: 0 4px 6px rgba(250, 226, 77, 0.2);
    --shadow-hover: 0 8px 15px rgba(250, 226, 77, 0.3);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', 'Noto Sans SC', sans-serif;
    background: #000000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    background: var(--black);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(250, 226, 77, 0.2);
    border: 1px solid rgba(250, 226, 77, 0.3);
    max-width: 900px;
    width: 100%;
    overflow: hidden;
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Section */
.header {
    background: var(--black);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(250, 226, 77, 0.3);
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 226, 77, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.title {
    position: relative;
    z-index: 1;
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.title-cn {
    font-size: 2rem;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
}

.title-en {
    font-size: 1.3rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    opacity: 0.95;
    letter-spacing: 1px;
}

/* Image Section */
.image-section {
    padding: 60px 80px;
    background: var(--black);
}

.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image {
    width: 100%;
    height: auto;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.main-image:hover {
    transform: scale(1.05);
}

/* Content Section */
.content-section {
    padding: 40px 60px;
    background: var(--black);
    border-top: 1px solid rgba(250, 226, 77, 0.2);
    border-bottom: 1px solid rgba(250, 226, 77, 0.2);
}

.text-cn,
.text-en {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: justify;
    word-break: break-word;
}

.text-cn {
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 400;
}

.text-en {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    color: var(--text-light);
}

/* Social Links Section */
.social-section {
    padding: 50px 40px;
    background: var(--black);
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--black);
    border: 2px solid var(--text-color);
    color: var(--text-color);
    font-size: 1.8rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(250, 226, 77, 0.2);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-hover);
}

.social-link i {
    position: relative;
    z-index: 1;
}

/* Footer Section */
.footer {
    background: var(--black);
    padding: 30px 40px;
    text-align: center;
    color: var(--text-color);
    border-top: 2px solid rgba(250, 226, 77, 0.3);
}

.footer p {
    font-size: 0.95rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Floating Buy Button */
.floating-buy-btn {
    position: fixed;
    right: 30px;
    bottom: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    background: var(--black);
    border: 2px solid var(--text-color);
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(250, 226, 77, 0.3);
    transition: var(--transition);
    z-index: 1000;
    cursor: pointer;
}

.floating-buy-btn i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.floating-buy-btn span {
    font-size: 0.8rem;
    font-family: 'Noto Sans SC', sans-serif;
    font-weight: 500;
}

.floating-buy-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(250, 226, 77, 0.5);
    background: rgba(250, 226, 77, 0.1);
}

.floating-buy-btn:active {
    transform: translateY(-3px) scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 15px;
    }

    .header {
        padding: 40px 30px;
    }

    .title-cn {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .title-en {
        font-size: 1rem;
    }

    .image-section {
        padding: 40px 30px;
    }

    .content-section {
        padding: 30px 30px;
    }

    .text-cn,
    .text-en {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .social-section {
        padding: 40px 30px;
        gap: 20px;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .footer {
        padding: 25px 30px;
    }

    .footer p {
        font-size: 0.85rem;
    }

    .floating-buy-btn {
        right: 20px;
        bottom: 150px;
        width: 70px;
        height: 70px;
    }

    .floating-buy-btn i {
        font-size: 1.5rem;
    }

    .floating-buy-btn span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 30px 20px;
    }

    .title-cn {
        font-size: 1.3rem;
    }

    .title-en {
        font-size: 0.9rem;
    }

    .image-section {
        padding: 30px 20px;
    }

    .content-section {
        padding: 25px 20px;
    }

    .text-cn,
    .text-en {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .social-section {
        padding: 35px 20px;
        gap: 15px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .footer {
        padding: 20px;
    }

    .floating-buy-btn {
        right: 15px;
        bottom: 100px;
        width: 60px;
        height: 60px;
    }

    .floating-buy-btn i {
        font-size: 1.3rem;
        margin-bottom: 3px;
    }

    .floating-buy-btn span {
        font-size: 0.7rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Style */
::selection {
    background: var(--text-color);
    color: var(--black);
}

::-moz-selection {
    background: var(--text-color);
    color: var(--black);
}
