@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #07050e;
    --bg-secondary: #0f0b21;
    --bg-glass: rgba(15, 11, 33, 0.7);
    --bg-glass-hover: rgba(26, 19, 56, 0.8);
    
    --color-pokemon-gold: #f59e0b;
    --color-pokemon-yellow: #facc15;
    --color-pokemon-blue: #3b82f6;
    --color-magic-purple: #a855f7;
    --color-wargame-cyan: #06b6d4;
    --color-dice-red: #ef4444;
    
    --color-text-main: #f3f4f6;
    --color-text-muted: #9ca3af;
    --color-text-dim: #6b7280;
    
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glow-purple: rgba(168, 85, 247, 0.3);
    --border-glow-gold: rgba(245, 158, 11, 0.3);
    
    --shadow-purple: 0 0 20px rgba(168, 85, 247, 0.25);
    --shadow-gold: 0 0 20px rgba(245, 158, 11, 0.25);
    --shadow-cyan: 0 0 20px rgba(6, 182, 212, 0.25);
    --shadow-red: 0 0 20px rgba(239, 68, 68, 0.25);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
}

/* Base resets & styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

/* Beautiful custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-magic-purple);
    box-shadow: var(--shadow-purple);
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background floating canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    fill: none;
    stroke-width: 1.5;
    pointer-events: none;
    animation: floatShape 25s infinite linear;
    filter: drop-shadow(0 0 8px currentColor);
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(0.9);
    }
    50% {
        transform: translate(100px, -80px) rotate(180deg) scale(1.1);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(0.9);
    }
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-smooth);
    background: transparent;
}

header.scrolled {
    background: rgba(7, 5, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo span {
    background: linear-gradient(135deg, var(--color-pokemon-gold), var(--color-magic-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 5px var(--color-pokemon-gold));
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-pokemon-gold), var(--color-magic-purple));
    transition: var(--transition-quick);
    box-shadow: var(--shadow-purple);
}

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

.nav-links a.active {
    color: var(--color-text-main);
}

.nav-links a.active::after {
    width: 100%;
}

/* Mobile Nav Toggle */
.burger-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    z-index: 110;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-main);
    margin: 5px 0;
    transition: var(--transition-quick);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--bg-glass-hover);
    border-color: var(--border-glow-purple);
    box-shadow: var(--shadow-purple);
}

.glass-card.gold-hover:hover {
    border-color: var(--border-glow-gold);
    box-shadow: var(--shadow-gold);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 150%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-magic-purple), #7c3aed);
    color: white;
    box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text-main);
    transform: translateY(-3px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-pokemon-gold), #d97706);
    color: #07050e;
    box-shadow: var(--shadow-gold);
    font-weight: 700;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
}

/* Badge tags */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-purple { background: rgba(168, 85, 247, 0.15); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-gold { background: rgba(245, 158, 11, 0.15); color: #fde047; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-cyan { background: rgba(6, 182, 212, 0.15); color: #67e8f9; border: 1px solid rgba(6, 182, 212, 0.3); }
.badge-red { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }

/* Typography helper classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-main);
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--color-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glowing-text-purple {
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}
.glowing-text-gold {
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* Sections Base */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #d8b4fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* 3D Holographic Card Interactive Component */
.card-wrapper {
    perspective: 1000px;
}

.holo-card {
    position: relative;
    width: 100%;
    border-radius: 20px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
    cursor: pointer;
}

.holo-card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
    z-index: 5;
    pointer-events: none;
    mix-blend-mode: color-dodge;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.holo-card:hover .holo-card-shine {
    opacity: 1;
}

/* Vector Graphic placeholders (eliminating AI look) */
.vector-card-graphic {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(30, 20, 70, 0.9) 0%, rgba(10, 5, 25, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.vector-badge-shine {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-pokemon-gold) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(10px);
}

.vector-graphic-svg {
    width: 100px;
    height: 100px;
    color: var(--color-pokemon-gold);
    filter: drop-shadow(0 0 10px var(--color-pokemon-gold));
    z-index: 2;
    transition: var(--transition-smooth);
}

.holo-card:hover .vector-graphic-svg {
    transform: scale(1.15) rotate(-5deg);
    color: var(--color-pokemon-yellow);
}

/* Webshop Showcase & Product Layouts */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    border-color: rgba(255, 255, 255, 0.05);
}

.product-card:hover {
    border-color: var(--border-glow-gold);
    box-shadow: var(--shadow-gold);
}

.product-visual-container {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    background: radial-gradient(circle, #15112e 0%, #0c081d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    border: 1px solid rgba(255,255,255,0.03);
    overflow: hidden;
}

.product-visual-etb::before {
    content: 'ETB';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255,255,255,0.04);
}

.product-visual-svg {
    width: 70px;
    height: 70px;
    color: var(--color-pokemon-gold);
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.3));
    z-index: 2;
    transition: var(--transition-smooth);
}

