/* KKBD Casino Website Styles */
/* Mobile First Approach */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #2C2B29;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #f7d462;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    color: #f7d462;
}

h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.6rem;
    color: #f7d462;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Header Styles */
.header {
    background-color: #1c1c1c;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 30px;
}

.logo img {
    height: 100%;
}

ol {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 20px;
}

.nav {
    display: none;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover, .nav a.active {
    color: #f7d462;
}

.nav a.active {
    font-weight: bold;
    text-decoration: underline;
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

/* Button Styles */
.btn {
    display: flex;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    gap: 10px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(180deg, #fbe38c, #ebab51);
    color: #333;
    box-shadow: 0 4px 15px rgba(251, 227, 140, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 227, 140, 0.4);
}

.btn-secondary {
    border: 1px solid #f7d462;
    color: #f7d462;
    background: transparent;
}

.btn-secondary:hover {
    background-color: #f7d462;
    color: #333;
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    color: #f7d462;
    border: 1px solid #f7d462;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-text:hover {
    background-color: #f7d462;
    color: #333;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #f7d462;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1c1c1c;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.mobile-menu li {
    margin-bottom: 0.5rem;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-menu a:hover, .mobile-menu a.active {
    color: #f7d462;
}

.mobile-menu a.active {
    font-weight: bold;
    text-decoration: underline;
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero {
    background: linear-gradient(135deg, #2C2B29 0%, #1c1c1c 100%);
    padding: 3rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Cards */
.card {
    background-color: #1c1c1c;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #f7d462;
    margin-bottom: 1rem;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1c1c1c;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    background-color: #f7d462;
    color: #333;
    font-weight: bold;
}

tr:hover {
    background-color: #333;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: #1c1c1c;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.feature-item i {
    font-size: 3rem;
    color: #f7d462;
    margin-bottom: 1rem;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1c1c1c;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.step p {
    margin: 0;
    text-align: left;
}

.step h3 {
    text-align: center;
    margin-top: 20px;
}

.step-number {
    background-color: #f7d462;
    color: #333;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Reviews */
.reviews {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.review {
    background-color: #1c1c1c;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.review-author {
    color: #f7d462;
    font-weight: bold;
}

/* FAQ */
.faq {
    margin: 2rem 0;
}

.faq-item {
    background-color: #1c1c1c;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.faq-question {
    background-color: #f7d462;
    color: #333;
    padding: 1rem;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 1rem;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Footer */
.footer {
    background-color: #1c1c1c;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links h4 {
    color: #f7d462;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f7d462;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    margin-top: 2rem;
    color: #999;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #f7d462;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #1c1c1c;
    color: #fff;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f7d462;
    box-shadow: 0 0 10px rgba(247, 212, 98, 0.3);
}

@media (min-width: 1120px) {
    .nav {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

/* Responsive Design */
@media (min-width: 768px) {

    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reviews {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reviews {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-buttons {
        flex-wrap: nowrap;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Button Center Container */
.btn-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.btn-center .btn {
    margin: 0;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* External Links */
.external-link {
    color: #f7d462;
    text-decoration: none;
    border-bottom: 1px dotted #f7d462;
}

.external-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.game-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f7d462;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Promo Slider Styles */
.promo-slider {
    width: 100% !important;
    margin: 2rem 0 !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}

.swiper {
    width: 100% !important;
    height: auto !important;
    min-height: 150px !important;
}

.slider-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 150px !important;
    display: block !important;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #f7d462 !important;
    background: rgba(0,0,0,0.5) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    margin-top: -25px !important;
    transition: all 0.3s ease !important;
    display: none !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(247, 212, 98, 0.2) !important;
    transform: scale(1.1) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold !important;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: #f7d462 !important;
    opacity: 0.5 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
    transition: all 0.3s ease !important;
}

@media (max-width: 425px) {
    .header-buttons {
        gap: 10px;
        width: 100%;
        order: 3;
        margin-top: 15px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .header-buttons .btn{
        width: 100%;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .slider-image {
        min-height: 120px !important;
    }

    .swiper {
        min-height: 120px !important;
    }

    .swiper-pagination {
        display: none !important; 
    }
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    transform: scale(1.2) !important;
}

/* Responsive Slider */
@media (min-width: 768px) {
    .swiper {
        min-height: 300px !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: flex !important;
    }
    
    .slider-image {
        min-height: 300px !important;
    }
}

@media (min-width: 1024px) {
    .swiper {
        min-height: 400px !important;
    }
    
    .slider-image {
        min-height: 400px !important;
    }
}


.app-hero-section {
    background: #1C1C1C;
    color: #fff;
    padding: 60px 5%;
    display: flex;
    margin-bottom: 40px;
    align-items: center;
    justify-content: center;
    gap: 40px;
    overflow: hidden;
}

.app-hero-content {
    max-width: 500px;
    flex-shrink: 0;
}

.app-hero-title {
    font-size: 42px !important;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #f0c354;
}

.app-hero-subtitle {
    font-size: 18px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
}

.app-download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-download {
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-download:hover {
    background-color: #444;
    transform: translateY(-3px);
}

.btn-download i {
    font-size: 32px;
    margin-right: 15px;
}

.btn-download span {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 12px;
    line-height: 1.2;
}

.btn-download strong {
    font-size: 18px;
    font-weight: 600;
}

.app-hero-visual {
    perspective: 1000px;
}

.phone-mockup {
    background-color: #111;
    border: 8px solid #222;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s;
}
.phone-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.phone-screen {
    display: block;
    width: 280px;
    height: auto;
    border-radius: 30px;
}

@media (max-width: 992px) {
    .app-hero-section {
        flex-direction: column;
        text-align: center;
    }
    .app-download-buttons {
        justify-content: center;
    }
    .phone-mockup {
        transform: rotateY(0deg) rotateX(0deg);
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .app-hero-title {
        font-size: 32px !important;
    }
    .phone-screen {
        width: 240px;
    }

    .btn {
        font-size: 14px !important;
    }
}