/* ARIBENA Custom CSS - Aktualizováno */

/* Offset for anchor navigation to account for fixed header */
:target::before {
    content: "";
    display: block;
    height: 100px; /* Fixed header height */
    margin-top: -100px; /* Negative fixed header height */
    visibility: hidden;
    pointer-events: none;
}

/* Upravená tlačítka podle tlačítka v top menu */
.btn {
    cursor: pointer;
    z-index: 1;
    position: relative;
    padding: 16px 36px;
    color: #5b39c9;
    font-weight: 600;
    text-transform: capitalize;
    overflow: hidden;
    border: none;
    border-radius: 8px !important;
    transition: .3s all linear;
    font-size: 14px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn:before {
    content: " ";
    position: absolute;
    top: 48%;
    left: 48%;
    z-index: -1;
    transform: scale(0);
    width: 11px;
    height: 11px;
    transition: .3s all linear;
    opacity: 0;
    visibility: hidden;
    background: #5b39c9;
    border-radius: 8px;
}

.btn:hover {
    color: #fff;
}

.btn:hover:before {
    transform: scale(20);
    opacity: 1;
    visibility: visible;
}

.btn:active, 
.btn:focus {
    color: #fff;
    text-decoration: none;
    outline: none;
}

/* Hero tlačítko v horní sekci - konzistentní s top menu tlačítkem */
.hero-btn {
    margin-top: 20px;
}

/* Skrytí sekce stažení */
#download {
    display: none;
}

/* AppStore download button styles */
.download-btn {
    display: inline-block;
    transition: all 0.3s ease;
    height: auto;
    width: auto;
}

.download-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* Velikosti tlačítek pro různé umístění */
.download-btn img {
    height: auto;
    width: 100%;
}

/* Velikost tlačítka v hlavní hero sekci - větší */
.banner-text-inner .download-btn {
    max-width: 240px;
}

/* Velikost tlačítka v hlavičce - menší */
.urgent-call .download-btn {
    max-width: 180px;
}

/* Velikost tlačítka v patičce */
.footer .download-btn {
    max-width: 200px;
}

/* Velikost tlačítka ve stažení sekci */
.download-app-inner .download-btn {
    max-width: 240px;
}

/* Velikost tlačítka v sekcích How To Play a Power Cards */
.user-interact-inner .download-btn {
    max-width: 220px;
    margin-top: 20px;
}

/* Phone Mockup - iPhone 16 Pro */
.phone-mockup {
    position: relative;
    width: 375px;
    height: 750px;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
}

.phone-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/mockup_iphone_16_pro.png') no-repeat center center;
    background-size: contain;
    z-index: 10;
    pointer-events: none;
}

.phone-mockup-screen {
    position: absolute;
    top: 23px;
    left: 22px;
    right: 22px;
    bottom: 20px;
    width: calc(100% - 44px);
    height: calc(100% - 40px);
    overflow: hidden;
    border-radius: 30px;
    background-color: transparent;
    z-index: 5;
}

.phone-mockup-screen img {
    width: 98%;
    height: 98%;
    object-fit: cover;
    border-radius: 30px;
    display: block;
    padding: 0;
    margin: 0;
}

/* Pro karusel s mockupem */
.mockup-container {
    position: relative;
    width: 375px;
    height: 750px;
    margin: 0 auto;
    z-index: 5;
}

.screenshots-carousel {
    width: 100%;
    height: 100%;
}

.screenshots-carousel .slide {
    width: 100%;
    height: 100%;
}

.mockup-container .phone-mockup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Banner phone mockup */
.banner-image {
    position: relative;
}

.banner-image .phone-mockup {
    margin: 0 auto;
}

/* Screenshot carousel styling */
.app-carousel .single-app-image {
    display: block;
    margin: 0 auto;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
    max-width: none;
}

.app-carousel .phone-mockup {
    transform: scale(0.95);
    margin: 20px auto;
    transition: all 0.3s ease;
}

.app-carousel .owl-item.center .phone-mockup {
    transform: scale(1);
}

.app-carousel .owl-item:not(.center) .phone-mockup {
    transform: scale(0.85);
    opacity: 0.8;
}

