/* Costa degli Dei - Comprehensive Stylesheet (Restored Original) */
:root {
    --primary-color: #1e90ff;
    --secondary-color: #4169e1;
    --accent-color: #ff9900;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f0f8ff;
    --white: #ffffff;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Header & Typography */
header {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../../images/background/header.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header h2 {
    font-weight: 300;
    font-size: 1.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Navigation */
nav {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.nav-links li {
    margin: 0 5px;
}

.nav-links a {
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: bold;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-flags {
    display: flex;
    gap: 8px;
    align-items: center;
    padding-left: 15px;
}

.flag-icon {
    width: 24px;
    height: auto;
    border-radius: 2px;
}

/* Language Selector Custom Dropdown */
.nav-lang-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 15px;
}

.custom-select-wrapper {
    position: relative;
    user-select: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    min-width: 150px;
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.custom-select-wrapper:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.15);
    transform: translateY(-1px);
}

.selected-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    gap: 8px;
}

.flag-icon-small {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.shadow-icon {
    font-size: 0.7rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.custom-select-wrapper.open .shadow-icon {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    list-style: none;
    padding: 5px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-options li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    transition: background 0.2s;
}

.custom-options li:hover {
    background: #f0f7ff;
    color: var(--primary-color);
}

.custom-options li.active {
    background: #eef5ff;
    color: var(--primary-color);
}

.admin-link {
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.admin-link:hover {
    color: var(--accent-color);
}

/* Hide Google Translate Banner and UI */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner,
.goog-te-gadget-icon,
.goog-te-gadget-simple img,
.goog-te-menu-value span,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

body {
    top: 0 !important;
}

#google_translate_element {
    display: none !important;
}

/* Hide the "Original Text" tooltip that appears on hover */
.goog-tooltip, .goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.goog-te-gadget {
    font-family: inherit !important;
    font-size: 0 !important;
}

.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 15px;
    position: absolute;
    top: 0;
    right: 15px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Content Area */
.content-with-sidebar {
    flex: 1;
    min-width: 300px;
    padding: 30px 0;
}

.sidebar {
    width: 300px;
    padding: 30px 0;
    position: sticky;
    top: 90px;
    align-self: flex-start;
}

.ad-sidebar {
    background: var(--white);
    padding: 20px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    text-align: center;
}

.costa-description {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.costa-description h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.costa-description h2 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.costa-description p {
    margin-bottom: 15px;
}

/* Images */
.image-container {
    position: relative;
    margin: 30px 0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.9rem;
}

/* Ad Containers */
.ad-sidebar,
.ad-footer,
.ad-top {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 25px;
    padding: 10px;
    text-align: center;
    min-height: 100px;
}

/* Altro & Map */
#map {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    height: 400px;
    border-radius: 12px;
    margin: 20px 0;
    z-index: 1;
    /* prevents map from covering sticky header */
}

.altro-section {
    margin-bottom: 50px;
    padding-top: 20px;
}

/* Comuni List (Simplified) */
.comuni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.comune-item a {
    display: block;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    padding: 10px 15px;
    background: var(--white);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
}

.comune-item a:hover {
    background: var(--primary-color);
    color: white;
}

/* Comuni Sorting Buttons */
.sort-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.sort-buttons button {
    padding: 8px 15px;
    background: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.sort-buttons button:hover {
    background: var(--primary-color);
    color: white;
}

/* Vcom Detail */
.comune-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.comune-stemma {
    width: 80px;
    height: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.comune-stemma:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.comune-detail-stats {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-full-row {
    grid-column: 1 / -1;
}

/* Footer (Shrinked) */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 10px 10px;
    /* Reduced from 15px */
    margin-top: 10px;
    /* Reduced from 20px */
    font-size: 0.85rem;
}

.footer-row {
    max-width: 1000px;
    margin: 0 auto 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-row p {
    margin: 0;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-color);
}

.divsocial {
    margin: 8px 0 0;
}

.social {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    /* Slightly reduced gap */
}

.social a {
    font-size: 1.1rem;
    /* Reduced from 1.5rem */
}

.ad-footer {
    max-width: 1200px;
    margin: 20px auto 30px;
    padding: 0 20px;
    background: transparent;
    border: none;
    min-height: 50px;
}

/* Modals & Cookie Banner */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-modal,
#close-cookie-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
#close-cookie-modal:hover {
    color: var(--text-dark);
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category label {
    font-weight: bold;
    cursor: pointer;
}

.cookie-category p {
    font-size: 0.85rem;
    color: #666;
    margin: 5px 0 0;
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
}

.cookie-banner-btns {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-cookie {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
}

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

.btn-reject {
    background: #eee;
    color: var(--text-dark);
}

.btn-settings {
    background: transparent;
    border: 1px solid #ccc;
}

.comuni-page-container {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

/* Phase 1 Features: Gallery Grid & Trekking Icons */

.gallery-page-container {
    background: var(--white);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.altro-nav,
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.filter-btn,
.altro-nav-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover,
.altro-nav-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Colored Icons */
.fas.fa-sun {
    color: #f39c12;
}

.fas.fa-utensils {
    color: #e74c3c;
}

.fas.fa-hiking {
    color: #27ae60;
}

.fas.fa-map-marker-alt {
    color: #e74c3c;
}

.fas.fa-calendar-alt {
    color: #3498db;
}

.fas.fa-map-pin {
    color: #e67e22;
}

.fas.fa-arrows-alt-h {
    color: #3498db;
}

.fas.fa-clock {
    color: #f1c40f;
}

.fas.fa-mountain {
    color: #27ae60;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

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

    .nav-links li {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .nav-links a {
        padding: 15px;
    }

    .nav-lang-selector {
        padding: 20px;
        justify-content: center;
        border-top: 1px solid #eee;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .custom-select-wrapper {
        width: 100%;
        max-width: 250px;
    }

    .custom-select-wrapper.open .custom-options {
        position: relative;
        top: 10px;
        box-shadow: none;
        border: 1px solid #eee;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .layout-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        order: 2;
    }

    .content-with-sidebar {
        order: 1;
    }

    .comune-detail-stats {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.gallery-item {
    animation: fadeIn 0.5s ease;
}

/* Restored Forms & Buttons */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.2);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    height: 40px;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Modals & Popups Additional Styling */
.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Newsletter Form inside Modal */
#newsletter-form .form-group {
    margin-bottom: 15px;
}

#newsletter-form input {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 15px;
    width: 100%;
}

#newsletter-form button {
    margin-top: 10px;
    background: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    padding: 14px;
    border-radius: 4px;
}

/* Cookie Category Toggles */
.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cookie-category:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.cookie-category div {
    flex-grow: 1;
    padding-right: 20px;
}

.cookie-category label {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-dark);
    display: block;
    margin-bottom: 5px;
}

.cookie-category p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* Custom Checkbox as Toggle Switch */
.cookie-category input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 50px;
    height: 26px;
    background: #ccc;
    border-radius: 26px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
}

.cookie-category input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-category input[type="checkbox"]:checked {
    background: var(--primary-color);
}

.cookie-category input[type="checkbox"]:checked::after {
    transform: translateX(24px);
}

.cookie-category input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Cookie Banner Customization */
.cookie-banner {
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.cookie-banner p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.cookie-banner a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: underline;
}

/* Contact Page Styles */
.contact-container {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #fff;
    border-color: var(--primary-color);
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .layout-container {
        flex-direction: column;
    }

    .content-with-sidebar {
        width: 100%;
    }

    .sidebar {
        width: 100%;
        position: static;
        padding-top: 15px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
        max-height: 85vh;
        overflow-y: auto;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        border-top: 1px solid #eee;
    }

    .nav-links a {
        padding: 15px 10px;
        font-size: 1rem;
        text-align: center;
    }

    header h1 {
        font-size: 2rem;
    }

    header h2 {
        font-size: 1.2rem;
    }

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

    .sort-buttons {
        flex-direction: column;
    }

    .gallery-filters,
    .altro-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn,
    .altro-nav-btn {
        text-align: center;
    }

    #newsletter-form {
        padding: 15px;
    }
}

/* Gallery Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.gallery-modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    width: auto;
    max-width: 95vw;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

#gallery-full-img,
#gallery-full-video {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    display: block;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.watermark {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 5;
}

/* Protection Overlay */
.protection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: transparent;
    cursor: default;
}

.close-gallery {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 11;
}

.close-gallery:hover {
    color: var(--accent-color);
}

/* Global Gallery Protection */
.gallery-thumb,
.gallery-video {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: auto;
}

/* Tiny Digital Counter in Footer (14px height) */
.footer-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    padding: 5px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    color: #888;
    width: 100%;
}

.footer-digital-counter {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tiny-label {
    text-transform: uppercase;
    font-size: 0.6rem;
    letter-spacing: 0.5px;
}

.tiny-digital-display {
    display: flex;
    gap: 1px;
    background: #000;
    padding: 2px 4px;
    border: 1px solid #333;
    border-radius: 3px;
    height: 18px;
    /* 14px digit + padding */
    align-items: center;
}

.digit-img {
    height: 14px;
    width: auto;
    display: block;
}

.footer-online-tiny {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #27ae60;
    font-size: 0.7rem;
}

.footer-online-tiny .pulse-dot {
    width: 4px;
    height: 4px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(46, 204, 113, 0.5);
    animation: pulse-green 2s infinite;
}

.footer-country-stats-tiny {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

@media (max-width: 600px) {
    .footer-stats-row {
        gap: 10px;
    }
}

/* Hide redundant Google CMP footer revocation bar */
.google-revocation-link-placeholder,
.google-revocation-link-container,
.google-revocation-link-button {
    display: none !important;
}