/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Cinzel', serif;
    color: #f4e8c1;
    background: linear-gradient(to bottom, #1a1a1a, #2c2c2c);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://firebasestorage.googleapis.com/v0/b/to-be-a-1af1b.firebasestorage.app/o/login2.png?alt=media&token=fc5689f5-18f4-4818-a884-9fd043c864f2') no-repeat center center/cover;
    position: relative;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.logo {
    max-height: 120px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 48px);
    color: #ffd166;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.hero p {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 30px;
}

/* Button Group */
.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 20px 0;
}

/* Play Now Button */
.play-now-button {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.play-now-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #218838, #28a745);
}

.play-now-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Wiki Button */
.wiki-button {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.wiki-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #495057, #6c757d);
}

.wiki-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Download App Button */
.download-app-button {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.download-app-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #0056b3, #007bff);
}

.download-app-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Seções de funcionalidades */
.feature-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.9));
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-content {
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.feature-text {
    flex: 1;
    padding: 20px;
}

.feature-text h2 {
    font-size: clamp(24px, 4vw, 32px);
    color: #ffd166;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
}

.feature-text p {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(14px, 2.5vw, 18px);
    line-height: 1.6;
}

.feature-section img {
    flex: 1;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.feature-section img:hover {
    transform: scale(1.03);
}

.reverse {
    background: linear-gradient(to bottom, rgba(40, 40, 40, 0.9), rgba(30, 30, 30, 0.9));
}

.reverse .feature-content {
    flex-direction: row-reverse;
}

/* Call-to-Action Section */
.cta-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(to bottom, #2c2c2c, #1a1a1a);
}

.cta-section h2 {
    font-size: clamp(28px, 5vw, 36px);
    color: #ffd166;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.cta-section p {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 30px;
}

/* Footer */
footer {
    padding: 40px 20px;
    text-align: center;
    background: #1a1a1a;
}

footer p {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(12px, 2vw, 14px);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
    }

    .logo {
        max-height: 100px;
    }

    .hero h1 {
        font-size: clamp(24px, 5vw, 36px);
    }

    .hero p {
        font-size: clamp(14px, 2.5vw, 16px);
    }

    .button-group {
        flex-direction: column;
        gap: 12px;
    }

    .play-now-button, .wiki-button, .download-app-button {
        width: auto;
        padding: 10px 20px;
        border-radius: 8px;
    }

    .feature-content {
        flex-direction: column;
        gap: 20px;
    }

    .feature-section img {
        max-width: 100%;
    }

    .reverse .feature-content {
        flex-direction: column;
    }

    .feature-text h2 {
        font-size: clamp(20px, 4vw, 28px);
    }

    .feature-text p {
        font-size: clamp(12px, 2.5vw, 16px);
    }

    .cta-section h2 {
        font-size: clamp(24px, 4vw, 32px);
    }

    .cta-section p {
        font-size: clamp(14px, 2.5vw, 18px);
    }
}

@media (max-width: 480px) {
    .hero {
        height: 70vh;
    }

    .logo {
        max-height: 80px;
    }

    .hero h1 {
        font-size: clamp(20px, 4vw, 28px);
    }

    .hero p {
        font-size: clamp(12px, 2vw, 14px);
    }

    .play-now-button, .wiki-button, .download-app-button {
        padding: 8px 16px;
        font-size: clamp(12px, 2vw, 14px);
        width: auto;
    }

    .feature-section {
        padding: 40px 10px;
    }

    .feature-text h2 {
        font-size: clamp(18px, 3.5vw, 24px);
    }

    .feature-text p {
        font-size: clamp(12px, 2vw, 14px);
    }
}