/* Main CSS for GnoKids Web App */
/* Brand colors for GnoKids */
.gno-green {
    color: #2B906D;
}
.kids-pink {
    color: #EA6C92;
}

body {
    font-family: 'Poppins', 'Comic Sans MS', cursive, sans-serif;
    font-weight: 400;
    background-color: #F8F8F8;
    min-height: 100vh;
    padding: 1rem 1.5rem;
}

/* Wider container for single-line h1 */
.container {
    max-width: 752px;
    margin: 0 auto;
    text-align: center;
}

.title {
    color: #2c2b2b;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    position: relative;
    transform: rotate(0deg);
}

.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80%;
    height: 4px;
    background: #FBC800;
    border-radius: 50px;
    transform: translateX(-50%) rotate(0deg);
    opacity: 0.7;
}

.subtitle {
    color: #35424a;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.form-button {
    width: 100%;
    max-width: 28rem;
    height: 4rem;
    margin: 0 auto;
    color: #FFFFFF;
    border: 3px solid #1A1A1A;
    font-size: 1.125rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Individual button styles */
.homework-btn {
    background-color: #7DBEE9;
    border-radius: 35px 35px 35px 35px;
    transform: rotate(0deg) scale(1);
    box-shadow: 4px 4px 0px #1A1A1A, 8px 8px 15px rgba(0,0,0,0.1);
}

.homework-btn:hover {
    background-color: #2885CD;
    transform: rotate(0deg) scale(1.05);
    box-shadow: 6px 6px 0px #1A1A1A, 12px 12px 20px rgba(0,0,0,0.15);
}

.phonics-btn {
    background-color: #FCCB00;
    border-radius: 35px 35px 35px 35px;
    transform: rotate(0deg) scale(1);
    box-shadow: 4px 4px 0px #1A1A1A, 8px 8px 15px rgba(0,0,0,0.1);
}

.phonics-btn:hover {
    background-color: #F7B100;
    transform: rotate(0deg) scale(1.05);
    box-shadow: 6px 6px 0px #1A1A1A, 12px 12px 20px rgba(0,0,0,0.15);
}

.vocabulary-btn {
    background-color: #E6409D;
    border-radius: 35px 35px 35px 35px;
    transform: rotate(0deg) scale(1);
    box-shadow: 4px 4px 0px #1A1A1A, 8px 8px 15px rgba(0,0,0,0.1);
}

.vocabulary-btn:hover {
    background-color: #DD007E;
    transform: rotate(0deg) scale(1.05);
    box-shadow: 6px 6px 0px #1A1A1A, 12px 12px 20px rgba(0,0,0,0.15);
}

.ondoku-btn {
    background-color: #B4D100;
    border-radius: 35px 35px 35px 35px;
    transform: rotate(0deg) scale(1);
    box-shadow: 4px 4px 0px #1A1A1A, 8px 8px 15px rgba(0,0,0,0.1);
}

.ondoku-btn:hover {
    background-color: #8DC220;
    transform: rotate(0deg) scale(1.05);
    box-shadow: 6px 6px 0px #1A1A1A, 12px 12px 20px rgba(0,0,0,0.15);
}

/* Hand-drawn texture overlay */
.form-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.1) 2px,
        rgba(255,255,255,0.1) 4px
    );
    opacity: 0.1;
    pointer-events: none;
}

/* Button text */
.form-button span {
    position: relative;
    z-index: 10;
}

/* Decorative dots */
.form-button::after {
    content: '';
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    width: 0.5rem;
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.form-button .dot-left {
    position: absolute;
    bottom: 0.75rem;
    left: 1rem;
    width: 0.375rem;
    height: 0.375rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 5;
}

/* Decorative elements */
.decorative-dots {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    opacity: 0.3;
}

.dot:nth-child(1) {
    background-color: #FF6B6B;
    transform: rotate(0deg) translateY(-2px);
}

.dot:nth-child(2) {
    background-color: #4ECDC4;
    transform: rotate(45deg) translateY(-2px);
}

.dot:nth-child(3) {
    background-color: #45B7D1;
    transform: rotate(90deg) translateY(-2px);
}

/* Responsive design */
@media (max-width: 640px) {
    .title {
        font-size: 2rem;
    }
    
    .form-button {
        height: 3.5rem;
        font-size: 1rem;
    }
}

/* Fun hover animations for decorative dots */
/*.decorative-dots .dot {
    transition: transform 0.3s ease;
}

.decorative-dots:hover .dot:nth-child(1) {
    animation: bounce1 0.6s ease infinite alternate;
}

.decorative-dots:hover .dot:nth-child(2) {
    animation: bounce2 0.6s ease infinite alternate;
    animation-delay: 0.2s;
}

.decorative-dots:hover .dot:nth-child(3) {
    animation: bounce3 0.6s ease infinite alternate;
    animation-delay: 0.4s;
}

@keyframes bounce1 {
    to { transform: rotate(0deg) translateY(-8px); }
}

@keyframes bounce2 {
    to { transform: rotate(45deg) translateY(-8px); }
}

@keyframes bounce3 {
    to { transform: rotate(90deg) translateY(-8px); }
} */

footer {
    background: #FFFFFF;
    color: #1e1e1e;
    text-align: center;
    padding: 6px 0;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    font-size: 1em;
    letter-spacing: 1px;
    box-shadow: 0 -2px 8px rgba(228, 0, 127, 0.10);
    border-top: 4px solid #333131;
}

.uc-flex-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0rem;
    margin-top: 0rem;
}

.uc-back-btn {
    margin: 0 0 0 0; /* Example: only left margin */
    /* Or set any margin you want */
}