* {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Sofia Sans', sans-serif;
    background: linear-gradient(135deg, #b8cedc 0%, #ffccee 100%);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    align-items: center;
    text-align: center;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(184, 206, 220, 0.3);
    padding: 5px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 55px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #184363;
}

nav.desktop-nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

nav.desktop-nav a {
    text-decoration: none;
    color: #184363;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav.desktop-nav a:hover {
    background: #f0f7ff;
    color: #4c6ef5;
}

.mobile-menu-btn {
    display: none;
    background: linear-gradient(135deg, #ffccee 30%, #b8cedc 100%);
    border: none;
    font-weight: 500;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #184363;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(76, 110, 245, 0.3);
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(76, 110, 245, 0.4);
    background: linear-gradient(135deg, #b8cedc 0%, #ffccee 70%);
}

.mobile-menu-btn:active {
    transform: scale(0.99);
    box-shadow: 0 2px 8px rgba(76, 110, 245, 0.3);
}

.mobile-nav {
    display: none;
    background: linear-gradient(135deg, rgba(247, 250, 252, 0.97) 60%, rgba(255, 204, 238, 0.97) 100%);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    border-radius: 0px 0px 25px 25px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #184363;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background: #f0f7ff;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    width: 100%;
}

.nav-button {
    position: absolute;
    top: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.nav-button-right{
    right: 10px;
}

.nav-button-left{
    left: 10px;
}        

.nav-button:hover {
    transform: scale(1.1);
} 

.footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 25px 20px;
    color: #4a5568;
    font-size: 15px;
    width: 100%;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    text-align: left;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin-bottom: 10px;
}

.footer-section h3 {
    color: #184363;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 2px;
    word-wrap: break-word;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 2px;
}

.footer-section a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.footer-section a:hover {
    color: #4c6ef5;
}

.ad-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.ad-container-content{
    width: 100%;
    height: 250px;
    background: #f5f5f5;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #718096;
}
.footer-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #a0aec0;
    flex-wrap: wrap
}

.footer-meta a {
    color: inherit;
    text-decoration: none;
}

.footer-meta a:hover {
    color: #4c6ef5;
}

.footer-terms {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #718096;
    flex-wrap: wrap
}

.footer-terms a {
    color: inherit;
    text-decoration: none;
}

.footer-terms a:hover {
    color: #4c6ef5;
}  

@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .logo-text {
        display: none; /* Hide logo text on mobile */
    }
    
    .header-content {
        padding: 0 15px; /* Reduce padding on mobile */
    }
    
    .main-content {
        padding: 15px;
    }    
}

@media (max-width: 480px) {
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex; /* Ensure it shows on small mobile too */
    }
    
    .footer-section h3 {
        font-size: 15px;
    }

    .footer-section {
        font-size: 14px;
    }
    
    .ad-container {
        overflow-x: auto;
        width: 100%;
    }
    .footer-meta {
        font-size: 12px;
        gap: 5px;
        justify-content: center; /* Center on mobile */
    }
    
    .footer-top {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}