/* game.css - Torwandschießen Styling
   Scope-isolated under #torwand-game-wrapper to prevent clashes in OXID eShop
*/

.header-img-mh {
    display:none;
}
/* Absolute Overlay Layout - Verhindert das Quetschen des Canvas */
.split-layout {
    position: relative !important;
    width: 100%;
    height: 100%;
}
.canvas-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: #070b12;
}
.side-panel {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 740px !important;
    background: rgba(255, 255, 255, 0.85);
    border: 3px solid rgba(226, 232, 240, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
}

.side-panel .overlay-card {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 15px !important;
    transform: scale(0.85); /* Inhalt proportional verkleinern */
    transform-origin: center center;
}
/* Game Over Screen (zentriert über allem) */
#torwand-gameover-screen.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 40;
    background: rgba(3, 7, 18, 0.7);
}
@media (max-width: 768px) {
    .side-panel {
        width: 95% !important;
        height: 80vh !important;
        bottom: 0;
        top: 50%;
        border-right: none;
        border-top: 1px solid #e2e8f0;
        padding: 10px 0;
    }
    .side-panel .overlay-card {
        transform: scale(0.9);
    }
}


/* Reset & Base fonts inside wrapper */
#torwand-game-wrapper {
    position: relative;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    height: 100vh;
    min-height: 500px;
    max-height: 1080px;
    overflow: hidden;
    background-color: #070b12;
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    color: #f8fafc;
    user-select: none;
    -webkit-user-select: none;
    box-sizing: border-box;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.65);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

#torwand-game-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Canvas styling */
#torwand-canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: grab;
    max-width: stretch;
    max-height: stretch;
}

#torwand-canvas:active {
    cursor: grabbing;
}

/* Glassmorphism utility */
#torwand-game-wrapper .glass {
    background: rgba(10, 18, 32, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* HUD Overlay */
#torwand-hud {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass through to canvas */
    width: 90%;
    max-width: 700px;
    justify-content: space-between;
}

#torwand-hud.hidden {
    display: none;
}

.hud-item {
    background: #ffffff;
    padding: 12px 24px !important;
    border-radius: 20px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-width: 140px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hud-label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.hud-value {
    font-size: 38px;
    font-weight: 900;
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    color: #dd0021;
    line-height: 1;
}

.hud-value.highlight {
    color: #dd0021;
    text-shadow: none;
}

/* Shots Left Ball Indicators */
.shots-indicator {
    display: flex;
    gap: 10px;
    align-items: center;
    height: 38px;
}

.shot-ball {
    width: 38px;
    height: 38px;
    background-image: url('../img/ball.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shot-ball.spent {
    transform: scale(0.75);
    opacity: 0.25;
    background-image: url('../img/ball.svg');
    filter: grayscale(100%);
    box-shadow: none;
}

/* Screen Overlays */
.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    padding: 24px;
    background: rgba(3, 7, 18, 0.45);
    backdrop-filter: blur(8px);
    transition: opacity 0.5s ease;
}

.game-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    display: none !important;
    visibility: hidden !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.overlay-card {
    border-radius: 32px;
    padding: 45px 40px !important;
    text-align: center;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: #333333 !important;
    gap: 24px !important; /* Generous gap spacing out popup elements */
}

.game-overlay.hidden .overlay-card {
    transform: scale(0.9);
}

/* Spinning ball graphic */
.soccer-icon-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 5px;
    background: radial-gradient(circle, rgba(221, 0, 33, 0.15) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinning-ball {
    width: 80px;
    height: 80px;
    animation: spin 12s linear infinite;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Premium Text styles */
.game-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    color: #333333;
}

.gradient-text {
    background: linear-gradient(135deg, #dd0021 0%, #8b0015 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-shadow: none;
}

.game-subtitle {
    font-size: 16px;
    color: #475569;
    line-height: 1.5;
    max-width: 90%;
}

/* Instructions card */
.game-instructions {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 24px !important;
    text-align: left;
}

.game-instructions h3 {
    font-size: 15px;
    font-weight: 800;
    color: #333333;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.game-instructions ul {
    list-style: none;
}

.game-instructions li {
    font-size: 14px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.game-instructions li:last-child {
    margin-bottom: 0;
}

.step-num {
    background: #dd0021;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Buttons styling */
#shop-hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 16px 36px !important;
    border-radius: 16px !important;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    letter-spacing: 0.05em;
}

#shop-hero .btn-primary {
    background: #dd0021 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(221, 0, 33, 0.25) !important;
    max-width: 380px !important;
}

#shop-hero .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(221, 0, 33, 0.4) !important;
    background: #b9001b !important;
}

#shop-hero .btn-primary:active {
    transform: translateY(0) !important;
}

#shop-hero .btn-secondary {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

#shop-hero .btn-secondary:hover {
    background: #e2e8f0 !important;
    border-color: #94a3b8 !important;
    color: #333333 !important;
    transform: translateY(-1px) !important;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(35deg);
    transition: all 0.5s ease;
    opacity: 0;
    pointer-events: none;
}

