/*
Theme Name: Axvel-DS
Author: ESS
Description: Landing Page For Gaming Site - QQ88Asia Game Slot Online Deposit Pulsa
Version: 1.0
*/

/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

/* === BREADCRUMBS STYLES === */
.breadcrumbs {
    background-color: #2c2c2c;
    padding: 15px 0;
    border-bottom: 1px solid #444;
    font-size: 0.9rem;
    color: #d4af37;
}

.breadcrumbs a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #f4d03f;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #888;
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* === HEADER STYLES === */
header {
    background-color: #2c2c2c;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    max-width: 175px;
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo img {
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .logo img {
        max-width: 220px;
    }
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 30px;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #d4af37;
    flex-shrink: 0;
}

.logo span {
    color: #8b4513;
}

/* === CENTERED SEARCH BOX === */
.search-container {
    flex: 1;
    max-width: 800px;
    margin: 0 40px;
}

.search-box {
    position: relative;
    align-items: center;
}

.search-box input {
    width: 100%;
    padding: 14px 40px 14px 25px;
    border: 2px solid #555;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: #3c3c3c;
    color: #fff;
}

.search-box input:focus {
    outline: none;
    border-color: #d4af37;
    background-color: #4a4a4a;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.search-box input::placeholder {
    color: #bbb;
}

.search-box button {
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: color 0.3s;
}

.search-box button:hover {
    color: #d4af37;
}

.search-box .fa-search {
    font-size: 16px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #d4af37;
}

/* === FIXED NAVIGATION STYLES === */
nav {
    background-color: #8b4513;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    position: relative;
    white-space: nowrap;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: white;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
}

.nav-menu > li > a:hover {
    background-color: #a0522d;
}

/* Submenu Styles */
.nav-menu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #a0522d;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
}

.nav-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu li ul li a {
    display: block;
    padding: 12px 20px;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s;
}

.nav-menu li ul li a:hover {
    background-color: #8b4513;
}

