:root {
    --primary: #6a5acd;
    --primary-dark: #5649b0;
    --secondary: #ff6b6b;
    --dark: #1a1a2e;
    --darker: #0d0d1a;
    --light: #f0f0f5;
    --accent: #4ecdc4;
    --success: #4ade80;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--darker), var(--dark));
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Oxanium', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 100;
    border-bottom: 1px solid rgba(106, 90, 205, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-content a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 70%;
}

.logo img {
    width: 156px;
    height: auto;
}

/* Navigation Menu */
.desktop-nav {
    display: flex;
    margin: 0 auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover:after {
    width: 60%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s;
    position: relative;
    width: 40px;
    height: 40px;
}

/* 汉堡包图标动画 */
.mobile-menu-toggle .hamburger {
    position: relative;
    display: inline-block;
    width: 21px;
    height: 14px;
}

.mobile-menu-toggle .hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 1.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle .hamburger span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle .hamburger span:nth-child(2) {
    top: 6px;
}

.mobile-menu-toggle .hamburger span:nth-child(3) {
    top: 12px;
}

/* 激活状态 - 变成X */
.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
}

.mobile-nav {
    display: block;
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    width: 90%;
    background: rgba(20, 20, 35, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 10px;
    z-index: 99;
    transition: transform 0.3s ease;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
    transform: translateX(-50%) translateY(0);
}

.mobile-nav ul {
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin: 8px 0;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 15px;
    max-width: 100%;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: auto;
    z-index: 10;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 8px 14px;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
}

.lang-current i.fa-globe {
    font-size: 18px;
    color: var(--accent);
    margin-right: 4px;
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(20, 20, 35, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 6px;
    width: 120px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s;
}

.language-switcher:hover .lang-dropdown,
.language-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin: 0 2px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: calc(100% - 4px);
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.lang-option i.fa-globe {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    width: 24px;
    text-align: center;
}

.lang-option span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lang-current .fa-chevron-down {
    transition: transform 0.3s ease;
}

.language-switcher:hover .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

.language-switcher.hover-active .fa-chevron-down,
.language-switcher.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Mobile Device Adaptation */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 0;
    }

    .header-content {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        position: relative;
    }

    .logo {
        width: auto;
        max-width: calc(100% - 60px);
        justify-content: flex-start;
        padding: 0;
        position: relative;
        z-index: 1;
    }

    .language-switcher {
        position: absolute;
        right: 50px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        z-index: 1001;
    }

    .lang-current {
        padding: 8px;
        background: rgba(255, 255, 255, 0.15);
        justify-content: flex-start;
    }

    .lang-dropdown {
        top: calc(100% + 5px);
        right: 0;
        left: auto;
        min-width: max-content;
    }

    .mobile-nav ul {
        top: 64px;
    }

    .nav-actions {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: calc(100% - 50px);
    }

    .lang-current {
        padding: 6px;
        justify-content: center;
    }
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    text-align: center;
    background: radial-gradient(circle at top, rgba(106, 90, 205, 0.1), transparent 70%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #ccc;
}

/* Mobile Device Adaptation */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.8rem;

        max-width: 300px;
    }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(106, 90, 205, 0.6);
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.section-title span {
    color: var(--accent);
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
}

/* Generator Section */
.generator-section {
    padding: 3rem 0;
}

.generator-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.settings-panel,
.results-panel {
    flex: 1;
    min-width: 300px;
    background: rgba(30, 30, 50, 0.6);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.panel-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.panel-title i {
    color: var(--secondary);
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

select,
input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(20, 20, 35, 0.7);
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

select:focus,
input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.3);
}

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

.checkbox-group input {
    width: auto;
}

.generate-btn {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.generate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.generate-btn:hover::before {
    left: 100%;
}

.generate-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 45px rgba(255, 107, 107, 0.5);
    background: linear-gradient(135deg, #ff5252, #26c6da);
}

.generate-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.generate-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.generate-btn.btn-loading {
    cursor: not-allowed;
    opacity: 0.7;
}
.results-container {
    min-height: 300px;
}

.no-results {
    text-align: left;
    color: #888;
    font-style: italic;
    padding: 40px 20px;
    font-size: 1.1rem;
}

.result-item {
    background: rgba(20, 20, 35, 0.7);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* border-left: 4px solid var(--accent); */
    transition: transform 0.3s;
}

.result-item:hover {
    transform: translateX(5px);
    background: rgba(25, 25, 45, 0.8);
}

.tag-text {
    font-size: 1.2rem;
    font-weight: 500;
}

.tag-actions {
    display: flex;
    gap: 10px;
}

.tag-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-btn:hover {
    background: var(--primary);
}

.loading {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.loading.show {
    display: flex;
}

.lightning-spinner {
    width: 50px;
    height: 50px;
}

.lightning-spinner polygon {
    fill: var(--secondary);
}


.lightning-spinner polyline {
    stroke: var(--accent);
    stroke-width: 2;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.9), rgba(26, 26, 46, 0.8));
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="features-grid" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M 15 0 L 0 0 0 15" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23features-grid)"/></svg>');
    opacity: 0.4;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(35, 35, 55, 0.7);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(78, 205, 196, 0.2);
    position: relative;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(78, 205, 196, 0.15);
    border-color: var(--accent);
}

.feature-card i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    transition: all 0.3s;
    display: block;
}

