:root {
    --bg-color: #0d0d12;
    --text-color: #ffffff;
    --gold: #5C5CFF;
    --gold-glow: rgba(56, 189, 248, 0.4);
    --true-gold: #ffc917;
    --true-gold-glow: rgba(212, 175, 55, 0.4);
    --gold-gradient: linear-gradient(
        to bottom,
        #f9d423 0%,
        #ffc917 22%,
        #d4af37 45%,
        #a67c00 50%,
        #d4af37 55%,
        #ffc917 78%,
        #f9d423 100%
    );
    --red: #ff0035;
    --green: #2a9d8f;
    --glass-bg: rgba(20, 20, 25, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

.gold-text {
    font-family: 'Playfair Display', serif;
    background: var(--gold-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.8)) drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
    font-weight: 800;
    text-transform: uppercase;
    animation: shimmer 8s infinite linear;
}

.red-text {
    color: var(--red);
    -webkit-text-fill-color: var(--red);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    background-attachment: fixed;
}

/* Preload gold menu images */
body::after {
    position: absolute; width: 0; height: 0; overflow: hidden; z-index: -1;
    content: url('../assets/images/menu/domu_gold.png') 
             url('../assets/images/menu/hry_gold.png') 
             url('../assets/images/menu/jak_to_funguje_gold.png') 
             url('../assets/images/menu/cenik_gold.png') 
             url('../assets/images/menu/reference_gold.png') 
             url('../assets/images/menu/fotogalerie_gold.png') 
             url('../assets/images/menu/kontakt_gold.png');
}

/* Background Image Layer */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.background-image {
    width: 105%;
    height: 105%;
    background-image: url('../assets/images/02_BANCO.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(2px) brightness(0.4);
    transform: translate(-2.5%, -2.5%);
}

/* Navigation */
header {
    width: 320px;
    height: 100vh;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: transparent;
    border-right: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin-bottom: 3rem;
    width: 100%;
    justify-content: center;
}

.logo img {
    height: auto;
    width: 100%;
    max-width: 260px;
    display: block;
}

.logo:hover {
    transform: scale(1.03);
}

nav {
    width: 100%;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    width: 100%;
}

nav a {
    display: inline-block;
    padding: 1rem 2rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

nav a:hover,
nav a.active {
    background: var(--gold-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
    animation: shimmer 5s infinite linear;
    transform: scale(1.05);
}

/* Menu images removed on user request */

@media (max-width: 1200px) {
    nav a {
        width: 180px;
        height: 50px;
    }
    nav ul {
        gap: 0.5rem;
    }
}

/* Main Layout */
main {
    min-height: 100vh;
    margin-left: 320px;
    padding: 2rem;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 70vh;
    padding: 0 20px;
    animation: fadeIn 1.5s ease;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5vw;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 1200px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #f9d423 0%, var(--true-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-size: 6vw;
    margin-top: 1rem;
    filter: drop-shadow(0 0 10px var(--true-gold-glow));
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin-bottom: 0;
    color: #ccc;
    font-weight: 300;
}

.hero p.bold-highlight {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 2rem;
    letter-spacing: 2px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Common Page Container */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 4rem;
    animation: fadeIn 0.8s ease forwards;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid rgba(56, 189, 248, 0.2);
    padding-bottom: 1rem;
}

/* Page Content Styles */
.page-content {
    font-size: 1.25rem;
    /* Enlarge font */
    font-style: normal;
    /* Set italic */
    line-height: 1.8;
}

.page-content p {
    margin-bottom: 1.5rem;
}

/* About Layout */
.about-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.about-layout .page-content {
    flex: 1;
}

.about-image {
    flex: 0 0 45%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .about-layout {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        margin-top: 2rem;
    }
}

/* Games Section */
.game-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--gold-glow);
    border-color: rgba(56, 189, 248, 0.3);
}

.game-card:nth-child(even) {
    flex-direction: row-reverse;
}

.game-img {
    flex: 0 0 40%;
    height: 300px;
    overflow: hidden;
}

.game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-img img {
    transform: scale(1.05);
}

.poker-card .game-img {
    height: auto;
}

.poker-card .game-img img {
    height: auto;
}

.game-content {
    flex: 1;
    padding: 3rem;
}

.game-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--red);
    margin-bottom: 1rem;
}

.game-content p {
    color: #bbb;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Styled List for References */
.styled-list {
    list-style: none;
    margin: 2rem auto;
    padding: 0;
    max-width: 800px;
}

.styled-list li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    color: #eee;
    font-size: 1.15rem;
    position: relative;
    padding-left: 3rem;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.styled-list li:hover {
    transform: translateX(10px);
    border-color: rgba(212, 175, 55, 0.4);
}

.styled-list li::before {
    content: '★';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--true-gold);
    font-size: 1.2rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 250px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 15px var(--gold-glow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item.placeholder span {
    color: #666;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer & Contact Section */
footer {
    background: #08080a;
    border-top: 1px solid var(--glass-border);
    padding: 5rem 5% 2rem;
    margin-top: auto;
    margin-left: 320px;
}

@media (max-width: 1200px) {
    footer {
        margin-left: 0;
    }
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.info-box {
    margin-bottom: 2rem;
}

.info-box h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box p {
    color: #aaa;
    font-size: 1.1rem;
}

.contact-form {
    flex: 1;
    min-width: 350px;
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
    background: rgba(0, 0, 0, 0.5);
}

.submit-btn {
    background: linear-gradient(135deg, var(--gold) 0%, #0369a1 100%);
    color: #000;
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--gold-glow);
}

.form-message {
    margin-top: 1rem;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-message.success {
    color: var(--green);
    display: block;
}

.form-message.error {
    color: var(--red);
    display: block;
}

.copyright {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.9rem;
}

body.no-scroll {
    overflow: hidden;
}

/* Hamburger Base */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 101;
    position: relative;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--true-gold);
    box-shadow: 0 0 5px var(--true-gold);
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 1200px) {
    header {
        position: fixed;
        width: 100%;
        height: 100px;
        padding: 0 2rem;
        flex-direction: row;
        justify-content: space-between;
        background: rgba(8, 8, 10, 0.95);
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .logo {
        margin-bottom: 0;
        width: auto;
        justify-content: flex-start;
    }
    
    .logo img {
        height: 80px;
        width: auto;
        max-width: 200px;
    }

    main {
        margin-left: 0;
        padding-top: 130px;
    }
    
    footer {
        margin-left: 0;
    }

    .hamburger {
        display: block;
        order: 2; /* Ensures it's after the logo */
        margin-left: auto; /* Pushes it to the right if there's space */
        z-index: 101;
    }

    nav {
        order: 3;
        width: 0;
        height: 0;
    }

    nav ul {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: rgba(13, 13, 18, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: 100vh;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
        margin: 0;
        padding: 0;
        gap: 1rem;
    }

    nav ul.active {
        left: 0;
    }

    nav a {
        width: 100%;
        height: auto;
        padding: 0.8rem 1rem;
        margin: 0.2rem 0;
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h1 .highlight {
        font-size: 3.5rem;
    }

    .game-card {
        flex-direction: column !important;
    }

    .game-img {
        width: 100%;
        height: 250px;
    }

    .footer-content {
        flex-direction: column;
    }
}