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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

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

/* Header Styles */
.header {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    margin-bottom: 40px;
}

.main-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 3rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.2rem;
    color: #666666;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.tab-btn {
    background: #ffffff;
    border: 2px solid #e8f4fd;
    color: #666666;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

.tab-btn:hover {
    background: #f8fbff;
    border-color: #b8e0ff;
    color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 224, 255, 0.3);
}

.tab-btn.active {
    background: #e8f4fd;
    border-color: #4a9eff;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
}

.tab-btn i {
    font-size: 0.9rem;
}

/* Content Area */
.content {
    min-height: 600px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

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

.tab-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 32px;
    text-align: center;
}

/* Mask List */
.mask-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Mask Card */
.mask-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mask-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.1);
    border-color: #e8f4fd;
}

.mask-image {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    background: #f8fbff;
    flex-shrink: 0;
}

.mask-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.mask-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.mask-brand {
    font-size: 1rem;
    color: #666666;
    font-weight: 400;
}

.mask-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a9eff;
    text-align: right;
}

.mask-description {
    color: #555555;
    margin-bottom: 16px;
    line-height: 1.6;
}

.mask-ingredients {
    margin-bottom: 16px;
}

.ingredients-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ingredients-list {
    color: #666666;
    font-size: 0.95rem;
}

/* Pros and Cons Section */
.pros-cons-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
    padding: 16px;
    background: #f8fbff;
    border-radius: 12px;
    border: 1px solid #e8f4fd;
}

.pros-section, .cons-section {
    display: flex;
    flex-direction: column;
}

.pros-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cons-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ef4444;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pros-list, .cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pro-item {
    color: #16a34a;
    font-size: 0.9rem;
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
    line-height: 1.4;
}

.pro-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

.con-item {
    color: #dc2626;
    font-size: 0.9rem;
    margin-bottom: 6px;
    padding-left: 16px;
    position: relative;
    line-height: 1.4;
}

.con-item::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

/* Clickable Title Link */
.mask-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mask-title-link:hover {
    color: #4a9eff;
    text-decoration: underline;
}

.mask-size {
    font-size: 0.9rem;
    color: #666666;
    font-weight: 400;
}

.mask-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
}

.rating-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #ffd700;
    font-size: 1.1rem;
}

.rating-value {
    font-weight: 600;
    color: #333333;
}

.rating-source {
    font-size: 0.8rem;
    color: #888888;
}

.buy-btn {
    background: #4a9eff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.buy-btn:hover {
    background: #3a8eef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.problem-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.problem-tag {
    background: #e8f4fd;
    color: #4a9eff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .tab-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .mask-card {
        flex-direction: column;
        text-align: center;
    }
    
    .mask-image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .mask-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .mask-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .pros-cons-section {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 40px 0 30px;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .mask-card {
        padding: 20px;
    }
}

/* Coming Soon Styles */
.coming-soon {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 20px;
}

.coming-soon-content {
    text-align: center;
    background: #f8fbff;
    border: 2px dashed #b8e0ff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
}

.coming-soon-content h3 {
    font-size: 2rem;
    color: #4a9eff;
    margin-bottom: 16px;
    font-weight: 600;
}

.coming-soon-content p {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.coming-soon-icon {
    font-size: 3rem;
    margin-top: 16px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .coming-soon-content {
        padding: 30px 20px;
    }
    
    .coming-soon-content h3 {
        font-size: 1.6rem;
    }
    
    .coming-soon-content p {
        font-size: 1rem;
    }
    
    .coming-soon-icon {
        font-size: 2.5rem;
    }
}