.feature-card:hover i {
    color: var(--accent);
    transform: scale(1.1);
}

.feature-card h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* How To Use Section */
.how-to-section {
    padding: 5rem 0;
    background: rgba(20, 20, 35, 0.9);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: rgba(35, 35, 55, 0.7);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(78, 205, 196, 0.2);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(78, 205, 196, 0.15);
}

.step-header {
    position: relative;
    margin-bottom: 25px;
}

.step-number {
    position: absolute;
    top: -45px;
    right: -45px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

.step-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(8deg);
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.step-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 25px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(145deg, rgba(15, 15, 30, 0.9), rgba(25, 25, 45, 0.9));
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -1rem auto 3rem;
    color: #ccc;
    font-size: 1.1rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    background: rgba(30, 30, 50, 0.6);
    border: 1px solid rgba(78, 205, 196, 0.2);
    transition: all 0.3s;
}

.faq-item.active {
    border-color: var(--accent);
}

.faq-question {
    padding: 18px 25px;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--light);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: #888;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    min-width: 200px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-column a {
    display: flex;
    align-items: center;
    text-decoration: none;
    max-width: max-content;
    gap: 10px;
}

.footer-column img {
    width: 156px;
    height: auto;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-links {
    list-style: none;
    max-width: max-content;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

/* Legal */
.legal-container {
    --legal-title-font: Arial, sans-serif;
    --legal-title-margin: 1.2em 0;

    h1,
    h2,
    h3,
    h4 {
        font-family: var(--legal-title-font);
        margin: var(--legal-title-margin);
        line-height: 1.3;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    --legal-gap: 3rem;
    --section-spacing: 4rem;
    max-width: 740px;
    margin: auto;
    padding: 3rem 1.25rem 5rem 1.25rem;
}

.legal-container h1 {
    text-align: center;
}

.legal-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.legal-container h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.legal-container p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #ddd;
}

.legal-container h4 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--accent);
}

.legal-container ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

.legal-container ul li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    color: #ddd;
}

.spinner-wrapper {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
}

.loading-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: max-content;
    margin-top: 30px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
    align-items: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    max-width: 45px;
    max-height: 45px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: #ccc;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
}

