/* Main Styles for Vranjo Social Casino */

/* Base Styles */
:root {
    /* Colors */
    --bg-color: #f2f2f2;
    --primary-color: #3b82f6;
    --secondary-color: #10b981;
    --text-color: #111827;
    --light-text: #f8fafc;
    --dark-bg: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.2);
    
    /* Shadows */
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --neon-glow: 0 0 8px rgba(59, 130, 246, 0.6);
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xxl) 0;
}

.dark-section {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-play {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--neon-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
}

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

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

.btn-play {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.8);
}

/* Glass Card Style */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px 0 rgba(31, 38, 135, 0.25);
}

/* Header Styles */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
}

#header.scrolled {
    background-color: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: white;
    font-size: 2rem;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: var(--spacing-md);
}

.nav-menu li a {
    color: white;
    font-weight: 500;
    position: relative;
}

.nav-menu li a:not(.btn-primary):after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu li a:not(.btn-primary):hover:after,
.nav-menu li a.active:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('/images/maingamebg.webp') no-repeat center center/cover;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(15, 23, 42, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-xs);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.about-text p {
    margin-bottom: var(--spacing-md);
}

.about-image {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.game-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-info {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.game-info p {
    margin-bottom: var(--spacing-md);
    opacity: 0.8;
    flex-grow: 1;
}

.view-all-games {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 1.8rem;
    box-shadow: var(--neon-glow);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

/* Testimonials Section */
.testimonials-slider {
    display: flex;
    overflow-x: hidden;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.testimonial-card {
    min-width: 100%;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    margin-bottom: var(--spacing-md);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--spacing-sm);
}

.testimonial-author h4 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.testimonial-author p {
    opacity: 0.7;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.testimonial-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--neon-glow);
}

.testimonial-control:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Disclaimer Section */
.disclaimer-content {
    padding: var(--spacing-lg);
    text-align: center;
    background-color: white;
}

.disclaimer-content p {
    margin-bottom: var(--spacing-md);
}

.disclaimer-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* CTA Section */
.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

/* Footer */
#footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h3, .footer-newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    margin-top: var(--spacing-sm);
}

.newsletter-form input {
    flex-grow: 1;
    padding: var(--spacing-sm);
    border: none;
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    font-family: inherit;
    outline: none;
}

.newsletter-form button {
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    padding: var(--spacing-sm) var(--spacing-md);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .about-image {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--dark-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-xxl) var(--spacing-md) var(--spacing-md);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0 0 var(--spacing-md) 0;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .disclaimer-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .feature-card, .game-card {
        padding: var(--spacing-sm);
    }
    
    .testimonial-card {
        padding: var(--spacing-md);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input, .newsletter-form button {
        width: 100%;
        border-radius: var(--radius-full);
        margin-bottom: var(--spacing-sm);
    }
}