/* Úprava pozice app-carousel */
.app-carousel-inner {
    position: relative;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* Číslo screenshotu */
.screenshot-number {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-color: rgba(108, 99, 255, 0.8);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 14px;
}

/* Odstranění přebytečného paddingu z app-carousel */
.app-carousel .owl-item {
    padding: 0;
}

/* Fix zobrazení navigačních šipek */
.app-carousel.owl-carousel .owl-nav {
    margin-top: 15px;
    text-align: center;
}

.app-carousel.owl-carousel .owl-nav button.owl-next,
.app-carousel.owl-carousel .owl-nav button.owl-prev {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    line-height: 45px;
    z-index: 5;
}

.app-carousel.owl-carousel .owl-nav button.owl-prev {
    left: 5px;
}

.app-carousel.owl-carousel .owl-nav button.owl-next {
    right: 5px;
}

.app-carousel.owl-carousel .owl-nav button.owl-next:hover,
.app-carousel.owl-carousel .owl-nav button.owl-prev:hover {
    background: #fff;
    color: var(--theme-primary-color, #7052fb);
}

/* Centralizace karuselu */
.app-scrin-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Screenshots sekce na tmavém pozadí pouze ve výchozím tématu */
body:not(.dark-theme) section#app.bg-2 .section-title h2,
body:not(.dark-theme) section#app.bg-2 .section-title p {
    color: #36324a;
}

/* V tmavém režimu je text bílý */
body.dark-theme section#app.bg-2 .section-title h2,
body.dark-theme section#app.bg-2 .section-title p {
    color: #fff;
}

/* Navigační šipky pro přepínání screenshotů */
.screenshot-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.screenshot-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #5b39c9;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.screenshot-nav:hover {
    background-color: #fff;
    color: #6c63ff;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

body.dark-theme .screenshot-nav {
    background-color: rgba(51, 51, 51, 0.8);
    color: #fff;
}

body.dark-theme .screenshot-nav:hover {
    background-color: #444;
}

/* Light theme styly */
body:not(.dark-theme) section#app.bg-2 .screenshots-dots .dot {
    background-color: rgba(0, 0, 0, 0.2);
}

body:not(.dark-theme) section#app.bg-2 .screenshots-dots .dot.active {
    background-color: #5b39c9;
}

body:not(.dark-theme) section#app.bg-2 .screenshot-thumbnail {
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body:not(.dark-theme) section#app.bg-2 .screenshot-thumbnail.active {
    border: 3px solid #5b39c9;
}

body:not(.dark-theme) section#app.bg-2 .screenshot-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Dark theme styly */
body.dark-theme section#app.bg-2 .screenshots-dots .dot {
    background-color: rgba(255, 255, 255, 0.5);
}

body.dark-theme section#app.bg-2 .screenshots-dots .dot.active {
    background-color: #fff;
}

body.dark-theme section#app.bg-2 .screenshot-thumbnail {
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-theme section#app.bg-2 .screenshot-thumbnail.active {
    border: 3px solid #fff;
}

body.dark-theme section#app.bg-2 .screenshot-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Kontejner pro screenshoty */
#screenshots-carousel {
    max-width: 100%;
    margin: 0 auto;
}

/* Tečky indikátoru pod mockupem */
.screenshots-dots {
    text-align: center;
    margin: 20px 0;
}

.screenshots-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshots-dots .dot.active {
    background-color: #6c63ff;
    transform: scale(1.2);
}

/* Styly pro thumbnaily screenshotů */
.screenshots-thumbnails {
    margin-top: 40px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.screenshots-thumbnails .row {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease-in-out;
    width: max-content;
    margin: 0 auto;
}

.screenshots-thumbnails .col-6,
.screenshots-thumbnails .col-md-3 {
    width: 180px;
    max-width: 180px;
    flex: 0 0 180px;
    padding: 0 15px;
    margin-bottom: 20px;
}

.screenshot-thumbnail {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 200%; /* Poměr výšky k šířce */
}

.screenshot-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.screenshot-thumbnail.active {
    border: 3px solid #6c63ff;
}

.screenshot-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animace fadein/fadeout pro screenshot display */
#screenshot-display {
    transition: opacity 0.2s ease-in-out;
}

/* Carousel controls */
.carousel-previews {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease-in-out;
    width: max-content;
}

/* Centrování mockup kontejneru */
.mockup-container {
    margin: 0 auto;
    display: block;
}

/* Konzistentní styl tlačítka v top menu (bez změny při scrollování) */
.urgent-call .btn,
.main-header.sticky .urgent-call .btn {
    background-color: #6366f1 !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 3px 15px rgba(99, 102, 241, 0.3) !important;
}

.urgent-call .btn:hover,
.main-header.sticky .urgent-call .btn:hover {
    background-color: #5B39CA !important;
    color: #fff !important;
}

.urgent-call .btn:before {
    display: none !important;
}

/* Logo textové místo obrázku */
.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #6c63ff;
    text-decoration: none;
    padding: 23px 0;
    display: inline-block;
}

.logo-text:hover {
    text-decoration: none;
    color: #5a52e0;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    text-decoration: none;
}

.footer-logo-text:hover {
    text-decoration: none;
    color: #e6e6e6;
}

.widget-header h5 .footer-logo-text {
    margin-bottom: 0;
}

