/* SlotGamesOLX128.org - Professional Gaming Platform Styles */
/* Theme Colors: Royal Blue #1D4ED8, Gold #FACC15, Midnight Black #000000, Steel Gray #374151, Ivory White #F3F4F6 */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #F3F4F6;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1D4ED8 0%, #000000 100%);
    color: #F3F4F6;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo:hover img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #F3F4F6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #FACC15;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    gap: 1rem;
    margin-left: 2rem;
    align-items: center;
}

.nav-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-login {
    background: linear-gradient(135deg, #1D4ED8 0%, #1e40af 100%);
    color: #F3F4F6;
    border-color: #1D4ED8;
}

.nav-login:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1D4ED8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
    color: #F3F4F6;
}

.nav-register {
    background: linear-gradient(135deg, #FACC15 0%, #e6b800 100%);
    color: #000000;
    border-color: #FACC15;
}

.nav-register:hover {
    background: linear-gradient(135deg, #e6b800 0%, #FACC15 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.3);
    color: #000000;
}

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: #374151;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.breadcrumb a {
    color: #FACC15;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1D4ED8 0%, #000000 50%, #1D4ED8 100%);
    color: #F3F4F6;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #FACC15;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInDown 1s ease-out;
    font-weight: 700;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.3s both;
    line-height: 1.6;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 0.6s both;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #FACC15 0%, #e6b800 100%);
    color: #000000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin: 0.5rem;
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, #e6b800 0%, #FACC15 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(250, 204, 21, 0.4);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, #1D4ED8 0%, #1e40af 100%);
    color: #F3F4F6;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1D4ED8 100%);
    box-shadow: 0 12px 25px rgba(29, 78, 216, 0.4);
}

/* Content Sections */
.content-section {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1D4ED8, #FACC15, #1D4ED8);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.content-section h2 {
    color: #1D4ED8;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    text-align: center;
    position: relative;
    font-weight: 700;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1D4ED8, #FACC15);
    border-radius: 2px;
}

.content-section h3 {
    color: #1D4ED8;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #374151;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
    position: relative;
    padding: 2rem 0;
}

.features-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.02) 0%, rgba(250, 204, 21, 0.02) 100%);
    border-radius: 25px;
    z-index: -1;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    padding: 2.5rem 2rem;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(29, 78, 216, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1D4ED8 0%, #FACC15 50%, #1D4ED8 100%);
    background-size: 200% 100%;
    animation: gradientShift 4s ease-in-out infinite;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 15px 30px rgba(29, 78, 216, 0.15);
    border-color: rgba(250, 204, 21, 0.3);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card h3 {
    color: #1D4ED8;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #1D4ED8, #FACC15);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.feature-card:hover h3::after {
    width: 60px;
}

.feature-card p {
    color: #374151;
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

/* Steps Container */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #1D4ED8 0%, #FACC15 50%, #1D4ED8 100%);
    background-size: 100% 200%;
    animation: gradientShift 4s ease-in-out infinite;
    border-radius: 2px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-left: 2rem;
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(250, 204, 21, 0.3);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1D4ED8 0%, #FACC15 100%);
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.3);
    position: relative;
    z-index: 2;
    margin-left: -2rem;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #1D4ED8, #FACC15);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-item:hover .step-number::before {
    opacity: 0.3;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: #1D4ED8;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
}

.step-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #1D4ED8, #FACC15);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.step-item:hover .step-content h3::after {
    width: 60px;
}

.step-content p {
    color: #374151;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.steps-note {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.1) 0%, rgba(29, 78, 216, 0.1) 100%);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 2px solid rgba(250, 204, 21, 0.2);
    margin-top: 2rem;
    text-align: center;
}

.steps-note p {
    margin: 0;
    color: #374151;
    font-size: 1rem;
}

.steps-note a {
    color: #1D4ED8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.steps-note a:hover {
    color: #FACC15;
    text-decoration: underline;
}

/* Advantages & Security Section */
#advantages-security {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.05) 0%, rgba(250, 204, 21, 0.05) 100%);
    border: 2px solid rgba(29, 78, 216, 0.1);
    position: relative;
    overflow: hidden;
}

#advantages-security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1D4ED8 0%, #FACC15 50%, #1D4ED8 100%);
    background-size: 200% 100%;
    animation: gradientShift 4s ease-in-out infinite;
}

#advantages-security::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.03) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
    z-index: -1;
}

#advantages-security h3 {
    color: #1D4ED8;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    padding-left: 1rem;
}

