/* Reset e configurações básicas */
@font-face {
    font-family: 'CamptonExtraBold';
    src: url('../fonts/CamptonExtraBold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Botão de voltar ao menu */
.back-to-menu-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-to-menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, #ff5252, #e53935);
}

.back-to-menu-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

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

body {
    font-family: 'CamptonExtraBold', 'Poppins', sans-serif;
    background-image: url('../images/bg-caca.png');
    background-size: contain;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.home-container {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    gap: 48px;
    padding: 20px 12px;
    margin-top: -400px;
}

.iel-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.iel-logo-img {
    height: auto;
    width: 900px;
}

.logo-grid-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.caça-palavras-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0;
}

.caça-palavras-grid .grid-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.caça-palavras-grid .grid-row span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    font-size: 6rem;
    font-weight: bold;
    color: #fff;
    font-family: 'CamptonExtraBold', sans-serif;
    padding: 0;
    padding-top: 13px;
    text-align: center;
    line-height: 0.5;
    margin: 0;
    vertical-align: middle;
    position: relative;
    transition: all 0.2s ease;
    background:#0283C7;
}

.caça-palavras-grid .grid-row span::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.caça-palavras-grid .grid-row .light-blue {
    background: #45B919;
}

.caça-palavras-grid .grid-row .light-blue:hover {
    color: #fff;
    transform: scale(1.02);
    transition: all 0.2s ease;
}

.caça-palavras-grid .grid-row .white:hover {
    color: #00BFFF;
    transform: scale(1.02);
    transition: all 0.2s ease;
}

.play-btn {
    background: #45B919;
    color: #fff;
    border: none;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 10px;
    border-radius: 15px;
    font-size: 5rem;
    font-weight: bold;
    font-family: 'CamptonExtraBold', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(66, 192, 240, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
}

.play-btn:hover {
    background: #34A8D8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(66, 192, 240, 0.4);
}

.home-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.home-logo {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 6px 18px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    position: relative;
    align-self: flex-start;
}
.logo-icon {
    font-size: 2rem;
}
.logo-text {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.home-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.home-subtitle {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 400;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.start-btn {
    background: #fff;
    color: #5a60e6;
    border: none;
    padding: 18px 48px;
    border-radius: 40px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 8px 24px rgba(90, 96, 230, 0.10);
    letter-spacing: 1px;
    border: 2px solid #5a60e6;
}
.start-btn:hover {
    background: linear-gradient(45deg, #5a60e6, #43e6c2);
    color: #fff;
    border: 2px solid #5a60e6;
    box-shadow: 0 12px 32px rgba(90, 96, 230, 0.18);
}

.home-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.word-grid-illustration {
    background: rgba(255,255,255,0.85);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.grid-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.grid-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.grid-row .highlight {
    background: linear-gradient(45deg, #5a60e6, #43e6c2);
    color: #fff;
}

@media (max-width: 900px) {
    .back-to-menu-btn {
        top: 15px !important;
        left: 15px !important;
        padding: 10px 16px !important;
        font-size: 14px !important;
    }
    
    .home-content {
        gap: 32px;
        padding: 16px 6px;
    }
}

@media (max-width: 600px) {
    .back-to-menu-btn {
        top: 10px !important;
        left: 10px !important;
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    
    .home-title {
        font-size: 2.1rem;
    }
    .home-content {
        padding: 8px 2px;
    }
    .iel-logo-img {
        height: 180px;
    }
    .caça-palavras-grid .grid-row span {
        width: 95px;
        height: 95px;
        font-size: 4.8rem;
    }
    .play-btn {
        padding: 10px 16px;
        font-size: 4rem;
        letter-spacing: 1px;
    }
    .word-grid-illustration {
        padding: 18px 10px;
    }
    .grid-row span {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }
    .start-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
} 