/* 
   1Wiin - Main Stylesheet
   Created for 1wiin.co - Brazil-targeted gaming website
*/

/* ====== VARIABLES ====== */
:root {
    --primary-color: #ff5722;
    --secondary-color: #2c3e50;
    --accent-color: #ffd700;
    --text-color: #333;
    --light-text: #f5f5f5;
    --dark-bg: #1a1a2e;
    --card-bg: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #ff5722, #ff9800);
    --gradient-dark: linear-gradient(135deg, #1a1a2e, #16213e);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: #f9f9f9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

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

/* ====== BUTTONS ====== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--light-text);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--light-text);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* ====== HEADER ====== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
}

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

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

.logo img {
    width: 150px;
    height: auto;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

.cta-buttons .login {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-buttons .register {
    background: var(--gradient-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ====== HERO SECTION ====== */
#hero {
    background: var(--gradient-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--light-text);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    background-size: 80px;
    opacity: 0.2;
}

.hero-content {
    max-width: 700px;
    z-index: 1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* ====== FEATURES SECTION ====== */
#features {
    padding: 100px 0;
    background: #fff;
}

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

.feature-card {
    padding: 30px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.feature-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icons using CSS */
.icon.secure:before {
    content: '🔒';
    font-size: 2rem;
}

.icon.bonus:before {
    content: '🎁';
    font-size: 2rem;
}

.icon.variety:before {
    content: '🎮';
    font-size: 2rem;
}

.icon.support:before {
    content: '🛎️';
    font-size: 2rem;
}

/* ====== GAMES SECTION ====== */
#games {
    padding: 100px 0;
    background: #f5f5f5;
}

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

.game-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.game-image {
    height: 200px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.game-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.game-image.game1 {
    background-color: #4a90e2;
    background-image: linear-gradient(135deg, #4a90e2, #283c86);
}

.game-image.game2 {
    background-color: #e74c3c;
    background-image: linear-gradient(135deg, #e74c3c, #c0392b);
}

.game-image.game3 {
    background-color: #2ecc71;
    background-image: linear-gradient(135deg, #2ecc71, #27ae60);
}

.game-image.game4 {
    background-color: #9b59b6;
    background-image: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.game-info {
    padding: 20px;
    text-align: center;
}

.game-info h3 {
    margin-bottom: 10px;
}

.game-info p {
    margin-bottom: 20px;
    color: #666;
}

/* Partner Games section */
.partner-games {
    margin-top: 50px;
    padding: 30px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.partner-games h3 {
    text-align: center;
    margin-bottom: 20px;
}

.partner-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.partner-list li a {
    display: inline-block;
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 20px;
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
}

.partner-list li a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* ====== PROMOTIONS SECTION ====== */
#promotions {
    padding: 100px 0;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    color: var(--light-text);
}

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

.promo-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.promo-content h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.promo-content p {
    margin-bottom: 20px;
}

/* ====== TESTIMONIALS SECTION ====== */
#testimonials {
    padding: 100px 0;
    background: #fff;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    text-align: center;
    padding: 30px;
    display: none;
}

.testimonial:first-child {
    display: block;
}

.testimonial .quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 30px;
}

.testimonial .quote:before,
.testimonial .quote:after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial .quote:before {
    top: -20px;
    left: 0;
}

.testimonial .quote:after {
    bottom: -40px;
    right: 0;
}

.testimonial .author {
    font-weight: 700;
    color: var(--secondary-color);
}

/* ====== FOOTER ====== */
footer {
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 80px 0 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo {
    flex: 0 0 300px;
}

.footer-logo p {
    margin-top: 15px;
    color: rgba(255,255,255,0.7);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.links-column h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.links-column ul li {
    margin-bottom: 10px;
}

.links-column ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.links-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-icons {
    display: flex;
    gap: 5px;
}

.payment-icon {
    width: 40px;
    height: 25px;
    background: rgba(255,255,255,0.9);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-links {
    margin-top: 20px;
    width: 100%;
}

.partner-links p {
    margin-bottom: 10px;
}

.partner-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.partner-links ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.partner-links ul li a:hover {
    color: var(--primary-color);
}

/* ====== MEDIA QUERIES ====== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    header .container {
        flex-wrap: wrap;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 20px;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        padding: 20px;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }
    
    .cta-buttons {
        margin-left: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    #hero {
        padding: 150px 0 100px;
    }
    
    .features-grid, 
    .games-grid, 
    .promotions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .partner-links ul {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    #hero {
        text-align: center;
    }
    
    .cta-buttons {
        margin-left: 0;
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .partner-list {
        flex-direction: column;
    }
}
