/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d, #6bcf7f);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    margin: 0 auto;
}

.nav-logo .logo-img {
    height: 50px;
    width: auto;
}

.language-selector {
    position: relative;
}

.lang-select {
    padding: 0.5rem 1rem;
    border: 2px solid #ff6b6b;
    border-radius: 25px;
    background: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-select:hover {
    border-color: #ffd93d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ff6b6b;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    padding: 1rem 0;
    flex-direction: column;
    align-items: center;
}

.mobile-nav-list li {
    margin: 0.5rem 0;
}

.mobile-nav-list a {
    display: block;
    padding: 1rem 2rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.mobile-nav-list a:hover {
    background: rgba(255, 107, 107, 0.1);
    border-left-color: #ff6b6b;
    transform: translateX(5px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.7), rgba(255, 217, 61, 0.6), rgba(107, 207, 127, 0.7));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.hero-logo-img {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8));
        transform: scale(1.02);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 150px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

nav ul {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 107, 0.7);
    z-index: -1;
}

.hero .btn-secondary {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

.hero .btn-secondary:hover {
    background: #fff !important;
    color: #ff6b6b !important;
    border: 2px solid #ff6b6b !important;
}

nav ul li a{
    color: #333;
    list-style: none;
    text-decoration: none;
}

nav ul li a:hover {
    color: #ff6b6b;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.btn-secondary:hover {
    background: #ff6b6b;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Main Content */
.main {
    background: white;
    position: relative;
    z-index: 1;
}

.content-section {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

.content-section:nth-child(even) {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(255, 217, 61, 0.05));
}

.content-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ff6b6b;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #666;
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.section-image:hover {
    transform: scale(1.02);
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-buttons-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* CTA Buttons */
.cta-buttons {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.cta-buttons .btn {
    margin: 0.5rem;
}

/* Game Information */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.info-table {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-table table {
    width: 100%;
    border-collapse: collapse;
}

.info-table td {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.info-table td:first-child {
    font-weight: bold;
    color: #ff6b6b;
    width: 40%;
}

.info-table td:last-child {
    color: #666;
}

/* Strategies Table */
.strategies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.strategies-table th,
.strategies-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.strategies-table th {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    font-weight: bold;
}

.strategies-table tr:hover {
    background: rgba(255, 107, 107, 0.05);
}

.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

/* Tips Section */
.tips-section {
    background: rgba(255, 107, 107, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 4px solid #ff6b6b;
}

.tips-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* Advice Sections */
.advice-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.advice-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ffd93d;
}

.advice-item h3 {
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.advice-item ul {
    list-style: none;
    padding: 0;
}

.advice-item li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.advice-item li:before {
    content: "•";
    color: #ff6b6b;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Atmosphere Content */
.atmosphere-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.atmosphere-text h3 {
    color: #ff6b6b;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

/* Responsible Play */
.responsible-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.responsible-content ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.responsible-content li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.responsible-content li:before {
    content: "•";
    color: #ff6b6b;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.responsible-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin: 1rem 0;
}

/* Conclusion */
.conclusion-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.conclusion-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

/* Game Mechanics */
.mechanics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.mechanics-cards {
    display: grid;
    gap: 1.5rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #ff6b6b;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.card p {
    color: #666;
    line-height: 1.6;
}

/* Screenshots */
.screenshot-container {
    text-align: center;
}

/* Player Experience */
.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.experience-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(45deg, #ff5252, #ffc107);
}

.faq-question.active {
    background: linear-gradient(45deg, #e53935, #f57f17);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* Video Section */
.video-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.main-video {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }


    
    .content-section h2 {
        font-size: 2rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }


    .nav nav {
        display: none;
    }
    
    .mechanics-grid,
    .atmosphere-content,
    .advice-sections,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {


    .language-selector {
        order: -1;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-logo-img {
        max-width: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    main .btn {
        width: 100%;
        max-width: 300px;
    }

    header .btn {
        font-size: 14px;
        padding: 10px 15px;
        min-width: unset !important;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .info-table {
        padding: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

@media (max-width: 550px) {
    .header-buttons .header-buttons-cta .btn-secondary {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .header {
        padding: 5px 0;
    }
    
    .nav-container {
        flex-wrap: wrap;
        padding: 8px 15px;
        min-height: auto;
        gap: 10px;
        align-items: center;
    }

    .nav-logo {
        flex-shrink: 0;
    }
    
    .nav-logo .logo-img {
        height: 35px;
    }

    .language-selector {
        flex: 1;
        display: flex;
        justify-content: center;
        order: 2;
    }

    .lang-select {
        padding: 6px 12px;
        font-size: 0.85rem;
        min-width: 140px;
        border-radius: 20px;
    }

    .header-buttons {
        order: 3;
        width: auto;
        margin-top: 0;
        justify-content: flex-end;
    }

    .header-buttons-cta {
        gap: 8px;
    }

    .header-buttons .header-buttons-cta .btn-primary {
        width: auto;
        padding: 8px 16px;
        font-size: 0.85rem;
        min-width: 80px;
    }

    .header-buttons .header-buttons-cta .btn-secondary {
        display: none;
    }

    .mobile-menu-toggle {
        order: 4;
        margin-left: 10px;
    }

    .hero {
        margin-top: 65px;
        min-height: calc(100vh - 65px);
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Hide video on mobile */
@media (max-width: 768px) {
    .hero-video {
        display: none;
    }
    
    .hero-video-container {
        background-image: url('../images/common/golden-pinata-hero-poster.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* Smooth transitions for language switching */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.btn:focus,
.lang-select:focus,
.mobile-menu-toggle:focus {
    outline: 3px solid #6bcf7f;
    outline-offset: 2px;
}

.faq-question:focus {
    outline: 3px solid #6bcf7f;
    outline-offset: -3px;
}
