/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --gray-color: #6b7280;
    --white: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat p {
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-register {
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-register {
    background: var(--success-color);
    color: var(--white);
    width: 100%;
}

.btn-register:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Top Platforms */
.top-platforms {
    padding: 80px 0;
    background: var(--light-color);
}

.top-platforms h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.platform-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.platform-card.featured {
    border: 3px solid var(--accent-color);
    position: relative;
}

.platform-card.featured::before {
    content: "推奨";
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: bold;
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.platform-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: var(--accent-color);
}

.platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.invite-code {
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    text-align: center;
}

.invite-code strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.discount {
    color: var(--danger-color);
    font-weight: bold;
}

/* Comparison Tool */
.comparison-controls {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.platform-selector h3 {
    margin-bottom: 1rem;
}

.platform-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.platform-checkboxes label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.comparison-table {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.comparison-table tr:hover {
    background: var(--light-color);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-group label,
.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}

/* Recommender */
.recommender-form {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.recommendation-result {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: none;
}

/* Calculator */
.calculator-form {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-result {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: none;
}

/* Coin Search */
.coin-search {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.coin-search input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.coin-results {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: none;
}

/* Tutorials */
.tutorial-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.tab-btn {
    padding: 0.75rem 2rem;
    border: none;
    background: var(--light-color);
    color: var(--gray-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tutorial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.tutorial-card:hover {
    transform: translateY(-5px);
}

.tutorial-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tutorial-card h3 {
    margin-bottom: 1rem;
}

.tutorial-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

/* Offers Table */
.offers-table {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.offers-table table {
    width: 100%;
    border-collapse: collapse;
}

.offers-table th,
.offers-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.offers-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.security-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.security-card:hover {
    transform: translateY(-5px);
}

.security-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.security-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: 1rem;
}

.footer-keywords {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #374151;
}

.footer-keywords small {
    color: #9ca3af;
    line-height: 1.4;
}

/* Section Headers */
.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .coin-search {
        flex-direction: column;
    }
    
    .tutorial-tabs {
        flex-direction: column;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .platform-card,
    .tutorial-card,
    .security-card {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Content Pages Grid */
.content-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.content-page-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 2px solid transparent;
}

.content-page-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.content-page-card.featured {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #fef3c7 0%, #ffffff 70%);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.content-page-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.content-page-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.card-features .feature {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.content-page-card .btn-primary {
    margin-top: auto;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.hidden {
    display: none !important;
}

/* Content Pages Styles */
.breadcrumb {
    background: var(--light-color);
    padding: 1rem 0;
    margin-top: 80px;
}

.breadcrumb nav {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.content-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.content-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.main-content {
    padding: 60px 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-article {
    background: var(--white);
}

.content-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.content-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.content-section h4 {
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Platform Ranking Cards */
.ranking-platforms {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.platform-rank-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 3px solid transparent;
}

.platform-rank-card.rank-1 {
    border-color: #ffd700;
    background: linear-gradient(135deg, #fef3c7 0%, #ffffff 50%);
}

.platform-rank-card.rank-2 {
    border-color: #c0c0c0;
}

.platform-rank-card.rank-3 {
    border-color: #cd7f32;
}

.rank-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: bold;
}

.rank-badge.gold {
    background: #ffd700;
    color: #000;
}

.rank-badge.silver {
    background: #c0c0c0;
    color: #000;
}

.rank-badge.bronze {
    background: #cd7f32;
    color: #fff;
}

.platform-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.difficulty {
    color: var(--accent-color);
    font-weight: 500;
}

.platform-details ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.platform-details li {
    margin-bottom: 0.5rem;
}

.invite-special {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.invite-code-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
}

.invite-code-box .code {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    font-family: monospace;
}

.invite-code-box .benefit {
    color: var(--success-color);
    font-weight: 500;
}

.register-btn, .secure-register-btn {
    background: var(--success-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.register-btn:hover, .secure-register-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Guide Steps */
.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.step-card {
    background: var(--white);
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-content h3 {
    margin: 1rem 0 0.5rem 0;
    color: var(--primary-color);
}

/* Safety Tips */
.safety-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-card {
    background: var(--white);
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}

.tip-card.important {
    border-color: var(--warning-color);
    background: #fef3c7;
}

.tip-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* FAQ */
.faq-container {
    space-y: 1rem;
}

.faq-item {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Fee Comparison Table */
.fee-comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.fee-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.fee-comparison-table th,
.fee-comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.fee-comparison-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.fee-comparison-table tr.best-fee {
    background: #f0f9ff;
    border-left: 4px solid var(--success-color);
}

.fee-comparison-table tr.good-fee {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
}

.exchange-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.exchange-cell img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.fee-rate {
    background: var(--success-color);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
}

.discount {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
}

.final-fee {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Platform Detail Cards */
.platform-detail-card {
    background: var(--white);
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.platform-content {
    margin-top: 1.5rem;
}

.special-offer {
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 50%);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    text-align: center;
}

.offer-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.offer-box .code {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: bold;
    font-family: monospace;
    font-size: 1.2rem;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefits span {
    color: var(--success-color);
    font-weight: 500;
}

/* Security Specific Styles */
.security-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.factor-card {
    background: var(--white);
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}

.factor-card.critical {
    border-color: var(--danger-color);
    background: #fef2f2;
}

.factor-card.important {
    border-color: var(--warning-color);
    background: #fef3c7;
}

.factor-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.security-rank-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.security-score {
    background: var(--success-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin: 0.5rem 0;
}

.security-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.feature {
    background: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.feature strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Security Checklist */
.security-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.checklist-category {
    background: var(--white);
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.checklist-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 0.5rem;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.checklist-item:hover {
    background: var(--light-color);
}

.checklist-item input[type="checkbox"] {
    margin: 0;
    transform: scale(1.2);
}

.checkmark {
    flex-shrink: 0;
}

/* Sidebar Styles */
.sidebar {
    background: var(--light-color);
    height: fit-content;
    border-radius: var(--border-radius);
    padding: 0;
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 0.5rem;
}

.invite-widget {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.invite-item {
    background: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.invite-item.featured {
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 50%);
    border: 2px solid var(--accent-color);
}

.invite-item .platform {
    font-weight: bold;
    color: var(--dark-color);
}

.invite-item .code {
    font-family: monospace;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.invite-item .discount {
    color: var(--success-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.related-links {
    list-style: none;
    padding: 0;
}

.related-links li {
    margin-bottom: 0.8rem;
}

.related-links a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s;
}

.related-links a:hover {
    background: var(--light-color);
}

.related-links a::before {
    content: "→";
    color: var(--accent-color);
}

/* Responsive Design for Content Pages */
@media (max-width: 768px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-hero h1 {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .ranking-platforms,
    .security-checklist,
    .info-grid,
    .safety-tips {
        grid-template-columns: 1fr;
    }
    
    .fee-comparison-table {
        font-size: 0.9rem;
    }
    
    .platform-header {
        flex-direction: column;
        text-align: center;
    }
    
    .offer-box {
        flex-direction: column;
    }
}

/* 友情链接样式 / Friendly Links Styles */
.friendly-links {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.friendly-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    z-index: 1;
}

.friendly-links .container {
    position: relative;
    z-index: 2;
}

.friendly-links .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.link-category {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.link-category:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.link-category h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.links-list a {
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.links-list 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 ease;
}

.links-list a:hover::before {
    left: 100%;
}

.links-list a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: #fff;
}

.partnership-note {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.partnership-note p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.partnership-note i {
    color: #ffd700;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.partnership-note a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.partnership-note a:hover {
    color: #ffed4a;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .friendly-links {
        padding: 60px 0;
    }
    
    .friendly-links .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .link-category {
        padding: 1.5rem;
    }
    
    .partnership-note {
        padding: 1.5rem;
    }
    
    .partnership-note p {
        font-size: 1rem;
    }
} 