/* 特定社交平台的颜色 */
.social-links a[href*="x.com"]:hover {
    background: linear-gradient(135deg, #000000, #1a1a1a);
}

.social-links a[href*="github"]:hover {
    background: linear-gradient(135deg, #333, #24292e);
}

.social-links a[href*="instagram"]:hover {
    background: linear-gradient(135deg, #e4405f, #833ab4, #fcb045);
}

.social-links a[href*="linkedin"]:hover {
    background: linear-gradient(135deg, #0077b5, #005885);
}

.social-links a[href*="facebook"]:hover {
    background: linear-gradient(135deg, #1877f2, #166fe5);
}

.social-links a[href*="youtube"]:hover {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

/* Gamertag Tips Section */
.gamertag-tips {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(22, 33, 62, 0.9));
    position: relative;
}

.gamertag-tips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.tip-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(106, 90, 205, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(106, 90, 205, 0.1), transparent);
    transition: left 0.6s ease;
}

.tip-card:hover::before {
    left: 100%;
}

.tip-card:hover {
    transform: translateY(-10px);
    background: rgba(106, 90, 205, 0.1);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(106, 90, 205, 0.2);
}

.tip-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 10px 30px rgba(106, 90, 205, 0.3);
}

.tip-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--light);
    font-family: 'Oxanium', sans-serif;
    text-align: center;
}

.tip-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.tip-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.tip-features li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tip-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.tip-features li:last-child {
    border-bottom: none;
}

/* Gamertag Trends Section */
.gamertag-trends {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.9), rgba(26, 26, 46, 0.9));
    position: relative;
}

.gamertag-trends::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.trends-content {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.trend-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(106, 90, 205, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.trend-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: left 0.6s ease;
}

.trend-item:hover::before {
    left: 100%;
}

.trend-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary);
    background: rgba(255, 107, 107, 0.05);
}

.trend-item h3 {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Oxanium', sans-serif;
}

.trend-item h3 i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.trend-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        gap: 12px;
        margin-top: 15px;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        max-height: 40px;
        font-size: 1.1rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tip-card {
        padding: 1.5rem;
    }
    
    .tip-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .trends-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trend-item {
        padding: 1.5rem;
    }
    
    .gamertag-tips,
    .gamertag-trends {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        max-width: 36px;
        max-height: 36px;
        font-size: 1rem;
    }
    
    .tips-grid {
        margin-top: 2rem;
    }
    
    .tip-card {
        padding: 1.2rem;
    }
    
    .trends-content {
        margin-top: 2rem;
    }
    
    .trend-item {
        padding: 1.2rem;
    }
    
    .gamertag-tips,
    .gamertag-trends {
        padding: 3rem 0;
    }
}

/* Hero Keywords Styles */
.hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 2rem 0;
}

.keyword-tag {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.keyword-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 90, 205, 0.4);
}

/* Hero Stats Styles */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(106, 90, 205, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(106, 90, 205, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Oxanium', sans-serif;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* Gamertag Categories Styles */
.gamertag-categories {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(13, 13, 26, 0.9));
    position: relative;
}

.gamertag-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(106, 90, 205, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(106, 90, 205, 0.1), transparent);
    transition: left 0.6s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    background: rgba(106, 90, 205, 0.1);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(106, 90, 205, 0.2);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(106, 90, 205, 0.3);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
    font-family: 'Oxanium', sans-serif;
}

.category-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.category-features li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 1.5rem;
}

.category-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Gaming Platforms Styles */
.gaming-platforms {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(13, 13, 26, 0.8), rgba(20, 20, 35, 0.9));
    position: relative;
}

.gaming-platforms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="platforms-dots" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1.5" fill="%23ffffff" opacity="0.06"/></pattern></defs><rect width="100" height="100" fill="url(%23platforms-dots)"/></svg>');
    opacity: 0.4;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(106, 90, 205, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: center;
}

.platform-item:hover {
    background: rgba(106, 90, 205, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.platform-item i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.platform-item:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

.platform-item span {
    font-weight: 500;
    color: var(--light);
    font-size: 1rem;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .hero-keywords {
        gap: 8px;
    }
    
    .keyword-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .platform-item {
        padding: 1.5rem 1rem;
    }
    
    .platform-item i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-keywords {
        flex-direction: column;
        align-items: center;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        margin-top: 2rem;
    }
}
