/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
}

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

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-left: auto;
    padding-left: 100px;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a:hover img {
    transform: scale(1.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #3498db, #5dade2);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('http://213.199.53.123/gfinfinity/assets/c0d81780-918e-4921-881b-9f3ef81d879e-1.png') center/cover no-repeat;
    opacity: 0.4;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/gfinfinity/assets/footer-1.png') center/cover no-repeat;
    opacity: 0.6;
    z-index: 1;
    transform: scaleX(-1);
}

.hero-background {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    height: 70vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 50px;
}

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

.character-container {
    position: absolute;
    top: 10%;
    left: 60%;
    transform: translate(-50%, -50%);
    z-index: 1;
}


.hero-character {
    width: 1500px;
    height: auto;
    filter: brightness(0.9);
    transform: scale(1.2);
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 0px;
    color: #ffffff;
    position: relative;
    z-index: 4;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0px;
    color: #e3f2fd;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 4;
}

.hero-button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 4;
}

.hero-button:hover {
    transform: scale(1.05);
}

.play-button {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.play-text {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-titledark {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
}

.title-decoration {
    display: block;
    margin: 0 auto 50px;
    max-width: 300px;
    height: auto;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.news-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e3f2fd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
}

.news-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.news-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-date {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
    background: #f0f0f0;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image {
    transform: scale(1.05);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-item h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Classes Section */
.classes-section {
    padding: 0px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    max-height: 1200px;
}

.classes-carousel {
    margin-top: 60px;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.carousel-slide {
    display: none;
    padding: 40px;
    transition: all 0.5s ease;
}

.carousel-slide.active {
    display: block;
}

.class-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.class-image {
    text-align: center;
}

.class-image img {
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

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

.class-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 5.5rem;
    margin-bottom: 0px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.class-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e3f2fd;
}

.class-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat {
    font-size: 1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 12px 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    gap: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #3498db;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo h3 {
    font-family: 'Cinzel', serif;
    color: #3498db;
    font-size: 1.5rem;
    margin: 0;
}

.footer-section p {
    line-height: 1.6;
    color: #bdc3c7;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: #3498db;
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #3498db;
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.server-status,
.server-players,
.server-uptime {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #bdc3c7;
}

.status-online {
    font-size: 0.8rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    margin-bottom: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-content p {
    margin: 0;
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #3498db;
}

/* Responsividade Footer */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Form Styles for Auth Pages */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-help {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.checkbox-label a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 15px;
    }

    .nav-container {
        flex-direction: column;
        gap: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-container {
        grid-template-columns: 1fr;
    }

    .feature-item, .news-item {
        padding: 25px;
    }

    .hero-character {
        max-width: 600px;
    }

    .class-content {
        grid-template-columns: 15fr;
        text-align: center;
        gap: 300px;
    }

    .class-image img {
        max-width: 200px;
    }

    .class-info h3 {
        font-size: 2rem;
    }

    .play-button {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-item, .news-item {
        padding: 20px;
    }

    .hero-character {
        max-width: 500px;
    }

    .carousel-slide {
        padding: 20px;
    }

    .class-image img {
        max-width: 150px;
    }

    .class-info h3 {
        font-size: 1.5rem;
    }

    .carousel-btn {
        padding: 8px 15px;
        font-size: 1.2rem;
    }
}

/* ============ NEW AUTH LAYOUT STYLES ============ */

/* Auth Toggle Buttons */
.auth-toggle {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.9) 0%, rgba(93, 173, 226, 0.9) 100%);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.toggle-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.toggle-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 30px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    text-transform: uppercase;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.toggle-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Main Auth Section */
.auth-section {
    min-height: calc(100vh - 160px);
    position: relative;
    overflow: hidden;
}

.auth-background {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    min-height: calc(100vh - 160px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.3) 60%,
        transparent 100%
    );
    z-index: 1;
}

/* Left Side - Form */
.auth-left {
    width: 50%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.auth-form-container {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-btn {
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
    border: none;
    color: white;
    padding: 15px 30px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

/* Right Side - Character */
.auth-right {
    width: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('/gfinfinity/assets/c0d81780-918e-4921-881b-9f3ef81d879e-1.png') center/cover no-repeat;
}

.character-display {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-character {
    display: none;
}

/* Responsive Design for Auth Layout */
@media (max-width: 1024px) {
    .auth-background {
        flex-direction: column;
    }

    .auth-left, .auth-right {
        width: 100%;
    }

    .auth-left {
        order: 1;
        min-height: auto;
        padding: 20px;
        background: rgba(0, 0, 0, 0.1);
    }

    .auth-right {
        order: 2;
        height: 200px;
        opacity: 0.5;
    }

    .auth-form-container {
        position: relative;
        z-index: 2;
        background: rgba(255, 255, 255, 0.98);
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .toggle-buttons {
        gap: 10px;
    }

    .toggle-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .auth-left {
        padding: 15px;
    }

    .auth-form-container {
        padding: 25px;
    }

    .auth-header h1 {
        font-size: 2rem;
    }

    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .auth-header h1 {
        font-size: 1.8rem;
    }

    .auth-form-container {
        padding: 20px;
        margin: 10px;
    }

    .toggle-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}