/* ============================================
   APROKOMAN - Naija Gossip & Aproko Hub
   Base Styles - Gossip Magazine Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* Base Styles */
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #fdf6f0;
    margin: 0;
    padding: 0;
    color: #1a1a2e;
    line-height: 1.6;
}

/* ---- Header ---- */
.header {
    text-align: center;
    padding: 18px 15px;
    background: linear-gradient(135deg, #ff2d55 0%, #ff6b35 50%, #ffc233 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

/* ---- Navigation Menu ---- */
.menu {
    background: #1a1a2e;
    overflow: auto;
    border-bottom: 3px solid #ff2d55;
}

.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
}

.menu ul li {
    flex: 0 1 auto;
}

.menu ul li a {
    display: block;
    color: #e8e0d8;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Sora', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    position: relative;
}

.menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #ff2d55;
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

.menu ul li a:hover {
    background-color: rgba(255, 45, 85, 0.15);
    color: #ff6b35;
}

.menu ul li a:hover::after {
    width: 60%;
}

/* ---- Content Area ---- */
.content {
    width: 95%;
    max-width: 1200px;
    margin: 24px auto;
    padding: 24px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(26, 26, 46, 0.06), 0 0 0 1px rgba(26, 26, 46, 0.04);
    box-sizing: border-box;
    position: relative;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff2d55, #ff6b35, #ffc233, #ff2d55);
    background-size: 300% 100%;
    border-radius: 16px 16px 0 0;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ---- Form Container ---- */
.form-container {
    width: 95%;
    max-width: 440px;
    margin: 24px auto;
    padding: 32px 24px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(26, 26, 46, 0.08);
    text-align: center;
    box-sizing: border-box;
    border: 1px solid rgba(255, 45, 85, 0.1);
}

.form-container h2 {
    margin-bottom: 24px;
    font-size: 1.4rem;
    color: #1a1a2e;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

.form-container form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-container label {
    margin-bottom: 6px;
    color: #4a4a6a;
    text-align: left;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-container input[type="text"],
.form-container input[type="password"],
.form-container input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 2px solid #e8e0d8;
    border-radius: 10px;
    box-sizing: border-box;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fdf6f0;
}

.form-container input[type="text"]:focus,
.form-container input[type="password"]:focus,
.form-container input[type="email"]:focus {
    border-color: #ff2d55;
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 45, 85, 0.12);
    background: #ffffff;
}

.form-container input[type="submit"] {
    padding: 12px;
    color: white;
    background: linear-gradient(135deg, #ff2d55, #ff6b35);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(255, 45, 85, 0.3);
}

.form-container input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 45, 85, 0.4);
    filter: brightness(1.05);
}

.form-container input[type="submit"]:active {
    transform: translateY(0);
}

/* ---- Error Messages ---- */
.error {
    color: #ff2d55;
    margin-bottom: 20px;
    font-weight: 500;
    padding: 10px 14px;
    background: rgba(255, 45, 85, 0.08);
    border-radius: 8px;
    border-left: 4px solid #ff2d55;
}

/* ---- Links ---- */
a {
    color: #ff2d55;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #ff6b35;
    text-decoration: none;
}

/* ---- Blue Tick ---- */
.blue-tick {
    color: #1DA1F2;
    font-size: 14px;
    margin-left: 5px;
    vertical-align: middle;
}

/* ---- Ad Container ---- */
.ad-container {
    margin: 20px auto;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, rgba(255,45,85,0.03), rgba(255,107,53,0.03));
    border-radius: 12px;
    border: 1px dashed rgba(255, 45, 85, 0.15);
}

.ad-container img {
    width: 318px;
    height: 106px;
    border-radius: 8px;
}

/* ---- Responsive Styles ---- */
@media (min-width: 768px) {
    .content {
        width: 85%;
        margin: 28px auto;
    }

    .form-container {
        width: 80%;
        max-width: 600px;
    }
}

@media (min-width: 1024px) {
    .content, .form-container {
        width: 75%;
    }

    .menu ul li a {
        padding: 12px 22px;
    }
}

/* ---- Selection Color ---- */
::selection {
    background: rgba(255, 45, 85, 0.2);
    color: #1a1a2e;
}

/* ---- Scrollbar Styling ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf6f0;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff2d55, #ff6b35);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff2d55;
}
