/* SP.Live - Modern Editorial Brutalist Design */

:root {
    /* Color Palette - Bold & Sophisticated */
    --primary: #0A0A0A;
    --secondary: #FF2D55;
    --accent: #00D9FF;
    --bg-light: #FAFAFA;
    --bg-dark: #1A1A1A;
    --text-primary: #0A0A0A;
    --text-secondary: #666666;
    --border: #E0E0E0;
    --success: #00C48C;
    --warning: #FFB800;
    
    /* Typography */
    --font-display: 'Fraunces', serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Effects */
    --shadow-subtle: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-strong: 0 8px 32px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation - Minimal & Bold */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--primary);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.logo-sp {
    color: var(--primary);
}

.logo-dot {
    color: var(--secondary);
    animation: pulse 2s ease-in-out infinite;
}

.logo-live {
    color: var(--accent);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.nav-date {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Hero Section - Editorial Layout */
.hero-section {
    margin-top: 88px;
    min-height: calc(100vh - 88px);
    padding: var(--spacing-xl) 0;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Featured Label - Brutalist Touch */
.featured-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
    animation: slideRight 0.8s ease-out 0.2s both;
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.label-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0;
    position: relative;
}

.label-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-left: 12px solid var(--primary);
    border-bottom: 12px solid transparent;
}

.label-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--primary), transparent);
}

/* Product Title - Display Typography */
.product-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--primary);
    letter-spacing: -0.03em;
    animation: slideUp 0.8s ease-out 0.3s both;
}

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

/* Image Gallery - Asymmetric Layout */
.image-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
    animation: scaleIn 0.8s ease-out 0.4s both;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.main-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-dark);
    border: 3px solid var(--primary);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-image-wrapper:hover .main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

.thumbnail-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.thumbnail {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.thumbnail:hover {
    border-color: var(--accent);
    transform: translateX(-5px);
}

/* Product Description */
.product-description {
    margin-bottom: var(--spacing-lg);
    animation: fadeIn 0.8s ease-out 0.5s both;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--secondary);
}

.description-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
}

/* Product Video */
.product-video {
    margin-bottom: var(--spacing-lg);
    animation: fadeIn 0.8s ease-out 0.55s both;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--bg-dark);
    border: 3px solid var(--primary);
    overflow: hidden;
}

.video-iframe,
.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-player {
    object-fit: cover;
}

/* Interactive Section - Card Layout */
.interaction-section {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.interaction-card {
    background: white;
    border: 3px solid var(--primary);
    padding: var(--spacing-md);
    transition: var(--transition);
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.interaction-card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 var(--accent);
}

.interaction-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

.comment-subtitle,
.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* Poll Buttons */
.poll-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.poll-btn {
    background: var(--bg-light);
    border: 2px solid var(--primary);
    padding: 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.poll-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.poll-btn.voted {
    background: var(--primary);
    color: white;
}

.btn-emoji {
    font-size: 2rem;
}

.btn-text {
    font-size: 1.125rem;
}

/* Poll Results */
.poll-results {
    margin-top: var(--spacing-md);
}

.result-bar {
    height: 12px;
    background: var(--bg-light);
    border: 2px solid var(--primary);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
}

.result-fill {
    height: 100%;
    background: var(--success);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-yes {
    color: var(--success);
}

.stat-no {
    color: var(--text-secondary);
}

/* Comment Form */
.comment-textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid var(--border);
    font-family: var(--font-body);
    font-size: 1rem;
    resize: vertical;
    transition: var(--transition);
}

.comment-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-sm);
}

.char-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--secondary);
    transform: translateX(4px);
}

/* Comments Display */
.comments-display {
    margin-top: var(--spacing-lg);
}

.comments-list {
    display: grid;
    gap: 1rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
}

.comment-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-text {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.comment-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Authenticity Buttons */
.auth-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.auth-btn {
    padding: 1.5rem;
    border: 2px solid var(--primary);
    background: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.auth-btn:hover {
    transform: translateY(-2px);
}

.auth-real:hover,
.auth-real.voted {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.auth-fake:hover,
.auth-fake.voted {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.auth-icon {
    font-size: 2rem;
}

.auth-results {
    margin-top: var(--spacing-md);
}

.auth-bar {
    height: 12px;
    background: var(--secondary);
    border: 2px solid var(--primary);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
}

.auth-fill {
    height: 100%;
    background: var(--success);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Authenticity Guide Content */
.authenticity-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-left: 4px solid var(--warning);
}

.authenticity-content strong {
    color: var(--primary);
    font-weight: 700;
}

/* Purchase Links */
.purchase-section {
    margin-top: var(--spacing-lg);
    display: grid;
    gap: 1rem;
}

.purchase-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 3px solid var(--primary);
}

.primary-link {
    background: var(--primary);
    color: white;
}

.primary-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateX(8px);
}

.affiliate-link {
    background: white;
    color: var(--primary);
}

.affiliate-link:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    transform: translateX(8px);
}

.link-icon {
    font-size: 1.5rem;
}

.link-text {
    flex: 1;
    margin: 0 1rem;
    font-size: 1.125rem;
}

.link-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.purchase-link:hover .link-arrow {
    transform: translateX(4px);
}

.affiliate-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Products Listing */
.products-listing {
    background: var(--bg-dark);
    color: white;
    padding: var(--spacing-xl) 0;
}

.listing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.listing-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
    color: white;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-list-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    text-decoration: none;
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
}

.product-list-item:hover {
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.product-list-item:hover .item-arrow {
    transform: translateX(8px);
    opacity: 1;
}

.item-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
    width: 80px;
}

.item-content {
    flex: 1;
    min-width: 0;
}

.item-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: var(--transition);
}

.product-list-item:hover .item-title {
    color: var(--accent);
}

.item-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.item-separator {
    opacity: 0.4;
}

.item-arrow {
    font-size: 2rem;
    color: var(--accent);
    flex-shrink: 0;
    opacity: 0;
    transition: var(--transition);
}

/* Remove old grid styles */

/* Footer */
.main-footer {
    background: var(--primary);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    gap: var(--spacing-md);
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--accent);
    font-size: 1.125rem;
}

.footer-info {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

.affiliate-disclaimer {
    font-style: italic;
}

/* Empty State */
.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.empty-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.empty-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hero-section {
        margin-top: 70px;
        padding: var(--spacing-md) 0;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-grid {
        flex-direction: row;
    }
    
    .thumbnail {
        aspect-ratio: 1;
    }
    
    .poll-buttons,
    .auth-buttons {
        grid-template-columns: 1fr;
    }
    
    .products-list {
        gap: 0;
    }
    
    .product-list-item {
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .item-number {
        font-size: 1.75rem;
        width: 50px;
    }
    
    .item-title {
        font-size: 1.25rem;
    }
    
    .item-arrow {
        font-size: 1.5rem;
    }
    
    .listing-title {
        font-size: 2rem;
    }
    
    .interaction-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}