.btn-glow:hover::after {
    left: 130%;
    opacity: 1;
    transition: all 0.8s ease-in-out;
}

/* Difficulty Selector */
.difficulty-select {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    justify-content: center;
}

.diff-label {
    font-size: 13px;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.05em;
}

.diff-buttons {
    display: flex;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 4px;
}

.btn-diff {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-diff.active {
    background: #dd0021;
    color: #ffffff;
    box-shadow: 0 3px 6px rgba(221, 0, 33, 0.15);
}

.calibration-hint {
    font-size: 12px;
    color: #64748b;
}

.calibration-hint kbd {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 2px 6px;
    color: #475569;
}

/* Game Over Card Stats */
.section-title {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 0;
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    color: #333333;
}

.stats-single {
    background: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 24px;
    padding: 24px 40px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    margin: 0 auto;
}

.stat-label {
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-val {
    font-size: 48px;
    font-weight: 900;
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    color: #dd0021;
}

/* Coupon Redemption Area */
#coupon-redeem-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 16px;
}

.coupon-msg {
    font-size: 14px;
    color: #475569;
    max-width: 400px;
    margin: 0 auto;
}

.coupon-box {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px dashed rgba(221, 0, 33, 0.4);
    border-radius: 16px;
    padding: 10px 10px 10px 20px !important;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    justify-content: space-between;
    gap: 15px;
}

#coupon-code {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #333333;
}

.btn-copy {
    padding: 10px 20px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
    background: #dd0021 !important;
    color: white !important;
    width: auto !important;
    box-shadow: 0 4px 10px rgba(221, 0, 33, 0.15) !important;
}

.btn-copy:hover {
    background: #b9001b !important;
    box-shadow: 0 6px 15px rgba(221, 0, 33, 0.3) !important;
    transform: none !important;
}

.action-buttons {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

/* Calibration Panel */
#torwand-calibration-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 320px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
    z-index: 30;
    overflow: hidden;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

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

.calibration-header {
    background: #f8fafc;
    border-bottom: 1px solid #cbd5e1;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calibration-header h3 {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #333333;
}

.calibration-close {
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.calibration-close:hover {
    color: #ef4444;
}

.calibration-body {
    padding: 20px;
}

.calibration-body p {
    font-size: 12px;
    color: #475569;
    line-height: 1.4;
    margin-bottom: 15px;
}

.config-output {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#calibration-json {
    width: 100%;
    height: 90px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #dd0021;
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-size: 10px;
    padding: 8px;
    resize: none;
    outline: none;
}

.btn-small {
    padding: 8px 12px;
    font-size: 11px;
    border-radius: 8px;
    width: auto;
}

.calibration-actions {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.calibration-actions .btn {
    flex: 1;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.btn-danger:hover {
    background: #ef4444;
    color: white;
}

/* Toast Messages */
#torwand-toast {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #dd0021;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 18px 36px;
    border-radius: 20px;
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 15;
    pointer-events: none;
    box-shadow: 0 15px 40px rgba(221, 0, 33, 0.3), 0 0 0 6px rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#torwand-toast.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: toastScaleUp 0.15s ease-out;
}

@keyframes toastScaleUp {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0;
    }

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

/* Utility Hidden */
.hidden {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #torwand-game-wrapper {
        height: 80vh;
        min-height: 420px;
    }
    #torwand-hud {
        top: 80px;
    }
    .hud-value {
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .overlay-card {
        padding: 25px 20px;
    }

    .game-title {
        font-size: 26px;
    }

    .gradient-text {
        font-size: 32px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #torwand-hud {
        top: 80px;
        gap: 8px;
    }

    .hud-item {
        padding: 8px 12px;
        min-width: 80px;
    }

    .hud-value {
        font-size: 35px;
    }
}

/* ==========================================================================
   mycamas eSHOP MOCKUP & SEXY OVERLAY TRANSITION STYLING
   ========================================================================== */

/* WhatsApp floating badge */
.shop-whatsapp-badge {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #22c55e;
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    z-index: 99;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.shop-whatsapp-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.55);
}

/* Shop mockup main layout */
#shop-mockup-wrapper {
    background-color: #ffffff;
    color: #334155;
    min-height: 100vh;
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    overflow-x: hidden;
}