/* Stylování přepínače motivu v menu */
.theme-toggle a {
    padding: 23px 10px;
    display: flex;
    align-items: center;
}

.theme-toggle i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.theme-toggle a:hover i {
    transform: rotate(30deg);
}

/* Ikona globu pro výběr jazyka */
.header-menu > ul > li > a .fa-globe {
    font-size: 18px;
    margin-right: 0;
}

.mobile-menu .dropdown-toggle .fa-globe {
    font-size: 22px;
    margin-right: 5px;
    color: #5b39c9;
}

/* Zarovnání menu položek ve stejné výšce */
.header-menu > ul {
    display: flex;
    align-items: center;
}

.header-menu > ul > li {
    display: flex;
    align-items: center;
}

/* Logo ve stejné výšce jako menu */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-text {
    padding: 23px 0;
    display: inline-block;
}

/* Tlačítko stáhnout ve stejné výšce */
.urgent-call {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.hidden {
    display: none !important;
}

/* Feature Cards - stejná výška */
.feature-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 2px solid #6c63ff;
    margin-bottom: 30px;
    height: 100%;
}

.feature-card .feature-icon {
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    flex-grow: 1;
    margin-bottom: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
}

/* WordPass Cards - stejná výška */
.wordpass-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid #6c63ff;
    margin-bottom: 30px;
    height: 100%;
}

.wordpass-card.active {
    border-color: #6c63ff;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
}

.wordpass-title {
    margin-bottom: 20px;
    text-align: center;
}

.wordpass-title h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.wordpass-title span {
    font-size: 28px;
    font-weight: 700;
    color: #6c63ff;
}

.wordpass-content {
    flex-grow: 1;
}

.wordpass-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wordpass-content ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.wordpass-content ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wordpass-content ul li i {
    margin-right: 10px;
    font-size: 16px;
}

.wordpass-content ul li i.fa-check {
    color: #4CAF50;
}

.wordpass-content ul li i.fa-times {
    color: #F44336;
}

.wordpass-info {
    font-style: italic;
    font-size: 14px;
    margin-top: 20px;
    color: #666;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    display: inline-block;
}

.save-info {
    font-size: 12px;
    color: #6c63ff;
    margin-top: 5px;
    font-weight: 500;
}

/* Patička úpravy */
.footer-widget {
    margin-bottom: 30px;
}

.widget-header h5 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

/* Oprava seznamu adres */
.address-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.address-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    width: 100%;
}

.address-list li span:first-child {
    width: 25px;
    min-width: 25px;
    text-align: center;
    margin-right: 15px;
}

.address-list li span:nth-child(2) {
    flex: 1;
}

/* Styly pro odkazy v patičce */
.quick-links, .legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li, .legal-links li {
    margin-bottom: 15px;
    display: flex;
}

.quick-links li a, .legal-links li a {
    transition: color 0.3s ease;
    padding-left: 5px;
    display: block;
    width: 100%;
}

.quick-links li a:hover, .legal-links li a:hover {
    text-decoration: none;
}

/* Úprava stylu sociálních ikon při najetí */
.social-icons-light li a {
    transition: color 0.3s ease;
}

.social-icons-light li a:hover {
    color: #4e63d7 !important;
    background-color: transparent !important;
}

/* How to Play Steps */
.how-to-steps .step-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.how-to-steps .step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.how-to-steps .step-icon {
    position: relative;
    margin-bottom: 15px;
}

.how-to-steps .step-icon i {
    font-size: 36px;
    color: #6c63ff;
    margin-bottom: 10px;
}

.how-to-steps .step-number {
    position: absolute;
    top: -5px;
    right: calc(50% - 30px);
    width: 24px;
    height: 24px;
    background-color: #6c63ff;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-to-steps .step-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.how-to-steps .step-card p {
    font-size: 14px;
    color: #666;
}

/* Tlačítko v sekci Jak hrát - větší vertikální mezera */
#how-to-play .btn {
    margin-top: 30px;
    margin-bottom: 20px;
    display: inline-block;
}
/* Tlačítko v sekci Power Cards */
.feature-btn {
    margin-top: 25px;
}

/* Offset for anchor navigation to account for fixed header */
:target::before {
    content: "";
    display: block;
    height: 100px; /* Fixed header height */
    margin-top: -100px; /* Negative fixed header height */
    visibility: hidden;
    pointer-events: none;
}

/* Power Cards Grid */
.power-cards-grid {
    margin-top: 20px;
}

.power-card-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.power-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.power-card-icon {
    position: relative;
    margin-bottom: 15px;
}

.power-card-icon i {
    font-size: 36px;
    color: #6c63ff;
    margin-bottom: 10px;
}

.power-card-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.power-card-item p {
    font-size: 14px;
    color: #666;
}

