/* Solidgamehub - Main Stylesheet */
:root {
    --primary: #14B8A6;
    --primary-dark: #0D9488;
    --secondary: #22D3EE;
    --accent: #2DD4BF;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--bg-secondary);
    line-height: 1.6;
    min-height: 100vh;
}

/* 头部广告位 */

.de_iv_adv {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
    background-color: #F8F8F8;
    margin: 10px 0 0px;
}


/* 底部广告位 */

.postionFixed {
    width: 100%;
    min-height: 60px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F8F8F8;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a:hover {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Tools Grid */
.tools-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}

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

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.tool-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.tool-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Tool Page Styles */
.tool-page {
    padding: 40px 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.page-header h1 i {
    color: var(--primary);
}

.page-header p {
    color: var(--text-secondary);
}

.tool-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-input-section,
.tool-output-section {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.tool-input-section h2,
.tool-output-section h2 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-input-section h2 i,
.tool-output-section h2 i {
    color: var(--primary);
}

/* Form Elements */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

textarea.form-control {
    min-height: 250px;
    resize: vertical;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.result-item {
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: var(--radius-md);
    text-align: center;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Tool Actions */
.tool-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tool-actions.center {
    justify-content: center;
}

/* Score Display */
.score-display {
    text-align: center;
    padding: 30px;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.score-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.score-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Button Grid */
.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 60px 20px 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Content Section */
.content-section {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-top: 40px;
}

.content-section h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.content-section ul {
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 160px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 3rem;
    color: white;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: var(--bg-tertiary);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-content h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-content h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.blog-content h2 a:hover {
    color: var(--primary);
}

.blog-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.blog-meta i {
    margin-right: 5px;
}

/* Article Page */
.article-page {
    padding: 40px 20px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.article-header h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: var(--text-secondary);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 1.2rem;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin-bottom: 30px;
}

.article-cta {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 40px 0;
}

.article-cta h3 {
    margin-bottom: 10px;
}

.article-cta p {
    margin-bottom: 20px;
}

.article-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* Legal Pages */
.legal-page .legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2,
.contact-form-container h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-methods {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-item h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-secondary);
}

/* Comparison Tool */
.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.comparison-panel {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: var(--radius-lg);
}

.comparison-panel h2 {
    font-size: 1rem;
    margin-bottom: 15px;
}

.comparison-output {
    background: var(--bg-primary);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin-top: 20px;
}

.diff-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.color-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-item.added .color-box {
    background: #D1FAE5;
}

.legend-item.removed .color-box {
    background: #FEE2E2;
}

.diff-view {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius-md);
    font-family: monospace;
    line-height: 1.8;
    white-space: pre-wrap;
}

.diff-added {
    background: #D1FAE5;
    color: #065F46;
    padding: 2px 4px;
    border-radius: 3px;
}

.diff-removed {
    background: #FEE2E2;
    color: #991B1B;
    padding: 2px 4px;
    border-radius: 3px;
    text-decoration: line-through;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.notification.success {
    background: var(--success);
}

.notification.error {
    background: var(--error);
}

.notification.info {
    background: var(--primary);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Keyword Table */
.keyword-table {
    margin-top: 20px;
}

.keyword-table table {
    width: 100%;
    border-collapse: collapse;
}

.keyword-table th,
.keyword-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.keyword-table th {
    background: var(--bg-secondary);
    font-weight: 600;
}

.density-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.density-fill {
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
}

/* Time Display */
.time-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.time-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.time-card.primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.time-card.secondary {
    background: var(--bg-tertiary);
}

.time-card i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.time-value {
    font-size: 2rem;
    font-weight: 700;
}

.time-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Platform Grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.platform-item.optimal {
    border-left: 3px solid var(--success);
}

.platform-name {
    font-weight: 500;
}

.platform-ideal {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Speed Options */
.speed-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.speed-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
}

.speed-option input[type="radio"] {
    accent-color: var(--primary);
}

/* About Page */
.about-section {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.about-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--text-primary);
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.tools-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.tools-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.tools-list li:last-child {
    border-bottom: none;
}

.tools-list li strong {
    color: var(--primary);
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
}

.contact-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-cta p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.contact-cta .btn {
    background: white;
    color: var(--primary);
}

.contact-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form Enhancements */
.contact-form {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

/* Quick Start Section */
.quickstart-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-top: -20px;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-card {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 1.8rem;
    color: white;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-arrow {
    color: var(--primary);
    font-size: 1.5rem;
}

.quickstart-cta {
    text-align: center;
    margin-top: 50px;
}

/* Tutorials Section */
.tutorials-section {
    padding: 80px 20px;
    background: var(--bg-secondary);
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tutorial-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: var(--radius-lg);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.tutorial-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tutorial-icon i {
    font-size: 1.5rem;
    color: white;
}

.tutorial-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--bg-secondary);
    color: var(--primary);
}

.tutorial-badge.hot {
    background: #FEE2E2;
    color: #DC2626;
}

.tutorial-badge.new {
    background: #D1FAE5;
    color: #059669;
}

.tutorial-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.tutorial-card>p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tutorial-topics {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.tutorial-topics li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.tutorial-topics li i {
    color: var(--success);
    font-size: 0.8rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.tutorials-cta {
    text-align: center;
    margin-top: 50px;
}

/* Utility */
.mt-3 {
    margin-top: 20px;
}

.center {
    text-align: center;
}

.page-content {
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

/* Writing Mastery Hub Styles */
.writing-mastery {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.mastery-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mastery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.mastery-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mastery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.mastery-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.mastery-card.featured .mastery-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.mastery-badge {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.mastery-badge.hot {
    background: #ef4444;
}

.mastery-badge.new {
    background: #10b981;
}

.mastery-card.featured .mastery-badge {
    background: rgba(255, 255, 255, 0.2);
}

.mastery-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.mastery-card.featured h3 {
    color: white;
}

.mastery-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.mastery-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.mastery-techniques {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.technique-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.mastery-card.featured .technique-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.mastery-benefits {
    margin-bottom: 20px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.mastery-card.featured .benefit {
    color: rgba(255, 255, 255, 0.9);
}

.benefit i {
    color: #10b981;
    font-size: 12px;
}

.mastery-card.featured .benefit i {
    color: rgba(255, 255, 255, 0.8);
}

.mastery-stats {
    display: flex;
    gap: 16px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-light);
}

.mastery-card.featured .stat {
    color: rgba(255, 255, 255, 0.7);
}

/* Writing Formulas Styles */
.writing-formulas {
    padding: 80px 0;
    background: white;
}

.formulas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.formula-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 32px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.formula-card:hover {
    border-color: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.formula-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.formula-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.formula-type {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.formula-steps {
    margin-bottom: 24px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.step-letter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content strong {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.formula-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #667eea;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.formula-cta:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .writing-mastery {
        padding: 60px 0;
    }

    .mastery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 32px;
    }

    .mastery-card.featured {
        grid-column: span 1;
    }

    .mastery-card {
        padding: 24px;
    }

    .writing-formulas {
        padding: 60px 0;
    }

    .formulas-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }

    .formula-card {
        padding: 24px;
    }

    .formula-header h3 {
        font-size: 20px;
    }
}

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

    .mastery-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .mastery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .formula-card {
        padding: 20px;
    }

    .formula-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .step {
        gap: 12px;
    }

    .step-letter {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}