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

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.app-container {
    max-width: 430px;
    margin: 0 auto;
    background: #001F17;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.header {
    background: #002F1D;
    padding: 14px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    max-width: 150px;
}

.main-content {
    padding: 0 0 0 0;
}

.banner-section {
    padding: 12px 12px 0;
    position: relative;
    background: #001F17;
}

.banner-slider {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.banner-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.banner-slide {
    min-width: 100%;
    position: relative;
}

.banner-link {
    display: block;
    text-decoration: none;
}

.banner-placeholder {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a5a42 0%, #0d3d2d 100%);
}

.banner-img {
    border-radius: 16px;
}

.banner-placeholder .placeholder-content {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    gap: 8px;
}

.banner-placeholder .placeholder-content span {
    font-size: 24px;
}

.banner-placeholder .placeholder-content small {
    font-size: 10px;
    opacity: 0.7;
}

.banner-placeholder.show-placeholder .placeholder-content {
    display: flex;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding-bottom: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.section-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.ambassadors-section {
    padding: 20px 0 0;
    background: #001F17;
}

.ambassadors-slider {
    overflow: hidden;
    padding: 0 0 16px;
    margin: 0 16px;
}

.ambassadors-track {
    display: flex;
    gap: 12px;
}

.ambassador-card {
    flex: 0 0 auto;
    width: calc((min(100vw, 430px) - 56px) / 3);
    max-width: 130px;
    height: 180px;
    background: var(--card-gradient);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    position: relative;
}

.ambassador-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ambassador-img-wrapper {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ambassador-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.ambassador-img-wrapper .img-placeholder {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.3);
}

.ambassador-img-wrapper.show-placeholder .img-placeholder {
    display: flex;
}

.ambassador-name {
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.3px;
    padding: 8px 6px;
    background: transparent;
}

.partners-section {
    padding: 20px 12px 0;
    background: url('uploads/background.png') no-repeat center top;
    background-size: cover;
    border-radius: 24px 24px 0 0;
    margin-top: 8px;
    position: relative;
}

.partners-header {
    position: relative;
    margin-bottom: 12px;
}

.partners-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
}

.partners-header .section-title {
    display: inline-block;
    padding: 0 16px;
    position: relative;
    margin: 0 auto;
    display: block;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding-bottom: 16px;
}

.loading-text {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 40px 0;
    font-size: 14px;
}

.partner-card {
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(145deg, #1a5a42 0%, #0d3d2d 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    text-decoration: none;
}

.partner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #d4a84b 0%, #9a7b2a 50%, #d4a84b 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.partner-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 168, 75, 0.3);
}

.partner-card:active {
    transform: scale(0.95);
}

.partner-card.spotlight {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.5), 0 0 60px rgba(255, 215, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.1);
    z-index: 10;
}

.partner-card.spotlight::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffd700, #ffaa00, #ffd700);
    z-index: -1;
    animation: spotlight-glow 0.5s ease-in-out infinite alternate;
}

@keyframes spotlight-glow {
    0% {
        opacity: 0.7;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        filter: blur(6px);
    }
}

.partner-card.spotlight-passing {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5), 0 0 25px rgba(255, 215, 0, 0.3);
}

.partner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card img.loaded {
    opacity: 1;
}

.ver-mais-container {
    display: flex;
    justify-content: center;
    padding: 8px 0 20px;
}

.ver-mais-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid #22c55e;
    border-radius: 24px;
    padding: 10px 28px;
    color: #ffd700;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ver-mais-btn:hover {
    background: rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
}

.ver-mais-btn svg {
    transition: transform 0.3s ease;
}

.ver-mais-btn:hover svg {
    transform: translateY(2px);
}

.services-section {
    padding: 24px 16px;
    background: url('uploads/background.png') no-repeat center center;
    background-size: cover;
}

.services-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.services-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 8px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-card {
    background: linear-gradient(145deg, #1a5a42 0%, #0d3d2d 100%);
    border-radius: 20px;
    padding: 15px 9px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.service-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-value {
    color: #FFEE00;
    font-size: 20px;
    font-weight: 700;
}

.service-label {
    color: #ffffff;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}

.footer {
    padding: 24px 16px 32px;
    background: #001F17;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.age-restriction {
    width: 36px;
    height: 36px;
    border: 2px solid #e53935;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e53935;
    font-size: 12px;
    font-weight: 700;
}

.cert-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.cert-text.mga {
    color: #3498db;
    font-size: 14px;
    font-weight: 800;
}

.cert-text.gambling {
    font-size: 8px;
}

.cert-text.gli {
    color: #2ecc71;
    font-size: 16px;
    font-weight: 800;
}

.cert-subtext {
    color: rgba(255, 255, 255, 0.4);
    font-size: 6px;
    line-height: 1.1;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    text-align: center;
}

@media screen and (max-width: 380px) {
    .partners-grid {
        gap: 8px;
    }
    
    .partner-card {
        border-radius: 12px;
    }
    
    .ambassador-card {
        width: calc((100vw - 48px) / 3);
        max-width: 100px;
        height: 140px;
        border-radius: 10px;
    }
    
    .ambassador-name {
        font-size: 9px;
        padding: 6px 4px;
    }
    
    .services-grid {
        gap: 8px;
    }
    
    .service-card {
        padding: 16px 8px;
    }
    
    .service-value {
        font-size: 16px;
    }
    
    .footer-logos {
        gap: 8px;
    }
}

@media screen and (min-width: 431px) {
    .app-container {
        border-radius: 0;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    }
}

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

.banner-section,
.ambassadors-section,
.partners-section,
.services-section {
    animation: fadeIn 0.6s ease forwards;
}

.ambassadors-section {
    animation-delay: 0.1s;
}

.partners-section {
    animation-delay: 0.2s;
}

.services-section {
    animation-delay: 0.3s;
}

.banner-img {
    opacity: 1;
}

/*.ambassador-img-wrapper img {*/
/*    opacity: 1;*/
/*}*/
