* {
    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;
}

/* Profile Header */
.profile-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.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(255, 255, 255, 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;
}

/* Image Section */
.image-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0px 12px;
    background-color: #FFF;
}

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

/* Image Carousel */
.image-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

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

.carousel-slide {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 50px;
    font-weight: bold;
    color: #FFF;
    opacity: 0.7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 0px;
}

.carousel-next {
    right: 0px;
}

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background: rgba(255, 255, 255, 1);
    width: 24px;
    border-radius: 4px;
}

.carousel-counter {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.2);
    color: #FFF;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

/* Caption Section */
.caption-section {
    padding: 8px 16px;
}

/* 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;
}

.caption {
    font-size: 16px;
    color: #061D33;
    margin-bottom: 4px;
    line-height: 1.5;
}

.copyright {
    font-size: 14px;
    color: #061D33;
    margin-top: 3px;
    opacity: 0.5;
}

/* Section */
.section {
    margin: 12px;
    padding: 20px;
    border: 2px solid rgba(6, 29, 51, 0.1);
    border-radius: 16px;
    background-color: transparent;
}

.section-title {
    font-size: 20px;
    font-weight: 400;
    color: #061D33;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon {
    font-size: 20px;
}

.section-content {
    font-size: 16px;
    color: #061D33;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Info Grid */
.info-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 0px;
}

.info-label {
    font-size: 15px;
    font-weight: 500;
    color: #061D33;
    flex-shrink: 0;
}

.info-value {
    font-size: 15px;
    font-weight: 400;
    color: #061D33;
    text-align: right;
    flex: 1;
    margin-left: 20px;
}

/* CTA Section */
.cta-section {
    margin: 16px;
    padding: 16px 16px 16px 16px;
    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%;
    }
    
    .info-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .info-value {
        text-align: left;
        margin-left: 0;
    }
    
    .carousel-nav {
        width: 36px;
        height: 36px;
    }
    
    .carousel-prev {
        left: 8px;
    }
    
    .carousel-next {
        right: 8px;
    }
    
    .carousel-dots {
        bottom: 12px;
        gap: 6px;
    }
    
    .carousel-dot {
        width: 6px;
        height: 6px;
    }
    
    .carousel-dot.active {
        width: 20px;
    }
    
    .carousel-counter {
        top: 12px;
        right: 12px;
        padding: 4px 10px;
        font-size: 12px;
    }
    
    .app-store-download-image {
        height: 36px;
    }
}

