/* ================= BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #111;
    overflow-x: hidden;
}

/* ================= ANNOUNCEMENT BAR ================= */
.announcement-bar {
    width: 100%;
    background-color: #ff4d4d;
    color: #fff;
    font-weight: bold;
    overflow: hidden;
}

.announcement-track {
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 10s linear infinite;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ================= TOP BAR ================= */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar .app-title {
    font-size: 1.4rem;
    font-weight: bold;
}

.top-bar .burger-btn,
.top-bar .top-action {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.top-bar img {
    width: 24px;
    height: 24px;
}

/* ================= BURGER MENU ================= */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 90;
}

.mobile-menu-overlay.show { display: block; }

.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: #fff;
    z-index: 100;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
}

.mobile-menu.open { left: 0; }

.mobile-menu .close-menu {
    align-self: flex-end;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 30px;
}

.mobile-menu ul li {
    margin: 15px 0;
}

.mobile-menu ul li a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    color: #111;
    transition: color 0.2s;
}

.mobile-menu ul li a:hover {
    color: #ff4d4d;
}

.burger-socials {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.burger-socials img {
    width: 30px;
    height: 30px;
}

.burger-email {
    margin-top: 20px;
}

.burger-email input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* ================= PROFILE HEADER ================= */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.profile-media {
    position: relative;
    width: 300px;
    max-width: 90%;
}

.profile-media img.profile-img {
    width: 100%;
    border-radius: 10px;
}

.photo-progress {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 10px;
    width: 100%;
    padding: 0 5px;
}

.photo-progress .line {
    flex: 1;
    height: 4px;
    margin: 0 1px;
    background-color: #ccc;
    border-radius: 2px;
    transition: background-color 0.3s;
}

.photo-progress .line.active {
    background-color: #ff4d4d;
}

.photo-count {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-weight: bold;
    background: rgba(0,0,0,0.4);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.photo-description {
    margin-top: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #333;
}

/* ================= PROFILE MAIN ================= */
.profile-main {
    margin-top: 15px;
    text-align: center;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.profile-meta {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

/* ================= ACTION BUBBLES ================= */
.profile-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

.action-bubble {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background-color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.action-bubble:hover {
    border-color: #ff4d4d;
}

/* ================= PROFILE BIO ================= */
.profile-bio {
    max-width: 500px;
    margin: 0 auto 30px auto;
    text-align: center;
}

.profile-bio h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.profile-bio ul {
    list-style: none;
    margin-top: 10px;
}

.profile-bio li {
    margin: 5px 0;
}

/* ================= SOCIALS ================= */
.profile-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.profile-socials img {
    width: 32px;
    height: 32px;
}

/* ================= ADS PLACEHOLDER ================= */
.ads-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.ad-placeholder {
    width: 300px;
    height: 100px;
    background-color: #e0e0e0;
    border: 1px dashed #999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
}

/* ================= FOOTER ================= */
.app-footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #ccc;
}

.app-footer a {
    color: #111;
    text-decoration: none;
}

.app-footer a:hover {
    color: #ff4d4d;
}

/* ================= ARROWS ================= */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow.left { left: 5px; }
.arrow.right { right: 5px; }

.arrow:hover {
    background-color: #ff4d4d;
    color: #fff;
}

/* ================= SPLASH / CHARGING ================= */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 77, 77, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    overflow: hidden;
}

#splash-screen h1 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.emoji-float {
    position: absolute;
    font-size: 1.2rem;
    animation: floatUp 3s linear infinite;
    user-select: none;
}

@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-200px) rotate(360deg); opacity: 0; }
}
