/* Dick Butt - Modern Meme Culture Design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    /* Colors */
    --primary: #FF6B35;
    --primary-dark: #E8552E;
    --secondary: #004E89;
    --accent: #FFD23F;
    --dark-bg: #0F0F0F;
    --dark-card: #1A1A1A;
    --text-light: #E8E8E8;
    --text-muted: #9CA3AF;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --glow: 0 0 20px rgba(255, 107, 53, 0.5);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-light);
    background: var(--dark-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--dark-bg);
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, #FF6B35, #FFD23F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

/* Header */
.site-header {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B35, #FFD23F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.hero p {
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    font-size: 1.2rem;
}

/* Cards */
.card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    margin: var(--spacing-md) 0;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card h2 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

/* Timeline */
.timeline {
    position: relative;
    padding: var(--spacing-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: var(--spacing-lg) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--dark-card);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    z-index: 2;
    box-shadow: var(--glow);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--glow);
}

/* Feature Box */
.feature-box {
    background: var(--dark-card);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

/* Quote Block */
.quote-block {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 210, 63, 0.1));
    border-left: 4px solid var(--primary);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
    border-radius: 8px;
    font-style: italic;
    color: var(--text-light);
}

/* Footer */
.site-footer {
    background: var(--dark-card);
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    margin-top: var(--spacing-xl);
    border-top: 2px solid var(--primary);
}

.site-footer p {
    color: var(--text-muted);
}

/* Lists */
ul,
ol {
    margin: var(--spacing-sm) 0;
    padding-left: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-muted);
}

li::marker {
    color: var(--primary);
}

/* Highlight */
.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* Section Divider */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: var(--spacing-xl) 0;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem 1rem;
    }

    .main-nav {
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }

    .main-nav a {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }

    .container {
        padding: var(--spacing-sm);
    }

    .card {
        padding: var(--spacing-md);
    }

    .hero {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
    }

    .timeline-content {
        width: 100%;
        padding: var(--spacing-sm);
    }

    .timeline-date {
        left: 20px;
        transform: none;
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .memes-grid {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md);
    }

    .merchandise-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Flexible image heights for better mobile display */
    .gallery-item img {
        height: auto;
        min-height: 250px;
        max-height: 400px;
    }

    .meme-item img {
        height: auto;
        min-height: 200px;
        max-height: 350px;
    }

    .merch-image {
        height: auto;
        min-height: 180px;
        max-height: 250px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .header-content {
        padding: 0.5rem 0.75rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .main-nav {
        gap: 0.5rem;
        width: 100%;
    }

    .main-nav a {
        font-size: 0.8rem;
        padding: 0.35rem 0.25rem;
        flex: 0 0 auto;
    }

    .container {
        padding: 0.75rem;
    }

    .card {
        padding: 1rem;
        border-radius: 12px;
    }

    .hero {
        padding: 1.5rem 0.75rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .timeline-date {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }

    .quote-block {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .section-divider {
        margin: var(--spacing-md) 0;
    }

    /* Gallery optimizations */
    .gallery-grid {
        gap: 1rem;
    }

    .gallery-item img {
        min-height: 200px;
        max-height: 300px;
    }

    .gallery-caption {
        padding: 1rem;
    }

    .gallery-caption h4 {
        font-size: 1.1rem;
    }

    .gallery-caption p {
        font-size: 0.85rem;
    }

    /* Memes optimizations */
    .memes-grid {
        gap: 1rem;
        grid-template-columns: 1fr !important;
    }

    .meme-item img {
        min-height: 180px;
        max-height: 280px;
    }

    .meme-caption {
        padding: 1rem;
    }

    .meme-caption h4 {
        font-size: 1rem;
    }

    .meme-caption p {
        font-size: 0.85rem;
    }

    /* Merchandise optimizations */
    .merchandise-grid {
        gap: 1rem;
    }

    .merch-image {
        min-height: 150px;
        max-height: 200px;
    }

    .merch-item h4 {
        font-size: 1.1rem;
        margin: 0.75rem 0 0.5rem;
    }

    .merch-item p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .shop-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        margin: 0.75rem 0;
    }

    /* Footer */
    .site-footer {
        padding: var(--spacing-md) 1rem;
    }

    .site-footer p {
        font-size: 0.85rem;
    }
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--glow);
    border-color: var(--primary);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: var(--spacing-md);
    background: var(--dark-card);
}

.gallery-caption h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
}

.gallery-caption p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Merchandise Grid */
.merchandise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.merch-item {
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.merch-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--glow);
    border-color: var(--primary);
}

.merch-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.merch-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.merch-item:hover .merch-image {
    transform: scale(1.05);
}

.merch-item a>*:not(.merch-image) {
    padding: 0 var(--spacing-md);
}

.merch-item h4 {
    color: var(--primary);
    margin: var(--spacing-sm) 0 var(--spacing-xs);
    font-size: 1.2rem;
}

.merch-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.shop-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    margin: var(--spacing-sm) 0;
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.merch-item:hover .shop-button {
    box-shadow: var(--glow);
    transform: translateX(5px);
}

/* Memes Grid */
.memes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.meme-item {
    background: var(--dark-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.meme-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.meme-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.meme-caption {
    padding: var(--spacing-md);
}

.meme-caption h4 {
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.meme-caption p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}