/* DoggoZ Official - 80s Retro Pixel Art Styling */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --dark-bg: #1a1a2e;
    --dark-purple: #16213e;
    --neon-pink: #FF0080;
    --neon-blue: #00FFFF;
    --neon-green: #39FF14;
    --text-color: #FFFFFF;
    --text-secondary: #CCCCCC;
    --shadow-color: rgba(0, 0, 0, 0.8);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Press Start 2P', monospace;
    background: linear-gradient(180deg, #0f0f1e 0%, #1a0033 25%, #2d0a3d 50%, #1a0033 75%, #0f0f1e 100%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 80s Synthwave sunset glow background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 107, 107, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(78, 205, 196, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Scanlines */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.05),
        rgba(0, 0, 0, 0.05) 2px,
        transparent 2px,
        transparent 4px
    );
    pointer-events: none;
    z-index: 9999;
}

main {
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo h1 {
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--accent-color);
    text-shadow: 
        3px 3px 0px var(--primary-color),
        6px 6px 0px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1em;
}

.logo .subtitle {
    font-size: clamp(0.5rem, 1.5vw, 0.65rem);
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: clamp(0.5rem, 2vw, 1rem);
    flex-wrap: wrap;
    justify-content: center;
}

.nav-btn {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: clamp(0.5rem, 1vw, 0.7rem) clamp(0.8rem, 1.5vw, 1rem);
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(0.6rem, 1.2vw, 0.8rem);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.nav-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 15px var(--secondary-color);
}

/* Quick Links Bar */
.quick-links-bar {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid var(--neon-green);
    padding: clamp(0.6rem, 1vw, 0.8rem) clamp(1rem, 2vw, 2rem);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.quick-links-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1.5rem);
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-links-label {
    font-size: clamp(0.6rem, 1.2vw, 0.75rem);
    color: var(--neon-green);
    font-weight: bold;
}

.quick-link {
    font-size: clamp(0.6rem, 1.2vw, 0.75rem);
    color: var(--text-color);
    text-decoration: none;
    padding: clamp(0.3rem, 0.8vw, 0.5rem) clamp(0.6rem, 1vw, 1rem);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: clamp(2rem, 4vw, 4rem);
    min-height: 70vh;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: clamp(1.5rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-shadow: 
        3px 3px 0px var(--primary-color),
        6px 6px 0px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(0.75rem, 2vw, 1rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: clamp(0.7rem, 1.5vw, 1rem) clamp(1.2rem, 2vw, 2rem);
    border: 2px solid;
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(0.65rem, 1.2vw, 0.85rem);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-green);
    border-color: var(--neon-green);
}

.btn-secondary:hover {
    background: var(--neon-green);
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--neon-green);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pixel-border {
  position: relative;
  display: inline-block;
  border: 3px solid var(--accent-color);
  background: var(--dark-bg);
  padding: 1rem;
  border-radius: 8px;
  max-width: 80%;
  box-shadow: 0 0 10px rgba(255, 230, 109, 0.2);
  overflow: visible;
}

/* The animated glowing square behind everything */
.pixel-border::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: linear-gradient(45deg, var(--accent-color), var(--neon-pink), var(--neon-blue));
  border-radius: 10px;
  animation: rotate 3s linear infinite;
  z-index: -2; /* <<< this pushes it *behind* the whole .pixel-border element */
}

.pixel-border img {
  display: block;
  width: 100%;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}




.hero-art {
    width: 100%;
    height: auto;
    max-width: 100%;
    image-rendering: pixelated;
}

/* Gallery Section */
.gallery {
    padding: clamp(2rem, 4vw, 4rem);
    background: rgba(0, 0, 0, 0.5);
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--accent-color);
    text-shadow: 
        3px 3px 0px var(--primary-color),
        6px 6px 0px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1em;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
}

.gallery-description {
    font-size: clamp(0.7rem, 1.3vw, 0.85rem);
    color: var(--text-secondary);
    font-style: italic;
}

/* Retro TV Gallery - PROPER SIZING */
.slideshow-container {
    perspective: 1200px;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.slideshow-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    border: 8px solid #e96a02;
    border-radius: 20px;
    background: #000;
    box-shadow: 
        0 0 30px rgba(255, 107, 107, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.9),
        -15px 15px 40px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.slideshow-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.08),
        rgba(0, 0, 0, 0.08) 2px,
        transparent 2px,
        transparent 4px
    );
    z-index: 10;
    pointer-events: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.slide.active {
    opacity: 1;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.slide-loading, .slide-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem;
}

.slide-btn {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    padding: clamp(0.6rem, 1vw, 0.8rem) clamp(1rem, 1.5vw, 1.5rem);
    font-size: clamp(0.65rem, 1.2vw, 0.8rem);
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin: 0 0.5rem;
}

.slide-btn:hover {
    box-shadow: 0 0 15px var(--primary-color);
    transform: translateY(-2px);
}

.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Sales Section */
.sales-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.sales-preview-section {
    padding: clamp(2rem, 4vw, 4rem);
    background: rgba(0, 0, 0, 0.7);
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.sales-stats-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--primary-color);
    padding: clamp(1rem, 2vw, 1.5rem);
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.stat-icon {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 0.8rem;
}

