@font-face {
    font-family: M-Heading-Font;
    font-weight: 900;
    src: url(https://cdn.shopify.com/s/files/1/2996/5124/files/TextaAltBlack.ttf?v=1712415606);
    font-display: swap;
}

@font-face {
    font-family: M-Body-Font;
    font-weight: 400;
    src: url(https://cdn.shopify.com/s/files/1/2996/5124/files/TextaAltRegular.woff?v=1743713025);
    font-display: swap;
}

@font-face {
    font-family: M-Body-Font;
    font-weight: 300;
    src: url(https://cdn.shopify.com/s/files/1/2996/5124/files/TextaAltLight.woff?v=1743713025);
    font-display: swap;
}

/* App Loader */
.app-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(0, 38, 77, 0.1);
    border-top: 5px solid #00264d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    font-size: 1.4rem;
    color: #00264d;
    font-weight: 600;
    margin: 0;
    text-align: center;
    font-family: 'M-Body-Font', 'Arial', sans-serif;
}

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

/* Efeito de desfoque no planeta durante carregamento */
body.loading main {
    filter: blur(3px);
    pointer-events: none;
}

body.loading .app-loader {
    filter: none;
    pointer-events: auto;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .loader-spinner {
        width: 60px;
        height: 60px;
        border-width: 4px;
    }
    
    .loader-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .loader-spinner {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }
    
    .loader-text {
        font-size: 1rem;
    }
}

html {
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

html, body {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    zoom: 1.0;
    -ms-zoom: 1.0;
    -webkit-text-size-adjust: 100%;

    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    width: 100%;
    background: radial-gradient(circle at center, #2196f373, #fff);
    font-family: 'M-Body-Font', 'Arial', sans-serif;
    color: #333;
}

/* Prevenir zoom com gestos de pinça em todos os elementos */
* {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Exceção para elementos que precisam de seleção de texto */
input, textarea, select {
    -webkit-user-select: text;
    user-select: text;
    touch-action: manipulation;
}

/* Desabilitar zoom no viewport */
@viewport {
    zoom: 1.0;
    min-zoom: 1.0;
    max-zoom: 1.0;
    user-zoom: fixed;
}

body {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    flex-direction: column;
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;
    background: radial-gradient(circle at center, #2196f373, #fff);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

main {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    flex: 1;
    overflow: hidden;
}

section {
    overflow-y: auto;
}

header {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2vh 4vmin;
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.logo {
    width: 20vmin;
    min-width: 100px;
    height: auto;
}

.butons-icons{
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.search_icon,
.back_icon,
.translate_icon {
    width: 2.3rem;
    height: 2.3rem;
    padding: 0;
    cursor: pointer;
}

img.icon {
    width: 100%;
    height: auto;
    padding: 0;
}

footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2vh 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    gap: 1rem;
    min-height: 100px;
    transition: min-height 0.5s ease, padding 0.5s ease;
    text-align: center;
}

footer.expanded {
    min-height: 150px;
    padding: 3vh 0;
}

.container {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    width: 100vw;
    height: calc(100vh - 200px); /* Reserva espaço para header e footer */
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    margin-bottom: 120px; /* Garante espaço para o footer */
}

canvas#globe {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    z-index: 0;
}

.container h1 {
    pointer-events: none;
}

/* Overlay dos popups */
.language-popup, 
.search-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.hidden {
    display: none;
}

/* Conteúdo do popup */
.popup-content {
    background: #fff;
    padding: 3rem;
    box-shadow: 0 2px 24px rgba(0,0,0,0.15);
    text-align: center;
    min-width: 220px;
    max-width: 90vw;
    width: 60%;
    border-radius: 1em;
}

.popup-content h2 {
    font-size: 1.6rem;
    margin: 0 0 1.4rem 0; 
    line-height: 0.8;
}

/* Container de pesquisa */
.search-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* Campo de pesquisa */
#country-search {
    width: 100%;
    padding: 0.5em 1em;
    font-size: 1.5rem;
    border: 1px solid black;
    outline: none;
    font-family: 'M-Body-Font', 'Arial', sans-serif;
    box-sizing: border-box;
}

#country-search:focus {
    border-color: black;
}

/* Lista de resultados */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid black;
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1001;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
}

.search-results.show {
    display: block;
}

.search-results li {
    padding: 0.6rem 1rem;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
}

.search-results li:hover,
.search-results li.highlighted {
    background-color: black;
    color: white;
}

.search-results li:last-child {
    border-bottom: none;
}

/* Lista de idiomas com rolagem */
.lang-list {
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin:0;
    list-style: none;
}

.lang-list li {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Botão de idioma como <a> */
.lang-btn {
    display: block;
    width: 100%;
    padding: 0.5rem 1.5rem;
    font-size: 1.8rem;
    border: none;
    color: black;
    border: 1px solid black;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.lang-btn:hover,
.lang-btn.active,
.lang-btn:focus {
    background: black;
    color: white;
}

/* Botão Continuar */
.continue-button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-family: 'M-Body-Font', 'Arial', sans-serif;
    font-weight: 400;
    border: 2px solid black;
    background: black;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border-radius: 0;
    outline: none;
    min-width: 180px;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
    transform: scale(1);
}

.continue-button:hover,
.continue-button:focus {
    background: white;
    color: black;
    border-color: black;
    transform: scale(1.05);
    animation: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.continue-button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.continue-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.continue-button:hover::before {
    width: 300px;
    height: 300px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* Animações de transição */
.container.fade-out {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

footer.slide-down {
    transform: translateY(100%);
    transition: transform 0.6s ease-in-out;
}

/* Nova seção para próxima etapa */
.next-step,
.prize-section {
    display: none;
    flex: 1;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: black;
    padding: 2rem;
    overflow-y: auto;
    flex-direction: column;
}

.next-step {
    justify-content: center;
}

.next-step.show,
.prize-section.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.next-step-content,
.prize-content {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 5em;
    margin-top: 5em;
    width: 100%;
}

.next-step h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    margin-top: 0;
    opacity: 0;
    animation: slideInFromTop 1s ease-out 0.5s forwards;
}

.prize-section h1 {
    font-size: 3rem;
    margin-bottom: 0;
    margin-top: 0;
    opacity: 0;
    animation: slideInFromTop 1s ease-out 0.5s forwards;
    color: #000;
}

.next-step p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2em;
    opacity: 0;
    animation: slideInFromBottom 1s ease-out 0.8s forwards;
}

.prize-description {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    padding: 1rem;
    margin: 0 auto;
}

.voucher-display {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid #000;
    border-radius: 12px;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.voucher-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.voucher-code {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    padding: 1rem;
    margin: 0 auto;
    color:#0275d8;
}

.prize-instructions {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
}

.next-step-actions {
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
}

.back-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: 2px solid black;
    background: transparent;
    color: black;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    margin: 0 1rem;
}

.back-button:hover {
    background: black;
    color: white;
    transform: translateY(-2px);
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ROLETA */

.grid-container {
  display: grid;
  grid-template-columns: auto auto;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.grid-item {
  padding: 20px;
  font-size: 30px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.grid-item img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.1s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* FORM */
.form-container {
    display: none;
    flex: 1;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
    justify-content: flex-start;
    align-items: center;
    color: black;
    padding: 2rem;
    overflow-y: auto;
    flex-direction: column;
}

.form-container.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.dck-form-container {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    padding: 30px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

@media (max-width: 600px) {
    .dck-form-container {
        padding: 20px 15px;
        margin: 10px auto;
    }
}

.dck-form-title {
    text-align: center;
    margin-bottom: 25px;
    color: #222;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.dck-form-group {
    margin-bottom: 20px;
}

.dck-form-group label {
    display: inline;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 15px;
    color: #444;
}

.dck-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 0px;
    font-size: 16px;
    background-color: #f9f9f9;
    color: #333;
    box-sizing: border-box;
}

.dck-form-group input:focus {
    border-color: #0275d8;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(2, 117, 216, 0.1);
    outline: none;
}

/* Phone input container */
.phone-input-container {
    display: flex;
    gap: 8px;
}

/* Select styling */
.dck-form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 120px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 0px;
    font-size: 16px;
    background-color: #f9f9f9;
    color: #333;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 30px;
    box-sizing: border-box;
}

.dck-form-select:focus {
    border-color: #0275d8;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(2, 117, 216, 0.1);
    outline: none;
}

/* Phone input field */
.dck-form-input {
    flex: 1;
    width: auto !important;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 0px;
    font-size: 16px;
    background-color: #f9f9f9;
    color: #333;
    box-sizing: border-box;
}

.dck-form-input:focus {
    border-color: #0275d8;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(2, 117, 216, 0.1);
    outline: none;
}

.dck-form-button {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 0px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.dck-form-button:hover {
    background-color: #2b2c2c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(2, 117, 216, 0.2);
}

.dck-form-button:active {
    transform: translateY(0);
}

.dck-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: fadeInAndSlide 0.5s;
}

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

.dck-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.dck-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.dck-loading {
    background-color: #e8f4fd;
    color: #0275d8;
    border-left: 4px solid #0275d8;
}

.required-field {
    color: #dc3545;
    margin-left: 3px;
}

.dck-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    color: #777;
}

/* Checkbox styles */
.dck-checkbox-group {
    margin-bottom: 25px;
}

.dck-checkbox-item {
    display: flex;
    align-items: flex-start;
}

.dck-checkbox-item input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
    cursor: pointer;
    min-width: 16px;
    height: 16px;
}

.dck-checkbox-item label {
    cursor: pointer;
    color: #555;
    display: inline;
    box-sizing: border-box;
}

.dck-checkbox-item:last-child label {
    font-weight: 500;
}

/* Improved mobile responsiveness */
@media (max-width: 480px) {
    /* body {
        padding: 10px;
    } */
    
    .dck-form-container {
        box-shadow: none;
        padding: 15px 10px;
        margin: 0 auto;
    }
    
    .dck-form-title {
        font-size: 22px;
    }
    
    .dck-form-group input {
        padding: 10px 12px;
        font-size: 15px;
    }
    
    .dck-form-select {
        width: 90px;
        padding: 10px 12px;
        font-size: 15px;
        padding-right: 35px;
        background-size: 14px;
        background-position: right 10px center;
    }
    
    .dck-form-input {
        padding: 10px 12px;
        font-size: 15px;
    }
    
    .phone-input-container {
        gap: 6px;
    }
    
    .dck-form-button {
        padding: 12px;
    }
}

/* Message popup styles */
.message-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
}

.message-popup.hidden {
    display: none;
}

.message-popup .popup-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center;
    min-width: 300px;
    max-width: 90vw;
    animation: slideIn 0.3s ease-out;
}

.message-popup .message-title {
    font-family: 'M-Heading-Font', 'Arial', sans-serif;
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
    color: #333;
}

.message-popup .message-text {
    font-size: 2rem;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
    color: #666;
}

.message-popup .message-button {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-family: 'M-Body-Font', 'Arial', sans-serif;
    border: 2px solid #000;
    background: #000;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border-radius: 0;
    outline: none;
    min-width: 120px;
}

.message-popup .message-button:hover {
    background: white;
    color: #000;
}

/* Success message style */
.message-popup.success .message-title {
    color: #28a745;
}

.message-popup.success .message-button {
    border-color: #28a745;
    background: #28a745;
}

.message-popup.success .message-button:hover {
    background: white;
    color: #28a745;
}

/* Error message style */
.message-popup.error .message-title {
    color: #dc3545;
}

.message-popup.error .message-button {
    border-color: #dc3545;
    background: #dc3545;
}

.message-popup.error .message-button:hover {
    background: white;
    color: #dc3545;
}

/* Info message style */
.message-popup.info .message-title {
    color: #0275d8;
}

.message-popup.info .message-button {
    border-color: #0275d8;
    background: #0275d8;
}

.message-popup.info .message-button:hover {
    background: white;
    color: #0275d8;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Terms popup styles */
.terms-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    animation: fadeIn 0.3s ease-out;
}

.terms-popup.hidden {
    display: none;
}

.terms-popup-content {
    background: #fff;
    width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.close-terms-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    z-index: 1;
    padding: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-terms-popup:hover {
    background: #f0f0f0;
    color: #333;
}

.terms-scrollable {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f9f9f9;
}

.terms-scrollable::-webkit-scrollbar {
    width: 8px;
}

.terms-scrollable::-webkit-scrollbar-track {
    background: #f9f9f9;
}

.terms-scrollable::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.terms-scrollable::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.terms-scrollable h2 {
    margin: 0 0 20px 0;
    font-family: 'M-Heading-Font', 'Arial', sans-serif;
    font-size: 24px;
    color: #333;
    text-align: center;
    padding-right: 40px;
}

.terms-text {
    line-height: 1.2;
    color: #555;
    font-size: 1.2em;
}

.terms-text p {
    margin-bottom: 15px;
}

.terms-text h3 {
    color: #333;
    margin: 20px 0 10px 0;
    font-size: 16px;
}

@media (max-width: 600px) {
    .terms-popup-content {
        width: 95%;
        height: 85vh;
        margin: 0 10px;
    }
    
    .terms-scrollable {
        padding: 20px 15px;
    }
    
    .terms-scrollable h2 {
        font-size: 20px;
        padding-right: 30px;
    }
}

/* Suporte para diferentes alturas de viewport em mobile */
@supports (height: 100dvh) {
    body {
        height: 100dvh;
        min-height: 100dvh;
    }
    
    .container {
        height: calc(100dvh - 200px);
    }
}

/* Ajustes específicos para mobile */
@media (max-width: 768px) {
    footer {
        padding: 1.5vh 0;
        min-height: 80px;
    }
    
    .container {
        margin-bottom: 100px;
        height: calc(100vh - 180px);
    }
    
    @supports (height: 100dvh) {
        .container {
            height: calc(100dvh - 180px);
        }
    }
}

/* Ajustes para devices muito pequenos */
@media (max-width: 480px) {
    footer {
        padding: 1vh 0;
        min-height: 70px;
    }
    
    .container {
        margin-bottom: 80px;
        height: calc(100vh - 160px);
    }
    
    @supports (height: 100dvh) {
        .container {
            height: calc(100dvh - 160px);
        }
    }
}