/* ==========================================
   WUUTT – Art & Cosplay by Felix
   Färgschema: Svart + Lila
   ========================================== */

/* --- RESET & VARIABLER --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0a0a0f;
    --color-bg-alt: #12121a;
    --color-surface: #1a1a2e;
    --color-surface-hover: #252540;
    --color-purple: #9b59b6;
    --color-purple-light: #c084fc;
    --color-purple-dark: #7c3aed;
    --color-purple-glow: rgba(155, 89, 182, 0.3);
    --color-text: #e8e8f0;
    --color-text-muted: #8888a0;
    --color-text-dim: #555570;
    --color-border: #2a2a40;
    --color-white: #ffffff;
    --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Georgia', 'Times New Roman', serif;
    --max-width: 1200px;
    --header-height: 70px;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-purple-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-white);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}


/* --- HEADER / NAV --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.header.menu-open {
    background: #0a0a0f;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.nav-logo:hover {
    color: var(--color-purple-light);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--color-white);
}

.lang-toggle {
    background: none;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    cursor: pointer;
    transition: border-color var(--transition);
    display: flex;
    align-items: center;
}

.lang-toggle:hover {
    border-color: var(--color-purple);
}

.lang-flag {
    width: 28px;
    height: 20px;
    border-radius: 3px;
    object-fit: cover;
}

/* --- HAMBURGER --- */
.hamburger {
    display: none;
    visibility: hidden;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-text);
    margin: 6px 0;
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    letter-spacing: 16px;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 16px;
    text-shadow: 0 0 60px var(--color-purple-glow), 0 0 120px rgba(155, 89, 182, 0.15);
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--color-purple-light);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-purple-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}


/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--color-purple-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-purple-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--color-purple-light);
    border: 2px solid var(--color-purple);
}

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


/* --- SECTIONS --- */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-white);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 60px;
}


/* --- GALLERY GRID --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-item {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    border-color: var(--color-purple);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(155, 89, 182, 0.15);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-img-placeholder::after {
    content: '🎨';
    font-size: 3rem;
    opacity: 0.3;
}

.gallery-info {
    padding: 20px;
}

.gallery-info h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--color-white);
}

.gallery-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}


/* --- SHOP GRID --- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.shop-item {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.shop-item:hover {
    border-color: var(--color-purple);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(155, 89, 182, 0.15);
}

.shop-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.shop-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-img-placeholder::after {
    content: '🛍️';
    font-size: 3rem;
    opacity: 0.3;
}

.shop-info {
    padding: 20px;
}

.shop-info h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--color-white);
}

.shop-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-purple-light);
    margin-bottom: 8px;
}

.shop-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.shop-item .btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    text-align: center;
    font-size: 0.85rem;
    padding: 12px;
}


/* --- NEWS GRID --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.news-item {
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.news-item:hover {
    border-color: var(--color-purple);
}

.news-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-img-placeholder::after {
    content: '📰';
    font-size: 3rem;
    opacity: 0.3;
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--color-purple-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.news-content h3 {
    font-size: 1.2rem;
    color: var(--color-white);
    margin: 8px 0;
}

.news-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}


/* --- ABOUT --- */
.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.social-link:hover {
    border-color: var(--color-purple);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(155, 89, 182, 0.1);
}

.social-link svg {
    flex-shrink: 0;
}


/* --- FOOTER --- */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-text {
    color: var(--color-text-dim);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-hosting {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

.footer-hosting a {
    color: var(--color-purple);
    font-weight: 600;
}

.footer-hosting a:hover {
    color: var(--color-purple-light);
}


/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--color-purple-light);
}

.lightbox-img {
    max-width: 90%;
    max-height: 75vh;
    border-radius: var(--radius);
    object-fit: contain;
}

.lightbox-info {
    text-align: center;
    margin-top: 20px;
}

.lightbox-info h3 {
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.lightbox-info p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}


/* --- PLACEHOLDER ANIMATION --- */
.placeholder-item .gallery-img-placeholder,
.placeholder-item .shop-img-placeholder,
.placeholder-item .news-img-placeholder {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}


/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        visibility: visible;
        position: relative;
        z-index: 1002;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #0a0a0f;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 120px;
        gap: 24px;
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.3rem;
        letter-spacing: 2px;
        color: var(--color-text);
    }

    .nav-links a:hover {
        color: var(--color-purple-light);
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-title {
        letter-spacing: 8px;
    }

    .section {
        padding: 60px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}