#shop-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 80;
}

.shop-header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.shop-logo {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
    cursor: default;
}
.shop-logo sup {
    font-size: 10px;
    color: #94a3b8;
    vertical-align: super;
}
.logo-red { color: #be123c; }
.logo-dark { color: #1e293b; }

.shop-search-bar {
    flex: 1;
    max-width: 500px;
    display: flex;
    background: #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}
.shop-search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 16px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
}
.btn-search-submit {
    background: #be123c;
    border: none;
    color: white;
    padding: 0 20px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-search-submit:hover {
    background: #9f1239;
}

.shop-user-menu {
    display: flex;
    gap: 15px;
}
.menu-item {
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.menu-item:hover {
    background: #f1f5f9;
}

#shop-nav {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}
.nav-links {
    max-width: 1300px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 12px 20px;
    overflow-x: auto;
}
.nav-links li a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    transition: color 0.2s;
}
.nav-links li a:hover, .nav-links li a.active {
    color: #be123c;
}

/* Hero Summer Banner styling */
#shop-hero {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: 1800px;
    max-height: 100%;
    margin: 0 auto 50px auto;
    cursor: pointer;
    background: #333;
}

.hero-content-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10;
    animation: slideInRight 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.german-flag-badge {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
}
.hero-content-card h2 {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #333333;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.hero-content-card p {
    font-size: 14px;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 20px;
}
.btn-shop-cta {
    background: #be123c;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 24px;
    border-radius: 10px;
    transition: all 0.2s;
    margin-bottom: 20px;
}
.btn-shop-cta:hover {
    background: #9f1239;
    transform: translateY(-1px);
}

/* EM Teaser Card inside Hero Banner */
.em-teaser-card {
    background: linear-gradient(135deg, #090d16 0%, #052e16 100%);
    border: 2px solid #10b981;
    border-radius: 18px;
    padding: 15px 20px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.teaser-badge {
    align-self: flex-start;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid #10b981;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 8px;
    letter-spacing: 0.05em;
}
.teaser-body {
    display: flex;
    gap: 12px;
    align-items: center;
}
.teaser-icon {
    font-size: 28px;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-5px) rotate(15deg); }
}
.teaser-details h4 {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 2px;
    letter-spacing: 0.02em;
}
.teaser-details p {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.35;
    margin-bottom: 0;
}
.btn-teaser-play {
    background: linear-gradient(to right, #dd0021, #8b0015);
    border: none;
    color: white;
    width:fit-content;
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}
.btn-teaser-play:hover {
    transform: translateY(-2px);

}

/* Product list area below hero */
#shop-main-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 20px;
}
.product-section {
    width: 100%;
}
.section-heading {
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #333333;
    margin-bottom: 4px;
}
.section-subheading {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.product-card:hover {
    transform: translateY(-5px);
    border-color: #cbd5e1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

.badge-bestseller {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #be123c;
    color: white;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.05em;
    z-index: 5;
}

.prod-img-placeholder {
    height: 180px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid #f1f5f9;
}

/* Beautiful custom vector illustrations for the fence products inside placeholders */
.prod-img-placeholder.matten .grid-mesh-lines {
    width: 80px;
    height: 110px;
    background: 
        linear-gradient(90deg, transparent 92%, #64748b 92%),
        linear-gradient(0deg, transparent 88%, #64748b 88%);
    background-size: 12px 24px;
    border: 3px solid #475569;
    border-radius: 4px;
}
.prod-img-placeholder.pfosten .post-cap-shape {
    width: 25px;
    height: 120px;
    background: linear-gradient(90deg, #475569 0%, #1e293b 100%);
    position: relative;
    border-radius: 2px;
}
.prod-img-placeholder.pfosten .post-cap-shape::before {
    content: '';
    position: absolute;
    top: -4px; left: -2px; width: 29px; height: 10px;
    background: #333333;
    border-radius: 3px;
}
.prod-img-placeholder.tor .gate-mesh-shape {
    width: 100px;
    height: 100px;
    border: 4px solid #475569;
    background: 
        linear-gradient(45deg, transparent 48%, #64748b 48%, #64748b 52%, transparent 52%),
        linear-gradient(90deg, transparent 92%, #94a3b8 92%),
        linear-gradient(0deg, transparent 88%, #94a3b8 88%);
    background-size: 100% 100%, 10px 20px, 10px 20px;
    border-radius: 6px;
    position: relative;
}
.prod-img-placeholder.acc .accessory-bolts-shape {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #94a3b8 30%, #475569 60%, transparent 62%);
    background-size: 24px 24px;
}

.prod-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}
.prod-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
}

.prod-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}
.price-prefix {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}
.price-val {
    font-size: 18px;
    font-weight: 800;
    color: #be123c;
    font-family: "itc-avant-garde-gothic-pro", sans-serif;
}
.price-crossed {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: auto;
}



/* ==========================================================================
   PREMIUM FULLSCREEN ZOOM OVERLAY STYLING FOR THE GAME
   ========================================================================== */

#torwand-game-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    
    /* Hardware accelerated transition setup */
    opacity: 0;
    pointer-events: none;
    transform: scale(0.01);
    transform-origin: center center;
    filter: blur(10px);
    transition: 
        opacity 0.5s ease,
        transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.5s ease;
        
    /* Luxurious background blur backdrop */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    background: rgba(3, 7, 18, 0.65);
    
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay Active Expanded State */
#torwand-game-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    filter: blur(0);
}

/* Enclosed Game Wrapper inside overlay */
#torwand-game-overlay #torwand-game-wrapper {
    width: 100%;
    height: 100%;
    background: transparent;
    box-shadow: none;
    border: 15px solid white;
    border-radius: 40px;
}

/* Premium Close overlay button style */
.btn-close-game-overlay {
    position: absolute;
    height: 50px;
    width: 50px;
    top: 25px;
    right: 25px;
    border-radius: 50%;
    background: #fff;
    text-align: center;
    cursor: pointer;
    z-index: 120;
    transform-origin: center;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
}

.btn-close-game-overlay img{
    width: 30px;
    height: 30px;
}

.btn-close-game-overlay:hover {
    background: rgba(239, 68, 68, 0.85);
    color: #ffffff;
    border-color: #ef4444;
    transform: rotate(90deg);
    transform-origin: center;
}
.btn-close-game-overlay:active {
    transform: rotate(90deg);
}

#btn-restart-game {
    padding:10px 20px;
}
/* Responsive overlays adjustments */
@media (max-width: 768px) {
    #shop-hero {
        background: #333;
        width: 100%;
        height: auto;
    }

    .hero-content-card {
        max-width: 100%;
    }

    .btn-close-game-overlay {
        top: 25px;
        right: 25px;
        width: 40px;
        height: 40px;
        font-size: 24px;
        line-height: 26px;
        padding: 0;
    }

    .shot-ball {
        width: 25px;
        height: 25px;
    }

}

/* --- OVERLAY CARD STYLING --- */
.overlay-card {
    padding: 40px 30px !important;
    border-radius: 24px;
    text-align: center;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* --- TYPOGRAFIE --- */
.game-title {
    font-size: 2.2rem;
    line-height: 1.1;
    margin: 20px 0 15px 0;
    color: #dc2626; /* Camas-Rot */
    font-weight: 900;
    text-transform: uppercase;
}

.game-subtitle {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 35px;
}

/* --- ANLEITUNGS-BOX --- */
.game-instructions {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 10px 25px;
    margin-bottom: 35px;
    text-align: left;
}

.game-instructions h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 20px!important;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    line-height: 2;
}

.game-instructions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.game-instructions li {
    font-size: 1.25rem;
    line-height: 1.4;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-num {
    background: #dc2626;
    color: white;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

/* --- MASSIVE BUTTONS --- */
#torwand-start-screen .btn {
    font-family: inherit;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 20px 40px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    width: 100%;
    letter-spacing: 1px;
}

#torwand-start-screen .btn-primary {
    background: #dc2626;
    color: #ffffff;
  
}

#torwand-start-screen .btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-3px);
   
}

#torwand-start-screen .btn-secondary {
    background: #1e293b;
    color: #ffffff;
}

#torwand-start-screen .btn-secondary:hover {
    background: #333333;
    transform: translateY(-3px);
}

.tor-img img {
    max-width: 100vw
}