.product-card:hover .product-visual-svg {
    transform: scale(1.1) rotate(5deg);
    color: var(--color-pokemon-yellow);
    filter: drop-shadow(0 0 15px rgba(250, 204, 21, 0.5));
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-desc-short {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    height: 58px;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1rem;
    margin-top: auto;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-pokemon-gold);
    font-family: var(--font-heading);
}

/* Shop controls */
.shop-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.search-bar-container {
    position: relative;
    width: 100%;
}

.search-bar-container svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--color-text-dim);
}

.shop-search-input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3rem;
    font-size: 1rem;
}

.shop-filter-tabs {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.shop-filter-tab {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--color-text-muted);
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-quick);
}

.shop-filter-tab:hover {
    color: var(--color-text-main);
    border-color: var(--color-pokemon-gold);
}

.shop-filter-tab.active {
    background: linear-gradient(135deg, var(--color-pokemon-gold), #d97706);
    color: #07050e;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

/* Booking System Layouts */
.booking-container {
    max-width: 800px;
    margin: 0 auto;
}

.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3.5rem;
    position: relative;
}

.booking-steps::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-glass);
    z-index: 1;
}

.booking-step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    z-index: 2;
    transition: var(--transition-quick);
}

.booking-step-indicator.active {
    border-color: var(--color-magic-purple);
    color: var(--color-text-main);
    background: var(--bg-primary);
    box-shadow: var(--shadow-purple);
}

.booking-step-indicator.completed {
    border-color: var(--color-wargame-cyan);
    color: #07050e;
    background: var(--color-wargame-cyan);
    box-shadow: var(--shadow-cyan);
}

.booking-form-step {
    display: none;
    animation: fadeInStep 0.4s ease;
}

.booking-form-step.active {
    display: block;
}

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

/* Interactive SVG Floor Map */
.guild-floor-map {
    width: 100%;
    max-height: 380px;
    background: #090615;
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.map-table {
    fill: #14102b;
    stroke: rgba(255,255,255,0.08);
    stroke-width: 1.5;
    cursor: pointer;
    transition: var(--transition-quick);
}

.map-table:hover {
    fill: rgba(168, 85, 247, 0.25);
    stroke: var(--color-magic-purple);
    filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.4));
}

.map-table.selected {
    fill: rgba(245, 158, 11, 0.3);
    stroke: var(--color-pokemon-gold);
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.6));
}

.map-table.booked {
    fill: #06040a;
    stroke: rgba(255,255,255,0.03);
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.map-label {
    fill: var(--color-text-muted);
    font-size: 8px;
    font-weight: 700;
    pointer-events: none;
    text-anchor: middle;
}

.map-text-sub {
    fill: var(--color-text-dim);
    font-size: 6px;
    pointer-events: none;
    text-anchor: middle;
}

/* Map legend */
.map-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid var(--border-glass);
}

/* Dynamic ticket component */
.guild-ticket {
    background: radial-gradient(circle at 0% 50%, transparent 15px, var(--bg-glass) 16px) , radial-gradient(circle at 100% 50%, transparent 15px, var(--bg-glass) 16px);
    background-position: left, right;
    background-size: 51% 100%;
    background-repeat: no-repeat;
    border: 1px dashed var(--border-glow-gold);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin: 0 auto;
    max-width: 500px;
    box-shadow: var(--shadow-gold);
    position: relative;
}

.ticket-divider {
    border-top: 1.5px dashed var(--border-glow-gold);
    margin: 2rem 0;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.ticket-row span:first-child {
    color: var(--color-text-muted);
}

.ticket-row span:last-child {
    color: var(--color-text-main);
    font-weight: 700;
}

.ticket-barcode {
    width: 100%;
    height: 50px;
    background: linear-gradient(90deg, #fff 2px, transparent 2px, #fff 5px, transparent 5px, #fff 10px, transparent 10px, #fff 12px, transparent 12px, #fff 18px, transparent 18px, #fff 20px, transparent 20px, #fff 25px);
    background-size: 35px 100%;
    margin-top: 2rem;
    opacity: 0.7;
}

/* Footer styling */
footer {
    background: #04030a;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid var(--border-glass);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo-col p {
    color: var(--color-text-muted);
    margin: 1.5rem 0;
    font-size: 0.95rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    color: var(--color-text-muted);
    transition: var(--transition-quick);
    text-decoration: none;
}

.social-links a:hover {
    color: var(--color-text-main);
    border-color: var(--color-magic-purple);
    box-shadow: var(--shadow-purple);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-magic-purple);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--color-text-muted);
    transition: var(--transition-quick);
    font-size: 0.95rem;
}

.footer-col ul a:hover {
    color: var(--color-text-main);
    padding-left: 5px;
}

.footer-info-list {
    list-style: none;
}

.footer-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-info-list svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-pokemon-gold);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-text-dim);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-quick);
}

.footer-bottom a:hover {
    color: var(--color-text-main);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .burger-menu {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(7, 5, 14, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-glass);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .burger-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
}
