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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
    margin-bottom: -20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.stat-card.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stat-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    margin: 10px 0;
    color: #667eea;
}

.stat-card.highlight .stat-number {
    color: white;
}

.stat-label {
    font-size: 1em;
    color: #666;
    font-weight: 600;
}

.stat-card.highlight .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Main Content */
main {
    padding: 40px 20px;
}

.intro {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #667eea;
}

.intro h2 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 2em;
    font-weight: 700;
}

.intro p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

/* Search Section */
.search-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-box {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.search-box:focus {
    outline: none;
    border-color: #667eea;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #667eea;
    color: white;
}

.filter-btn.active {
    background: #667eea;
    color: white;
}

/* Ad Container */
.ad-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Lawsuits Section */
.lawsuits-section {
    margin-bottom: 40px;
}

.lawsuits-section h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 2em;
    text-align: center;
}

.lawsuits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.lawsuit-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    overflow: hidden;
    border: 2px solid transparent;
}

.lawsuit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.card-header {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    padding: 25px;
    border-bottom: 2px solid #e8eaf6;
}

.card-header h3 {
    color: #667eea;
    margin-bottom: 12px;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.3;
}

.lawsuit-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lawsuit-status.진행중 {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 2px solid #1976d2;
}

.lawsuit-status.모집중 {
    background-color: #fff3e0;
    color: #f57c00;
    border: 2px solid #f57c00;
    animation: pulse 2s infinite;
}

.lawsuit-status.완료 {
    background-color: #e8f5e9;
    color: #388e3c;
    border: 2px solid #388e3c;
}

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

.card-category {
    padding: 0 25px;
    margin-top: 20px;
}

.category-badge {
    display: inline-block;
    padding: 5px 12px;
    background: #667eea;
    color: white;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
}

.lawsuit-card p {
    padding: 0 25px;
    margin-bottom: 12px;
    color: #555;
    line-height: 1.6;
}

.lawsuit-card .company {
    font-weight: 600;
    color: #333;
    margin-top: 15px;
    font-size: 1em;
}

.lawsuit-card .description {
    color: #666;
    font-size: 0.95em;
    margin-top: 12px;
}

.lawsuit-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px 25px;
    background: #fafbff;
    margin: 15px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    font-size: 1.8em;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 0.75em;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.info-value {
    font-size: 0.9em;
    color: #333;
    font-weight: 700;
}

.lawsuit-card .date {
    color: #888;
    font-size: 0.9em;
    padding: 0 25px;
    margin-bottom: 20px;
}

.lawsuit-link {
    display: block;
    margin: 20px 25px 25px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.lawsuit-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

/* Info Section */
.info-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-section h2 {
    color: #667eea;
    margin-bottom: 30px;
    font-size: 2em;
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 15px;
    transition: all 0.3s;
    border: 2px solid #e8eaf6;
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.step-number {
    display: inline-block;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    line-height: 70px;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 1.3em;
    font-weight: 700;
}

.step p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
}

/* Notice Section */
.notice {
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
    border-left: 5px solid #ffc107;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
}

.notice h3 {
    color: #f57c00;
    margin-bottom: 20px;
    font-size: 1.4em;
    font-weight: 700;
}

.notice ul {
    list-style: none;
    color: #666;
}

.notice li {
    margin-bottom: 12px;
    line-height: 1.7;
    padding-left: 25px;
    position: relative;
}

.notice li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
    font-size: 1em;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 0;
    margin: 40px 0 0;
    border-radius: 20px;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.newsletter-content h2 {
    color: white;
    font-size: 2em;
    margin-bottom: 15px;
    font-weight: 700;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 16px 20px;
    font-size: 1em;
    border: 2px solid white;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    padding: 16px 40px;
    font-size: 1em;
    font-weight: 700;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.newsletter-form button:active {
    transform: translateY(0);
}

.newsletter-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.subscribe-message {
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95em;
    display: none;
}

.subscribe-message.show {
    display: block;
}

.subscribe-message.success {
    background: rgba(76, 175, 80, 0.9);
    color: white;
}

.subscribe-message.error {
    background: rgba(244, 67, 54, 0.9);
    color: white;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 0;
}

footer p {
    margin-bottom: 5px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 40px 0;
    }

    header h1 {
        font-size: 1.8em;
    }

    .subtitle {
        font-size: 1em;
    }

    .stats-section {
        padding: 30px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2em;
    }

    .intro {
        padding: 25px;
    }

    .intro h2 {
        font-size: 1.5em;
    }

    .intro p {
        font-size: 1em;
    }

    .search-section {
        padding: 20px;
    }

    .lawsuits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lawsuit-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-section {
        padding: 30px 20px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .filter-buttons {
        justify-content: center;
    }

    .filter-btn {
        font-size: 0.9em;
        padding: 8px 16px;
    }

    .newsletter-section {
        padding: 35px 0;
        margin: 30px 0 0;
        border-radius: 15px;
    }

    .newsletter-content h2 {
        font-size: 1.5em;
    }

    .newsletter-content p {
        font-size: 1em;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-form input[type="email"] {
        min-width: 100%;
    }

    .newsletter-form button {
        width: 100%;
        padding: 14px 30px;
    }
}

/* Loading and Empty States */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.2em;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}
