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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.logo i {
    margin-right: 0.5rem;
    color: #3498db;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3498db;
}

.search-container {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.5rem;
    min-width: 300px;
}

.search-input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.search-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #2980b9;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px;
    color: #333;
}

.hero-search button {
    background: #3498db;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.hero-search button:hover {
    background: #2980b9;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.popular-products,
.latest-products {
    padding: 4rem 0;
}

.latest-products {
    background: white;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f8f9fa;
}

.product-info {
    padding: 1.5rem;
}

.product-brand {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.product-specs {
    margin-bottom: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.spec-label {
    color: #666;
}

.spec-value {
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #3498db;
    color: white;
    flex: 1;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: #ecf0f1;
    color: #666;
    padding: 0.75rem;
}

.btn-secondary:hover {
    background: #d5dbdb;
}

.btn-secondary.liked {
    background: #e74c3c;
    color: white;
}

/* Tools Section */
.tools {
    padding: 4rem 0;
    background: white;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.tool-card i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.tool-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Categories Section */
.categories {
    padding: 4rem 0;
    background: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

.category-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #3498db;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

.affiliate-notice {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #95a5a6;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: right 0.3s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.mobile-nav {
    padding: 1rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav,
    .search-container {
        display: none;
    }

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

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-search {
        flex-direction: column;
        border-radius: 12px;
    }

    .hero-search input {
        border-radius: 12px;
        margin-bottom: 0.5rem;
    }

    .hero-search button {
        border-radius: 12px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .container {
        padding: 0 15px;
    }
}

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

    .hero {
        padding: 2rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.modal-close:hover {
    background: #f8f9fa;
}

.modal-body {
    padding: 2rem;
}

/* Form Styles */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
}

.result {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    display: none;
}

.result.show {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.result h4 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.result p {
    margin: 0.25rem 0;
    color: #666;
}

/* Calculator Styles */
.calculator {
    max-width: 300px;
    margin: 0 auto;
}

.calculator-display {
    margin-bottom: 1rem;
}

.calculator-display input {
    width: 100%;
    padding: 1rem;
    font-size: 1.5rem;
    text-align: right;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

.calculator-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.calc-btn {
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.calc-number {
    background: #f8f9fa;
    color: #2c3e50;
}

.calc-number:hover {
    background: #e9ecef;
}

.calc-operator {
    background: #3498db;
    color: white;
}

.calc-operator:hover {
    background: #2980b9;
}

.calc-equals {
    background: #e74c3c;
    color: white;
    grid-row: span 2;
}

.calc-equals:hover {
    background: #c0392b;
}

.calc-clear {
    background: #95a5a6;
    color: white;
}

.calc-clear:hover {
    background: #7f8c8d;
}

.calc-back {
    background: #f39c12;
    color: white;
}

.calc-back:hover {
    background: #e67e22;
}

.calc-zero {
    grid-column: span 2;
}

.calc-decimal {
    background: #f8f9fa;
    color: #2c3e50;
}

.calc-decimal:hover {
    background: #e9ecef;
}

/* Image Converter Styles */
.image-converter-modal .modal-content {
    max-width: 800px;
    width: 95%;
}

.converter-section {
    margin-bottom: 2rem;
}

.upload-area {
    border: 2px dashed #3498db;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #2980b9;
    background: #e3f2fd;
}

.upload-area.dragover {
    border-color: #e74c3c;
    background: #ffebee;
    transform: scale(1.02);
}

.upload-content i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.upload-content h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.upload-content p {
    color: #666;
    margin-bottom: 1rem;
}

.conversion-settings {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.conversion-settings h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.setting-group {
    margin-bottom: 1rem;
}

.setting-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.quality-slider {
    width: 100%;
    margin-bottom: 0.5rem;
}

.quality-value {
    font-weight: bold;
    color: #3498db;
}

.file-list {
    margin: 1.5rem 0;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid #e9ecef;
}

.file-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.file-info i {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 1rem;
}

.file-details h5 {
    margin: 0;
    color: #2c3e50;
    font-size: 0.9rem;
}

.file-details p {
    margin: 0;
    color: #666;
    font-size: 0.8rem;
}

.file-actions {
    display: flex;
    gap: 0.5rem;
}

.file-actions button {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.progress-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.progress-section h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.overall-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-weight: bold;
    color: #2c3e50;
    min-width: 50px;
}

.file-progress {
    margin-top: 0.5rem;
}

.file-progress .progress-bar {
    height: 8px;
}

.file-progress .progress-text {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.results-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.results-section h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.download-all {
    margin-bottom: 1rem;
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.result-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.result-preview {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 1rem;
}

.result-details h5 {
    margin: 0;
    color: #2c3e50;
    font-size: 0.9rem;
}

.result-details p {
    margin: 0;
    color: #666;
    font-size: 0.8rem;
}

.conversion-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.status-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.status-success {
    background: #27ae60;
}

.status-error {
    background: #e74c3c;
}

.status-processing {
    background: #f39c12;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive Design for Image Converter */
@media (max-width: 768px) {
    .image-converter-modal .modal-content {
        width: 98%;
        margin: 1rem;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .file-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .overall-progress {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .progress-text {
        align-self: flex-end;
    }
}

/* MBTI Test Styles */
.mbti-modal .modal-content {
    max-width: 800px;
    width: 95%;
}

.mbti-intro-content {
    text-align: center;
    padding: 2rem;
}

.mbti-intro-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mbti-intro-content p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.mbti-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.type-group {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.type-group h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.type-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.type-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    color: white;
    min-width: 60px;
    text-align: center;
}

.type-badge.analyst {
    background: #6366f1;
}

.type-badge.diplomat {
    background: #10b981;
}

.type-badge.sentinel {
    background: #f59e0b;
}

.type-badge.explorer {
    background: #ef4444;
}

.mbti-test {
    padding: 2rem;
}

.test-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.test-progress .progress-bar {
    flex: 1;
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.test-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transition: width 0.3s ease;
    border-radius: 6px;
}

.test-progress .progress-text {
    font-weight: bold;
    color: #2c3e50;
    min-width: 60px;
}

.question-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.question-navigation {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.question-navigation button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    background: #f8f9fa;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.question-navigation button:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.question-navigation button i {
    margin-right: 0.5rem;
}

.question-container h4 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    line-height: 1.5;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.answer-btn {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.answer-btn:hover {
    background: #e3f2fd;
    border-color: #3498db;
    transform: translateY(-2px);
}

.answer-btn:active {
    transform: translateY(0);
}

.answer-btn.selected {
    background: #3498db;
    color: white;
    border-color: #2980b9;
}

.mbti-result {
    padding: 2rem;
    text-align: center;
}

.result-header {
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.result-header h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.result-type {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.result-name {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.9;
}

.result-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.result-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-align: left;
}

.result-section h5 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.result-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.result-section ul {
    list-style: none;
    padding: 0;
}

.result-section li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.result-section li:before {
    content: '•';
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.result-actions button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.result-actions .btn-secondary {
    background: #f8f9fa;
    color: #2c3e50;
    border: 1px solid #e9ecef;
}

.result-actions .btn-secondary:hover {
    background: #e9ecef;
}

.result-actions .btn-primary {
    background: #3498db;
    color: white;
}

.result-actions .btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* MBTI Responsive Design */
@media (max-width: 768px) {
    .mbti-modal .modal-content {
        width: 98%;
        margin: 1rem;
    }
    
    .mbti-types {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .type-group {
        padding: 1rem;
    }
    
    .answer-options {
        max-width: 100%;
    }
    
    .answer-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .result-type {
        font-size: 3rem;
    }
    
    .result-name {
        font-size: 1.2rem;
    }
    
    .result-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-section {
        padding: 1rem;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .result-actions button {
        width: 100%;
        max-width: 300px;
    }
}