#advantages-security h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, #1D4ED8, #FACC15);
    border-radius: 2px;
}

#advantages-security h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 1rem;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #1D4ED8, #FACC15);
    border-radius: 2px;
}

#advantages-security p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #374151;
    text-align: justify;
    position: relative;
    z-index: 2;
}

#advantages-security a {
    color: #1D4ED8;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

#advantages-security a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1D4ED8, #FACC15);
    transition: width 0.3s ease;
}

#advantages-security a:hover {
    color: #FACC15;
}

#advantages-security a:hover::after {
    width: 100%;
}

/* FAQ Section */
.faq-item {
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.faq-question {
    background: linear-gradient(135deg, #1D4ED8 0%, #1e40af 100%);
    color: #F3F4F6;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1D4ED8 100%);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    line-height: 1.7;
    color: #374151;
}

.faq-answer.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

/* Footer */
.footer {
    background-color: #000000;
    color: #F3F4F6;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #FACC15;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #F3F4F6;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle:hover {
    color: #FACC15;
}

.mobile-menu-toggle:focus {
    outline: 2px solid #FACC15;
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #000000;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        width: 100%;
        max-height: 0;
        overflow: hidden;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }
    
    .nav-menu a {
        padding: 1rem 2rem;
        border-bottom: 1px solid #374151;
        text-align: left;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-buttons {
        margin-left: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #374151;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .nav-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-width: 100px;
    }
    
    .logo img {
        height: 40px;
        max-width: 160px;
    }
    
    .hero {
        padding: 3rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .content-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 0;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .feature-card:hover {
        transform: translateY(-10px) scale(1.01);
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .feature-card p {
        font-size: 1rem;
    }
    
    .steps-container {
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .steps-container::before {
        left: 25px;
        width: 2px;
    }
    
    .step-item {
        padding: 1.5rem;
        margin-left: 1.5rem;
        gap: 1.5rem;
    }
    
    .step-item:hover {
        transform: translateX(5px);
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-left: -1.5rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    .steps-note {
        padding: 1.2rem 1.5rem;
        margin-top: 1.5rem;
    }
    
    #advantages-security h3 {
        font-size: 1.4rem;
        padding-left: 0.8rem;
    }
    
    #advantages-security h3::before {
        width: 3px;
    }
    
    #advantages-security h3::after {
        left: 0.8rem;
        width: 40px;
        height: 2px;
    }
    
    #advantages-security p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Accessibility */
.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;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid #FACC15;
    outline-offset: 2px;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #F3F4F6;
    border-radius: 50%;
    border-top-color: #1D4ED8;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Schema markup styling */
.schema-hidden {
    display: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1D4ED8 0%, #FACC15 100%);
    color: #000000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #FACC15 0%, #1D4ED8 100%);
}

.back-to-top:focus {
    outline: 2px solid #FACC15;
    outline-offset: 2px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top::before {
    content: '↑';
    font-size: 1.5rem;
    font-weight: bold;
}

/* Mobile responsive for back to top button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .back-to-top::before {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .content-section {
        padding: 1.5rem 1rem;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .features-grid {
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }
    
    .feature-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card h3::after {
        width: 30px;
    }
    
    .feature-card:hover h3::after {
        width: 45px;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    .steps-container {
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .steps-container::before {
        left: 20px;
        width: 2px;
    }
    
    .step-item {
        padding: 1.2rem;
        margin-left: 1rem;
        gap: 1rem;
        border-radius: 15px;
    }
    
    .step-item:hover {
        transform: translateX(3px);
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-left: -1rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .step-content h3::after {
        width: 25px;
        height: 2px;
    }
    
    .step-item:hover .step-content h3::after {
        width: 35px;
    }
    
    .step-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .steps-note {
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 12px;
    }
    
    .steps-note p {
        font-size: 0.9rem;
    }
    
    #advantages-security h3 {
        font-size: 1.2rem;
        padding-left: 0.6rem;
    }
    
    #advantages-security h3::before {
        width: 2px;
    }
    
    #advantages-security h3::after {
        left: 0.6rem;
        width: 30px;
        height: 2px;
    }
    
    #advantages-security p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .logo img {
        height: 35px;
        max-width: 140px;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top::before {
        font-size: 1.1rem;
    }
}

/* Game Slider Styles */
.game-slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 2rem;
    margin: 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #1D4ED8 #F3F4F6;
    position: relative;
    z-index: 2;
}

.game-slider::-webkit-scrollbar {
    height: 8px;
}

.game-slider::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 4px;
}

.game-slider::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #1D4ED8, #FACC15);
    border-radius: 4px;
}

.game-slider::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #FACC15, #1D4ED8);
}

.game-slider-item {
    flex: 0 0 auto;
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(29, 78, 216, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.game-slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, rgba(250, 204, 21, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.game-slider-item:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 15px 30px rgba(29, 78, 216, 0.2);
    border-color: rgba(250, 204, 21, 0.4);
}

.game-slider-item:hover::before {
    opacity: 1;
}

.game-slider-item img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    margin-bottom: 0.5rem;
}

.game-slider-item:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

/* Game Info Styling */
.game-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    color: #374151;
    padding: 1.2rem;
    border-radius: 0 0 20px 20px;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    backdrop-filter: blur(15px);
    border-top: 3px solid #FACC15;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
}

.game-slider-item:hover .game-info {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.game-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1D4ED8;
    margin-bottom: 0.8rem;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.game-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #1D4ED8, #FACC15);
    border-radius: 1px;
}

.game-description {
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
    color: #6B7280;
    margin: 0;
    font-weight: 500;
}

/* Game Slider Navigation Arrows */
.game-slider-container {
    position: relative;
    margin: 3rem 0;
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.03) 0%, rgba(250, 204, 21, 0.03) 100%);
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.game-slider-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1D4ED8 0%, #FACC15 50%, #1D4ED8 100%);
    background-size: 200% 100%;
    animation: gradientShift 4s ease-in-out infinite;
}

