/* Candyland Casino - Main Stylesheet */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #fa22a0;
    --secondary-purple: #400036;
    --dark-purple: #2D0026;
    --light-pink: #f6e5f1;
    --white: #ffffff;
    --black: #000000;
    --text-dark: #333333;
    --text-light: #666666;
    --gradient-primary: linear-gradient(135deg, var(--primary-pink), var(--secondary-purple));
    --gradient-hero: linear-gradient(rgba(102, 51, 94, 0.8), rgba(250, 34, 160, 0.8));
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--secondary-purple);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: bold;
}

h1 {
    font-size: 2.5rem;
    color: var(--white);
}

h2 {
    font-size: 2rem;
    color: var(--primary-pink);
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-pink);
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--primary-pink);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-purple);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    line-height: 1.2;
}

header .container {
    max-width: unset;
}

.btn-primary {
    background: var(--primary-pink);
    text-transform: capitalize;
    color: var(--white);
    border: 2px solid transparent;
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(250, 34, 160, 0.3);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--primary-pink);
    color: var(--white);
    border: 2px solid var(--primary-pink);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.2rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--secondary-purple);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--secondary-purple);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 2rem 0;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Main Content */
.main {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Content Grid */
.content-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.content-card {
    background: var(--dark-purple);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.content-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.content-card-body {
    padding: 2rem;
}

.content-card h3 {
    margin-bottom: 1rem;
}

/* Game Gallery */
.game-gallery {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
}

.game-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.game-card:hover .game-overlay {
    transform: translateY(0);
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark-purple);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.game-overlay h3 {
    color: var(--white);
}

.table th {
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: bold;
}

.table tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Features List */
.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 2rem;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-pink);
    font-weight: bold;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq {
    margin: 3rem 0;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--dark-purple);
    padding: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    color: var(--white);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--primary-pink);
}

.faq-answer {
    padding: 1.5rem;
    background: var(--dark-purple);
}

/* Promotions */
.promo-cards {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.text-center .btn {
    margin-bottom: 1rem;
}

.promo-card {
    background: var(--dark-purple);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.promo-card:hover {
    border-color: var(--primary-pink);
    transform: translateY(-5px);
}

.promo-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--secondary-purple);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-pink);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.payment-icon {
    background: var(--white);
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--secondary-purple);
    font-weight: bold;
}

/* Responsive Design - Mobile First */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .game-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.promo-card img {
    width: 100%;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .promo-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-buttons {
        flex-wrap: nowrap;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
}


@media (max-width:1280px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-purple);

        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    nav .nav {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    nav.active {
        display: block;
    }
    
    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .header-buttons {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .logo {
        height: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .content-card-body {
        padding: 1.5rem;
    }
    
    .table-container {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width:475px) {
    .logo {
        height: 30px;
    }
}

@media (max-width:400px) {
    .header-content{
        flex-wrap: wrap;
    }

    .hero-content {
        padding: 10rem 0;
        padding-bottom: 4rem;
    }

    .header-buttons {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .mobile-menu-toggle {
        order: 2;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
} 