.stat-number {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: var(--neon-green);
    font-weight: bold;
    text-shadow: 0 0 10px var(--neon-green);
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.stat-label {
    font-size: clamp(0.6rem, 1.1vw, 0.8rem);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.biggest-sale-preview {
    max-width: 800px;
    margin: 0 auto;
}

.subsection-title {
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-shadow: 
        2px 2px 0px var(--primary-color),
        4px 4px 0px rgba(0, 0, 0, 0.5);
}

.biggest-sale-card {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 2rem);
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--neon-pink));
    color: white;
    padding: clamp(0.4rem, 0.8vw, 0.6rem) clamp(0.8rem, 1.5vw, 1.2rem);
    border-radius: 20px;
    font-size: clamp(0.6rem, 1vw, 0.75rem);
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.featured-sale-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.featured-image {
    width: 180px;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.featured-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.featured-title {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.featured-price-section {
    background: rgba(0, 0, 0, 0.6);
    padding: clamp(0.8rem, 1.5vw, 1rem);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 2px solid var(--neon-green);
}

.price-value {
    display: block;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: bold;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
    margin-bottom: 0.3rem;
}

.price-usd {
    display: block;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    color: var(--text-secondary);
}

.featured-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1rem 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 6px;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
}

.detail-label {
    color: var(--text-secondary);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    color: var(--text-color);
    font-family: 'Courier New', monospace;
}

.btn-view {
    display: inline-block;
    padding: clamp(0.6rem, 1vw, 0.8rem) clamp(1rem, 1.5vw, 1.5rem);
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-family: 'Press Start 2P', monospace;
}

.btn-view:hover {
    background: var(--neon-green);
    box-shadow: 0 0 15px var(--neon-green);
    transform: translateY(-2px);
}

.no-sales-card, .no-data-preview {
    text-align: center;
    padding: clamp(1.5rem, 2vw, 2rem);
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

/* About Section */
.about {
    padding: clamp(2rem, 4vw, 4rem);
    background: rgba(0, 0, 0, 0.5);
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Links Section */
.links {
    padding: clamp(2rem, 4vw, 4rem);
    background: rgba(0, 0, 0, 0.8);
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.link-card {
    display: block;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-purple) 100%);
    border: 2px solid var(--secondary-color);
    padding: clamp(1.2rem, 2vw, 1.8rem);
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border-radius: 10px;
}

.link-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.link-icon {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.link-card h3 {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.link-card p {
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    color: var(--text-secondary);
}

/* Footer */
.footer {
    text-align: center;
    padding: clamp(1.5rem, 2vw, 2rem);
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid var(--primary-color);
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: clamp(0.8rem, 2vw, 1.5rem);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: clamp(0.65rem, 1.2vw, 0.8rem);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

.footer p {
    margin-bottom: 0.3rem;
}

.footer-subtitle {
    font-size: clamp(0.65rem, 1vw, 0.8rem);
}

/* Loading State */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(78, 205, 196, 0.2);
    border-top: 3px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
    }
    
    .nav {
        width: 100%;
        gap: 0.5rem;
    }
    
    .nav-btn {
        flex: 1 1 calc(50% - 0.25rem);
    }
    
    .quick-links-content {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .quick-link {
        width: 100%;
        max-width: 150px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .featured-sale-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .featured-image {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .detail-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.8rem;
        position: relative;
    }
    
    .logo h1 {
        font-size: 1.2rem;
            text-shadow: 
        2px 2px 0px var(--primary-color),
        4px 4px 0px rgba(0, 0, 0, 0.5);
    }
    
    .nav-btn {
        font-size: 0.55rem;
        padding: 0.4rem 0.3rem;
    }
    
    .quick-links-bar {
        padding: 2px;
        margin-top: -2%;

    }
    
    .hero-title {
        font-size: 1.2rem;
        line-height: 1.1;
            text-shadow: 
        2px 2px 0px var(--primary-color),
        4px 4px 0px rgba(0, 0, 0, 0.5);
    }
    
    .hero-subtitle {
        font-size: 0.65rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
        font-size: 0.6rem;
        padding: 0.6rem 0.8rem;
    }
    
    .section-title {
        font-size: 1rem;
            text-shadow: 
        2px 2px 0px var(--primary-color),
        4px 4px 0px rgba(0, 0, 0, 0.5);
    }
    
    .slideshow-wrapper {
        border: 5px solid;
        border-color: #ff6600;
    }
    
    .slide-btn {
        font-size: 0.6rem;
        padding: 0.5rem 0.8rem;
        margin: 0.3rem;
    }
    
    .sales-stats-preview {
        gap: 1rem;
    }
    
    .stat-card {
        padding: 0.8rem;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 0.95rem;
    }
    
    .stat-label {
        font-size: 0.55rem;
    }
    
    .featured-sale-card {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .featured-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .featured-title {
        font-size: 0.85rem;
    }
    
    .price-value {
        font-size: 0.95rem;
    }
    
    .detail-row {
        font-size: 0.65rem;
        padding: 0.4rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .link-icon {
        font-size: 2rem;
    }
}