.game-slider-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.05) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    z-index: -1;
}

.game-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1D4ED8 0%, #FACC15 100%);
    color: #000000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-slider-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.game-slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.game-slider-nav.prev {
    left: -25px;
}

.game-slider-nav.next {
    right: -25px;
}

.game-slider-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.game-slider-nav:disabled:hover {
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Game Slider Indicators */
.game-slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.game-slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-slider-indicator.active {
    background: linear-gradient(135deg, #1D4ED8, #FACC15);
    transform: scale(1.2);
}

.game-slider-indicator:hover {
    background: #1D4ED8;
    transform: scale(1.1);
}

/* Game Slider Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.game-slider-item {
    animation: slideIn 0.6s ease-out;
}

.game-slider-item:nth-child(1) { animation-delay: 0.1s; }
.game-slider-item:nth-child(2) { animation-delay: 0.2s; }
.game-slider-item:nth-child(3) { animation-delay: 0.3s; }
.game-slider-item:nth-child(4) { animation-delay: 0.4s; }
.game-slider-item:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Game Slider */
@media (max-width: 768px) {
    .game-slider-container {
        margin: 2rem 0;
        padding: 1.5rem 0;
        border-radius: 20px;
    }
    
    .game-slider {
        gap: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .game-slider-item {
        width: 150px;
        height: 150px;
        border-radius: 15px;
    }
    
    .game-slider-item:hover {
        transform: translateY(-10px) scale(1.05);
    }
    
    .game-title {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .game-title::after {
        width: 25px;
        height: 2px;
    }
    
    .game-description {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .game-info {
        padding: 0.8rem;
        border-radius: 0 0 15px 15px;
        border-top: 2px solid #FACC15;
    }
    
    .game-slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .game-slider-nav.prev {
        left: -20px;
    }
    
    .game-slider-nav.next {
        right: -20px;
    }
}

@media (max-width: 480px) {
    .game-slider-container {
        margin: 1.5rem 0;
        padding: 1rem 0;
        border-radius: 15px;
    }
    
    .game-slider {
        gap: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    
    .game-slider-item {
        width: 120px;
        height: 120px;
        border-radius: 12px;
    }
    
    .game-slider-item:hover {
        transform: translateY(-8px) scale(1.03);
    }
    
    .game-title {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .game-title::after {
        width: 20px;
        height: 2px;
    }
    
    .game-description {
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    .game-info {
        padding: 0.6rem;
        border-radius: 0 0 12px 12px;
        border-top: 2px solid #FACC15;
    }
    
    .game-slider-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .game-slider-nav.prev {
        left: -17px;
    }
    
    .game-slider-nav.next {
        right: -17px;
    }
    
    .game-slider-indicators {
        gap: 0.3rem;
    }
    
    .game-slider-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Ripple Effect for Game Items */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(250, 204, 21, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
    z-index: 3;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
