/* ===================================
   afilikitap.com - Social Casino Styles
   Design: Outback Sunset with OOCSS
   =================================== */

/* ==== TYPOGRAPHY ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

/* ==== CSS VARIABLES ==== */
:root {
    /* Outback Sunset Palette */
    --burnt-orange: #E07A5F;
    --desert-red: #C1440E;
    --sand-gold: #F4A259;
    --eucalyptus-green: #3D5A40;
    --midnight-sky: #191970;
    --outback-cream: #F8F4E8;
    --dust-brown: #8B7355;
    --sunset-pink: #FF6B9D;
    --clay-terracotta: #B85A3C;
    --pale-blue: #E8F4F8;
    
    /* Semantic Colors */
    --color-primary: var(--burnt-orange);
    --color-secondary: var(--eucalyptus-green);
    --color-accent: var(--sand-gold);
    --color-dark: var(--midnight-sky);
    --color-light: var(--outback-cream);
    --color-text-body: #2c3e50;
    --color-text-light: #718096;
    --color-bg: #ffffff;
    --color-warning: var(--desert-red);
    --color-success: var(--eucalyptus-green);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-parallax: 0 12px 48px rgba(224, 122, 95, 0.25);
    
    /* Header */
    --header-height: 70px;
}

@media (max-width: 600px) {
    :root {
        --header-height: 60px;
    }
}

/* ==== RESET & BASE ==== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-body);
    background: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==== LAYOUT OBJECTS ==== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

.section {
    padding: var(--space-3xl) 0;
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-2xl) 0;
    }
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section__title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--burnt-orange), var(--desert-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.section__footer {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ==== GRID SYSTEM ==== */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid--2col {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--3col {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid--4col {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 768px) {
    .grid {
        gap: var(--space-md);
    }
    
    .grid--4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==== TEXT COMPONENTS ==== */
.text-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--color-dark);
}

.text-body {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-body);
}

.text-small {
    font-size: 0.875rem;
}

.text-warning {
    color: var(--color-warning);
}

/* ==== BUTTON OBJECTS ==== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn--primary {
    background: linear-gradient(135deg, var(--burnt-orange), var(--desert-red));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background: transparent;
    color: var(--burnt-orange);
    border: 2px solid var(--burnt-orange);
}

.btn--secondary:hover {
    background: var(--burnt-orange);
    color: white;
}

.btn--small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-group {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.btn-group--vertical {
    flex-direction: column;
    align-items: stretch;
}

@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        width: 100%;
    }
}

/* ==== BADGE OBJECTS ==== */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge--accent {
    background: var(--sand-gold);
    color: var(--color-dark);
}

.badge--age {
    background: var(--desert-red);
    color: white;
    font-size: 1.5rem;
    padding: 1rem 1.5rem;
}

/* ==== CARD OBJECTS ==== */
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-parallax);
    transform: translateY(-4px);
}

.card--feature {
    padding: var(--space-xl);
    text-align: center;
}

.card__icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.card__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-dark);
}

.card__text {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ==== HEADER ==== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo__text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--burnt-orange), var(--desert-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==== NAVIGATION ==== */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav__link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-body);
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.nav__link:hover,
.nav__link--active {
    color: var(--burnt-orange);
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        box-shadow: var(--shadow-lg);
        padding: var(--space-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav__link {
        width: 100%;
        text-align: center;
        padding: var(--space-md);
    }
}

/* ==== BURGER MENU ==== */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.burger__line {
    width: 25px;
    height: 3px;
    background: var(--burnt-orange);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger.active .burger__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.active .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.active .burger__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }
}

/* ==== HERO SECTION ==== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        var(--outback-cream) 0%, 
        var(--pale-blue) 50%, 
        var(--outback-cream) 100%);
    z-index: -1;
}

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(224, 122, 95, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 162, 89, 0.08) 0%, transparent 50%);
    animation: parallaxFloat 20s ease-in-out infinite;
}

@keyframes parallaxFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.hero__content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero__title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    margin: var(--space-md) 0;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--midnight-sky), var(--burnt-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__text {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.hero__badges {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.hero__badge {
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--header-height) + var(--space-2xl));
        min-height: 80vh;
    }
    
    .hero__text {
        font-size: 1.125rem;
    }
}

/* ==== GAME CARD ==== */
.game-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.game-card:hover {
    box-shadow: var(--shadow-parallax);
    transform: translateY(-6px);
}

.game-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.game-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-card__image img {
    transform: scale(1.05);
}

.game-card__info {
    padding: var(--space-md);
}

.game-card__title {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.game-card__provider {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* ==== FAQ ==== */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    text-align: left;
    color: var(--color-dark);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq__question:hover {
    color: var(--burnt-orange);
}

.faq__icon {
    font-size: 1.5rem;
    color: var(--burnt-orange);
    transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq__item.active .faq__answer {
    max-height: 500px;
}

.faq__answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ==== MODALS ==== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal__header {
    padding: var(--space-xl) var(--space-xl) var(--space-md);
    text-align: center;
}

.modal__body {
    padding: 0 var(--space-xl) var(--space-xl);
    text-align: center;
}

.modal__body p {
    margin-bottom: var(--space-md);
}

/* ==== COOKIE BANNER ==== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: white;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    padding: var(--space-md);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
    }
}

/* ==== DISCLAIMER ==== */
.disclaimer {
    background: linear-gradient(135deg, var(--desert-red), var(--clay-terracotta));
    color: white;
    padding: var(--space-xl) 0;
}

.disclaimer__content {
    text-align: center;
}

.disclaimer__text {
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.disclaimer__text:last-child {
    margin-bottom: 0;
}

.disclaimer__text a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.disclaimer__text a:hover {
    color: var(--sand-gold);
}

/* ==== FOOTER ==== */
.footer {
    background: var(--midnight-sky);
    color: white;
    padding: var(--space-2xl) 0 var(--space-md);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.footer__heading {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    color: white;
}

.footer__text,
.footer__company,
.footer__address {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-sm);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--sand-gold);
}

.footer__col--compliance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (max-width: 768px) {
    .footer__col--compliance {
        align-items: center;
    }
}

.footer__compliance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-md);
}

@media (max-width: 768px) {
    .footer__compliance {
        align-items: center;
    }
}

.footer__logos {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.compliance-logo {
    height: 35px;
    width: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
}

.footer__help-text {
    font-size: 0.875rem;
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .footer__help-text {
        text-align: center;
    }
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
}

.footer__copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ==== SECTION SPECIFIC ==== */
.section--features {
    background: var(--pale-blue);
}

.section--games {
    background: white;
}

.section--faq {
    background: var(--outback-cream);
}