/* Dark theme for power cards */
body.dark-theme .power-card-item {
    background-color: #333;
}

body.dark-theme .power-card-item h4 {
    color: #fff;
}

body.dark-theme .power-card-item p {
    color: #ccc;
}

body.dark-theme .power-card-icon i {
    color: #5a52e0;
}

/* Tmavý motiv */
body.dark-theme {
    background-color: #222;
    color: #e6e6e6;
}

body.dark-theme .feature-card,
body.dark-theme .wordpass-card,
body.dark-theme .how-to-steps .step-card {
    background-color: #333;
    border-color: #5a52e0;
}

body.dark-theme .feature-card h3,
body.dark-theme .wordpass-card h3,
body.dark-theme .how-to-steps .step-card h4 {
    color: #fff;
}

body.dark-theme .feature-card p,
body.dark-theme .wordpass-content ul li span,
body.dark-theme .how-to-steps .step-card p {
    color: #ccc;
}

body.dark-theme .wordpass-content ul li {
    border-bottom-color: #444;
}

body.dark-theme .wordpass-info {
    background-color: #444;
    color: #ccc;
}

body.dark-theme .social-icons-light li a:hover {
    color: #7f93f3 !important;
}

/* Dark theme adjustments for phone mockup */
body.dark-theme .phone-mockup-screen {
    background-color: #111;
}

/* Dark theme pro kroky a karty */
body.dark-theme .how-to-steps .step-card {
    background-color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

body.dark-theme .how-to-steps .step-card h4 {
    color: #fff;
}

body.dark-theme .how-to-steps .step-card p {
    color: #ccc;
}

body.dark-theme .power-card-display .card {
    background-color: #5a52e0;
}

/* Site Controls - v horním rohu na desktop i mobil */
.site-controls {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 9999;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

/* Disable mobile menu */
@media (max-width: 991.98px) {
    #menu-button {
        display: none !important;
    }
    
    .header-menu > ul {
        display: none !important;
    }
}

.control-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    background-color: #fff;
    color: #6366f1;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    text-decoration: none;
    transition: all 0.3s ease;
}

.control-item:hover {
    background-color: #f0f2ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#light-icon, #dark-icon {
    font-size: 18px;
    transition: all 0.3s ease;
}

#light-icon {
    display: none;
}

body.dark-theme #light-icon {
    display: block;
}

body.dark-theme #dark-icon {
    display: none;
}

body.dark-theme .control-item {
    background-color: #333;
    color: #fff;
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
}

.language-dropdown-content {
    position: absolute;
    top: 45px;
    right: 0px; /* Změněno z right: 0 */
    width: 260px;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 10000;
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.language-dropdown-content.show {
    display: grid;
}

.language-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding: 8px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.language-flag:hover {
    background-color: #f0f2ff;
    transform: scale(1.1);
}

.language-flag.active {
    background-color: #6366f1;
}

body.dark-theme .language-dropdown-content {
    background-color: #333;
}

body.dark-theme .language-flag:hover {
    background-color: #444;
}


/* Konzistentní download tlačítko pro mobilní zařízení */
.mobile-download-btn {
    margin-top: 20px;
    display: inline-block;
    width: 100%;
    text-align: center;
}

/* Zajištění responsivity */
@media (max-width: 991px) {
    .phone-mockup {
        width: 320px;
        height: 650px;
        margin: 0 auto 30px auto;
    }
    
    .screenshot-thumbnail {
        padding-bottom: 205%;
    }
    
    .how-to-steps {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    #how-to-play .row > div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .phone-mockup {
        width: 280px;
        height: 570px;
        margin-bottom: 20px;
    }
    
    .phone-mockup-screen {
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
        width: calc(100% - 40px);
        height: calc(100% - 40px);
    }
    
    .banner-image {
        margin-top: 30px;
    }
    
    .screenshot-thumbnail {
        padding-bottom: 210%;
    }
    
    /* Banner text úpravy pro mobilní */
    .banner-text-inner {
        text-align: center;
        padding-top: 30px;
    }
    
    .banner-text-inner h1 {
        font-size: 32px;
        line-height: 1.3;
    }
    
    .banner-text-inner p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Mobilní řazení sekcí */
    .row.flex-column-reverse-mobile {
        flex-direction: column-reverse;
    }
    
    /* Screenshot carousel adjustments for mobile */
    .screenshots-thumbnails .col-6,
    .screenshots-thumbnails .col-md-3 {
        width: 150px;
        max-width: 150px;
        flex: 0 0 150px;
    }
    
    .screenshot-navigation {
        max-width: 320px;
    }
    
    .screenshot-nav {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    /* Dots styling for mobile */
    .screenshots-dots .dot {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
    .mockup-container {
        width: 280px;
        height: 570px;
    }
}