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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: #FFF;
    color: #061D33;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #FFF;
    min-height: 100vh;
    padding-top: 60px;
}

/* Header styles moved to components/header.css */

main {
    padding: 0;
}

/* Feed Section */
.feed-section {
    padding: 0;
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 0 20px 0;
}

/* Feed Item */
.feed-item {
    background-color: #FFF;
    border-radius: 0;
}

/* Spotting Item */
.spotting-item {
    padding-bottom: 0px;
}

/* Feed Item Header (Profile) */
.feed-item-header {
    padding: 12px 12px 8px 12px;
}

.profile-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.profile-link:hover {
    opacity: 0.8;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-image {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-image-placeholder {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background-color: rgba(6, 29, 51, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.profile-details {
    flex: 1;
}

.profile-name {
    font-size: 15px;
    font-weight: 500;
    color: #061D33;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified-badge {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
}

.profile-time {
    font-size: 13px;
    color: #061D33;
    margin-top: 2px;
    opacity: 0.5;
}

/* Spotting Image and Chips Wrapper */
.spotting-image-chips-wrapper {
    background-color: #DDE3E7;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 12px;
}

/* Spotting Image Container */
.spotting-image-container {
    position: relative;
    width: 100%;
    padding: 0;
    margin-bottom: 0;
}

.spotting-image-container a {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background-color: transparent;
}

.spotting-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.spotting-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background-color: rgba(6, 29, 51, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    border-radius: 0;
}

.spotting-carousel-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.carousel-icon-image {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.ultrahd-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #FFF;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 5;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Spotting Chips Link */
.spotting-chips-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.spotting-chips-link:hover {
    opacity: 0.9;
}

.spotting-chips-link:active {
    opacity: 0.8;
}

/* Spotting Chips */
.spotting-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px;
}

.chips-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    margin-right: auto;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background-color: #061D33;
    color: #FFF;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.chip-icon {
    width: 13px;
    height: 13px;
    object-fit: contain;
    flex-shrink: 0;
}

.chip-text {
    font-size: 13px;
    font-weight: 500;
    color: #FFF;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.no-chips {
    font-size: 14px;
    color: #061D33;
    opacity: 0.4;
    font-weight: 400;
}

.chips-spacer {
    flex: 1;
    min-width: 0;
}

.location-icon,
.chevron-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.location-icon {
    margin-left: 6px;
    margin-right: 2px;
}

.chevron-icon {
    margin-left: 6px;
    margin-right: 2px;
}

/* Spotting Details */
.spotting-details {
    padding: 0 12px 8px 12px;
}

.aircraft-name {
    font-size: 17px;
    font-weight: 500;
    color: #061D33;
    margin-bottom: 6px;
}

.aircraft-description {
    font-size: 15px;
    color: #061D33;
    line-height: 1.5;
}

/* Spotting Actions (Like, Comment, Share) */
.spotting-actions {
    padding: 0 12px;
    margin: 12px 0;
}

.actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0px 8px 0px;
    gap: 0;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #061D33;
    transition: opacity 0.2s ease;
    flex: 1;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.action-button:hover {
    opacity: 0.7;
}

.action-button:active {
    opacity: 0.5;
}

.action-icon {
    font-size: 20px;
    line-height: 1;
    display: inline-block;
    font-weight: 500;
}

.action-text {
    font-size: 15px;
    font-weight: 500;
    color: #061D33;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.2;
}

.action-spacer {
    flex: 1;
    min-width: 0;
}

.likers-count {
    padding-top: 0;
    margin-top: 10px;
    margin-bottom: 0;
}

.likers-link {
    font-size: 14px;
    font-weight: 500;
    color: #061D33;
    text-decoration: none;
    transition: opacity 0.2s ease;
    display: block;
    text-align: left;
}

.likers-link:hover {
    opacity: 0.7;
}

/* New User Item */
.new-user-item {
    margin: 0 12px;
    padding-bottom: 0px;
}

.new-user-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.new-user-content {
    border: 2px solid rgba(6, 29, 51, 0.1);
    border-radius: 12px;
    padding: 14px;
}

.new-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.new-user-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.new-user-image-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(6, 29, 51, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.new-user-info {
    flex: 1;
}

.new-user-name {
    font-size: 16px;
    font-weight: 600;
    color: #061D33;
    margin-bottom: 4px;
}

.new-user-text {
    font-size: 15px;
    color: #061D33;
    opacity: 0.7;
}

.new-user-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 14px;
    border-top: 1px solid rgba(6, 29, 51, 0.1);
}

.new-user-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.new-user-stat-icon {
    font-size: 15px;
    margin-bottom: 2px;
}

.new-user-stat-value {
    font-size: 15px;
    font-weight: 500;
    color: #061D33;
}

.new-user-stat-label {
    font-size: 15px;
    color: #061D33;
    opacity: 0.5;
}

/* New Device Item */
.new-device-item {
    margin: 0 12px;
    padding-bottom: 0px;
}

.new-device-content {
    border: 2px solid rgba(6, 29, 51, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
}

.new-device-text {
    font-size: 15px;
    color: #061D33;
    opacity: 0.7;
    line-height: 1.5;
}

.new-device-time {
    margin-left: 4px;
}

/* Empty Feed */
.empty-feed {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    min-height: calc(100vh - 80px);
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 72px;
    margin-bottom: 32px;
    opacity: 0.5;
    line-height: 1;
    display: block;
}

.empty-title {
    font-size: 28px;
    font-weight: 600;
    color: #061D33;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.empty-description {
    font-size: 17px;
    color: #061D33;
    opacity: 0.65;
    line-height: 1.47;
    max-width: 100%;
    font-weight: 400;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 32px 12px;
    padding: 0 12px;
    flex-wrap: wrap;
}

.pagination-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #007AFF;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.pagination-button:hover {
    background-color: #0056CC;
    transform: translateY(-1px);
}

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

.pagination-button.pagination-disabled {
    background-color: rgba(6, 29, 51, 0.1);
    color: rgba(6, 29, 51, 0.4);
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-info {
    font-size: 15px;
    color: #061D33;
    opacity: 0.7;
    font-weight: 400;
    padding: 0 8px;
}

/* CTA Section */
.cta-section {
    margin: 20px 12px;
    padding: 24px 20px;
    background: #FFF;
    border: 2px solid rgba(6, 29, 51, 0.1);
    border-radius: 16px;
    text-align: center;
}

.cta-content {
    max-width: 100%;
}

.cta-title {
    font-size: 22px;
    font-weight: 600;
    color: #061D33;
    margin-bottom: 8px;
}

.cta-description {
    font-size: 15px;
    color: #061D33;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.cta-button:active {
    transform: translateY(0);
    opacity: 0.8;
}

.app-store-download-image {
    height: 40px;
    width: auto;
    display: block;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        width: 100%;
    }
    
    .feed-list {
        gap: 12px;
    }
    
    .spotting-chips {
        gap: 6px;
    }
    
    .pagination {
        gap: 12px;
        margin: 24px 12px;
    }
    
    .pagination-button {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .pagination-info {
        font-size: 14px;
        padding: 0 4px;
    }
    
    .empty-feed {
        padding: 80px 20px 60px;
        min-height: calc(100vh - 60px);
        max-width: 100%;
    }
    
    .empty-icon {
        font-size: 64px;
        margin-bottom: 28px;
    }
    
    .empty-title {
        font-size: 24px;
        margin-bottom: 12px;
        letter-spacing: -0.2px;
    }
    
    .empty-description {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .app-store-download-image {
        height: 36px;
    }
}