/* === HERO SECTION - OPTIMIZED FOR DESKTOP === */
.hero {
    background: linear-gradient(rgba(44, 44, 44, 0.8), rgba(139, 69, 19, 0.7)), url('https://88asiaportal.online/wp-content/uploads/2025/10/QQ88ASIA-BANNER-HERO.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #d4af37;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 35px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Button Container for proper spacing */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 55px;
    background-color: #d4af37;
    color: #2c2c2c;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center;
    min-width: 220px; /* Equal width for both buttons */
    flex-shrink: 0; /* Prevent buttons from shrinking */
}

.btn:hover {
    background-color: #f4d03f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* === MOBILE RESPONSIVE STYLES FOR HERO === */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
        margin-bottom: 40px;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px; /* Added gap for vertical layout */
    }
    
    .btn {
        min-width: 200px; /* Slightly smaller on mobile */
        padding: 14px 30px;
        font-size: 1rem;
        width: 80%; /* Make buttons take most of the width on mobile */
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        min-width: 180px;
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* === FEATURED RECIPES - OPTIMIZED === */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #8b4513;
    position: relative;
    font-weight: 700;
}

.section-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: #d4af37;
    margin: 15px auto;
    border-radius: 2px;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.recipe-card {
    background-color: #2c2c2c;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #444;
    color: #fff;
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.recipe-image {
    height: 250px;
    background: linear-gradient(45deg, #3c3c3c, #4a4a4a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 3rem;
}

.recipe-content {
    padding: 25px;
}

.recipe-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #d4af37;
    font-weight: 600;
    line-height: 1.3;
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #444;
}

.recipe-meta i {
    margin-right: 5px;
    color: #d4af37;
}

.recipe-excerpt {
    color: #ddd;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.read-more {
    color: #d4af37;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.read-more:hover {
    color: #f4d03f;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* === CATEGORIES SECTION - WIDER CARDS === */
.categories {
    background: linear-gradient(135deg, #3c3c3c 0%, #2c2c2c 100%);
    padding: 80px 0;
    margin-bottom: 80px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: #444;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #555;
    width: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.category-icon {
    margin-bottom: 25px;
    transition: transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.category-icon img {
    width: 90%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.category-card:hover .category-icon {
    transform: scale(1.05);
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #d4af37;
    font-weight: 600;
}

.category-card p {
    color: #bbb;
    line-height: 1.6;
    font-size: 1.05rem;
    max-width: 350px;
    margin: 0 auto;
}

/* === NEWSLETTER SECTION - OPTIMIZED === */
.newsletter {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 80px;
}

.newsletter h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: 700;
    color: #d4af37;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    font-size: 1rem;
    outline: none;
    background: #2c2c2c;
    color: #fff;
}

.newsletter-form input::placeholder {
    color: #bbb;
}

.newsletter-form button {
    padding: 0 35px;
    background-color: #d4af37;
    color: #2c2c2c;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-form button:hover {
    background-color: #f4d03f;
}

/* === FOOTER - OPTIMIZED === */
footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
    color: #d4af37;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #8b4513;
    border-radius: 2px;
}

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

.footer-links a {
    transition: all 0.3s;
    opacity: 0.8;
    color: #bbb;
}

.footer-links a:hover {
    color: #d4af37;
    opacity: 1;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 1.1rem;
    color: #d4af37;
}

.social-links a:hover {
    background-color: #d4af37;
    color: #2c2c2c;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Payment Methods Section */
.payment-methods {
    background: linear-gradient(135deg, #3c3c3c 0%, #2c2c2c 100%);
    padding: 80px 0;
    text-align: center;
    margin-bottom: 80px;
    color: #fff;
}

.payment-methods h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #d4af37;
    font-weight: 700;
}

.payment-methods p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 35px;
    color: #bbb;
    line-height: 1.6;
}

/* Gradient Red Button */
.btn-gradient-red {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 50%, #ff4757 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-gradient-red:hover {
    background: linear-gradient(135deg, #ff5252 0%, #e74c3c 50%, #ff3838 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

/* === RESPONSIVE STYLES - MOBILE SECONDARY === */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .recipes-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #8b4513;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(255,255,255,0.1);
    }
    
    .search-box input {
        width: 150px;
    }
    
    .search-box input:focus {
        width: 180px;
    }
    
    .hero {
        padding: 100px 0;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 8px;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .recipes-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive adjustments for wider cards */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
    
    .category-icon img {
        width: 85%;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .category-card {
        padding: 35px 25px;
        min-height: 260px;
    }
    
    .category-icon img {
        width: 80%;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        padding: 30px 20px;
        min-height: 240px;
    }
    
    .category-icon img {
        width: 75%;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .category-card p {
        font-size: 1rem;
        max-width: 100%;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .category-icon img {
        width: 70%;
    }
}

/* === FAQ SECTION STYLES === */
.faq-section {
    background: linear-gradient(135deg, #3c3c3c 0%, #2c2c2c 100%);
    padding: 80px 0;
    margin-bottom: 80px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #444;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #555;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #444;
    transition: background-color 0.3s;
    color: #fff;
}

.faq-question:hover {
    background-color: #555;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #d4af37;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #8b4513;
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
    position: relative;
}

.faq-toggle .fa-plus,
.faq-toggle .fa-minus {
    position: absolute;
    transition: all 0.3s;
}

.faq-toggle .fa-minus {
    opacity: 0;
    transform: rotate(-90deg);
}

.faq-item.active .faq-toggle {
    background: #d4af37;
}

.faq-item.active .faq-toggle .fa-plus {
    opacity: 0;
    transform: rotate(90deg);
}

.faq-item.active .faq-toggle .fa-minus {
    opacity: 1;
    transform: rotate(0deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #555;
}

.faq-answer p {
    padding: 0 30px 25px;
    margin: 0;
    color: #ddd;
    line-height: 1.7;
    font-size: 1rem;
}

/* FAQ Responsive Styles */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer p {
        padding: 0 20px 20px;
    }
    
    .faq-toggle {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 50px 0;
    }
    
    .faq-question {
        padding: 18px 15px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        margin-right: 15px;
    }
    
    .faq-answer p {
        padding: 0 15px 18px;
        font-size: 0.95rem;
    }
}

/* === ARTICLE SECTION STYLES === */
.article-section {
    padding: 80px 0;
    background: #2c2c2c;
    margin-bottom: 80px;
    color: #fff;
}

.registration-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-banner {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-title {
    font-size: 2.2rem;
    color: #d4af37;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #bbb;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.article-meta i {
    margin-right: 8px;
    color: #d4af37;
}

.article-content {
    line-height: 1.8;
    color: #ddd;
    font-size: 1.05rem;
}

.article-intro {
    font-size: 1.15rem;
    font-weight: 500;
    color: #d4af37;
    margin-bottom: 30px;
    padding: 20px;
    background: #3c3c3c;
    border-left: 4px solid #8b4513;
    border-radius: 4px;
}

.article-content h2 {
    color: #d4af37;
    margin: 35px 0 20px;
    font-size: 1.6rem;
    font-weight: 600;
}

.article-content h3 {
    color: #f4d03f;
    margin: 30px 0 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    position: relative;
    color: #ddd;
}

.article-content li strong {
    color: #d4af37;
}

.article-cta {
    background: linear-gradient(135deg, #3c3c3c 0%, #4a4a4a 100%);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
    border: 2px solid #555;
}

.article-cta h3 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.article-cta p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: center;
    color: #ddd;
}

/* Responsive Article Styles */
@media (max-width: 768px) {
    .article-section {
        padding: 60px 0;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-intro {
        font-size: 1.05rem;
        padding: 15px;
    }
    
    .article-cta {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .article-section {
        padding: 50px 0;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-content h2 {
        font-size: 1.4rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .article-cta {
        padding: 25px 15px;
    }
    
    .article-content ul {
        padding-left: 20px;
    }
}