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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fafafa;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    background: #ffffff;
    min-height: 100vh;
}

header {
    padding: 40px 0 32px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 40px;
}

header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 16px;
    color: #666666;
    font-weight: 400;
    line-height: 1.5;
}

.intro {
    padding: 0 0 40px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 32px;
    max-width: 900px;
}

.intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    font-weight: 400;
}

.search-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e8e8;
}

.search-container {
    position: relative;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    font-size: 15px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.search-input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-input::placeholder {
    color: #999999;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    pointer-events: none;
    opacity: 0.5;
}

.results-count {
    margin-top: 12px;
    font-size: 13px;
    color: #666666;
    font-weight: 500;
}

.websites {
    padding-bottom: 60px;
}

.website-row {
    display: grid;
    grid-template-columns: 220px 320px 1fr;
    gap: 32px;
    padding: 28px 0;
    border-bottom: 1px solid #e8e8e8;
    align-items: start;
    transition: background-color 0.2s ease;
}

.website-row:hover {
    background-color: #fafafa;
    margin: 0 -40px;
    padding-left: 40px;
    padding-right: 40px;
}

.website-row:last-child {
    border-bottom: none;
}

.col-name {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.col-name h2 {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.2px;
}

.col-name h2 a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.col-name h2 a:hover {
    color: #0066cc;
}

.status {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
    width: fit-content;
}

.status-live {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.status-dev {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffe0b2;
}

.status-paused {
    background: #fce4ec;
    color: #c2185b;
    border: 1px solid #f8bbd0;
}

.col-photos {
    position: relative;
}

.photo-carousel {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-controls {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.carousel-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    color: #1a1a1a;
    cursor: pointer;
    padding: 0 6px;
    line-height: 1;
    transition: color 0.2s ease;
    font-weight: 300;
}

.carousel-btn:hover:not(:disabled) {
    color: #0066cc;
}

.carousel-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.carousel-indicator {
    font-size: 12px;
    color: #666666;
    font-weight: 500;
    min-width: 45px;
    text-align: center;
    letter-spacing: 0.3px;
}

.col-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.description {
    font-size: 15px;
    color: #333333;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 14px;
    color: #666666;
    padding-top: 12px;
    border-top: 1px solid #e8e8e8;
}

.stat {
    display: inline-block;
}

.stat strong {
    color: #000000;
    font-weight: 600;
    font-size: 15px;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.placeholder-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.placeholder-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 0, 0, 0.02) 10px, rgba(0, 0, 0, 0.02) 20px);
    z-index: 1;
}

.placeholder-text {
    font-size: 13px;
    font-weight: 500;
    color: #999999;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.photo-carousel.empty .carousel-controls {
    display: none;
}

footer {
    padding: 60px 0;
    border-top: 1px solid #e8e8e8;
    text-align: center;
    color: #666666;
    font-size: 14px;
    margin-top: 40px;
}

footer a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #0066cc;
}

@media (max-width: 1024px) {
    .website-row {
        grid-template-columns: 200px 280px 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    header {
        padding: 32px 0 24px;
        margin-bottom: 32px;
    }

    header h1 {
        font-size: 28px;
    }

    .tagline {
        font-size: 15px;
    }

    .intro {
        padding: 0 0 32px;
        margin-bottom: 32px;
    }

    .intro p {
        font-size: 15px;
    }

    .website-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 32px 0;
    }

    .website-row:hover {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .col-name {
        order: 1;
    }

    .col-photos {
        order: 2;
    }

    .col-info {
        order: 3;
    }

    .photo-carousel {
        height: 280px;
    }

    .col-name h2 {
        font-size: 22px;
    }

    .description {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .stats {
        font-size: 15px;
        gap: 20px;
    }

    footer {
        padding: 48px 0;
        margin-top: 32px;
    }
}
