/* Estilos Globais */
:root {
    --primary-color: #1a66ff;
    --secondary-color: #0e4bab;
    --accent-color: #ff6b00;
    --text-color: #333;
    --light-gray: #f5f7fa;
    --medium-gray: #e0e4e8;
    --dark-gray: #666;
    --border-color: #ddd;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

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

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-accent:hover {
    background-color: #e65c00;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--medium-gray);
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: var(--light-gray);
}

.btn-large {
    padding: 12px 28px;
    font-size: 1.05rem;
}

/* Cabeçalho */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

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

.main-nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

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

/* Banner Principal */
.hero {
    background-color: var(--light-gray);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.help-hero {
    background-color: #e6f0ff;
    position: relative;
}

.help-hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 102, 255, 0.1) 0%, rgba(14, 75, 171, 0.2) 100%);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Layout de Conteúdo Principal */
.help-content {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.help-content .container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar */
.help-sidebar {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: fit-content;
}

.sidebar-header {
    padding: 20px;
    background-color: var(--primary-color);
    color: #fff;
}

.sidebar-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.sidebar-nav ul li a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding-left: 25px;
}

.sidebar-nav ul li a.active {
    border-left: 4px solid var(--primary-color);
    font-weight: 600;
}

.sidebar-support {
    padding: 20px;
    background-color: #f0f5ff;
    border-top: 1px solid var(--medium-gray);
}

.sidebar-support h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.sidebar-support p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Conteúdo Principal */
.help-main {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.breadcrumbs {
    margin-bottom: 20px;
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
}

.breadcrumbs ul li {
    font-size: 0.9rem;
    color: #777;
}

.breadcrumbs ul li:not(:last-child)::after {
    content: '>';
    margin: 0 8px;
    color: #ccc;
}

.content-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.content-header h1 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.content-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Seções de Ajuda */
.help-section {
    margin-bottom: 40px;
}

.help-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--medium-gray);
}

.help-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 25px;
    display: flex;
    flex-direction: row;
    border: 1px solid var(--medium-gray);
}

.help-card-icon {
    padding: 20px;
    background-color: #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.help-card-icon img {
    max-width: 80px;
    height: auto;
}

.help-card-content {
    padding: 25px;
    flex: 1;
}

.help-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.help-card-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.help-card-content ul,
.help-card-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.help-card-content ul li,
.help-card-content ol li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.help-card-content ul li {
    position: relative;
    padding-left: 15px;
}

.help-card-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.help-card-content ol {
    list-style-type: decimal;
    padding-left: 15px;
}

.help-card-content .btn {
    margin-top: 15px;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.alert-success {
    background-color: #e6f7ef;
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

/* Cartão de destaque */
.highlight-card {
    flex-direction: column;
    background-color: #f8f9ff;
    border: 2px solid #e3e8ff;
}

.offer-card {
    position: relative;
    padding: 30px;
}

.offer-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.offer-details {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.offer-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.offer-value span {
    font-size: 2rem;
    color: var(--accent-color);
}

.offer-plus {
    margin: 0 15px;
    font-size: 1.5rem;
    color: var(--dark-gray);
}

.offer-spins {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.offer-spins span {
    font-size: 1rem;
    display: block;
    color: var(--accent-color);
}

.offer-terms {
    background-color: rgba(0, 0, 0, 0.03);
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Recomendações de Jogos */
.game-recommendations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.game-item {
    background-color: #fff;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.game-image {
    height: 160px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info {
    padding: 15px;
}

.game-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.game-info p {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.tip-box {
    background-color: #fff8e6;
    border-left: 4px solid var(--warning-color);
    padding: 15px;
    margin: 20px 0;
    color: #946400;
    font-size: 0.95rem;
}

/* FAQ */
.faq-container {
    margin-top: 25px;
}

.faq-item {
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-color);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

/* Opções de Contato */
.contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.contact-option {
    background-color: #fff;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: #f0f5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 30px;
    height: auto;
}

.contact-option h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.contact-option p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

/* Rodapé */
footer {
    background-color: #1a1f36;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex-basis: 30%;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links {
    flex-basis: 65%;
    display: flex;
    justify-content: space-between;
}

.footer-column {
    flex-basis: 30%;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #aaa;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-column ul li a.active {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    font-size: 20px;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Media Queries */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .help-content .container {
        grid-template-columns: 1fr;
    }

    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .help-card {
        flex-direction: column;
    }
    
    .help-card-icon {
        min-width: auto;
    }
    
    .game-recommendations {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, .footer-links {
        flex-basis: 100%;
    }
    
    .footer-logo {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
    
    .footer-column {
        flex-basis: 48%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }
    
    .main-nav.show {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .main-nav ul li {
        margin: 0;
    }
    
    .main-nav ul li a {
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid var(--medium-gray);
    }
    
    .cta-buttons {
        margin-left: auto;
    }
    
    .menu-toggle {
        display: block;
        order: 1;
    }
    
    .logo {
        order: 2;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .offer-details {
        flex-direction: column;
        text-align: center;
    }
    
    .offer-plus {
        margin: 10px 0;
    }
    
    .game-recommendations {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        flex-basis: 100%;
    }
}

@media (max-width: 480px) {
    .help-main {
        padding: 20px 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .content-header h1 {
        font-size: 1.6rem;
    }
    
    .help-section h2 {
        font-size: 1.3rem;
    }
    
    .help-card-content h3 {
        font-size: 1.2rem;
    }
}
