/* ============================================================
   landing.css — Entry page styles
   ============================================================ */

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

html, body {
    height: 100%;
    font-family: 'Signika', 'Segoe UI', sans-serif;
    color: #fff;
    overflow-x: hidden;
}

/* ----------------------------------------------------------
   Full-page layout
   ---------------------------------------------------------- */

#te-landing {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ----------------------------------------------------------
   Title bar
   ---------------------------------------------------------- */

#te-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 95px;
    background: #222222;
    z-index: 10;
    flex-shrink: 0;
}

/* Zynga logo — red tile on the left */
#te-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d32f2f;
    height: 100%;
    padding: 0px 100px;
    text-decoration: none;
}

#te-zynga-logo {
    height: 70px;
    width: auto;
    display: block;
}

/* ----------------------------------------------------------
   Profile / Connect with Facebook button
   ---------------------------------------------------------- */

.te-profile-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 14px 18px;
    margin-right: 32px;
    border-radius: .25rem;
    background: #1877f2;
    transition: background 0.2s;
    user-select: none;
    border: none;
    outline: none;
}

.te-profile-wrapper:hover {
    background: #1464d3;
}

/* Facebook icon inside the button */
.te-fb-icon {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
    filter: brightness(0) invert(1); 
}

.te-login-label {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    white-space: nowrap;
}

.te-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.7);
}

.te-display-name {
    font-size: 0.9rem;
    font-weight: 600;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #222222;
}

.te-dropdown-content {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    min-width: 130px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 100;
    overflow: hidden;
}

.te-dropdown-content a {
    display: block;
    padding: 12px 18px;
    font-size: 0.85rem;
    color: #333333;
    text-decoration: none;
    transition: background 0.15s;
}

.te-dropdown-content a:hover {
    background: #f0f0f0;
    color: #000000;
}

/* ----------------------------------------------------------
   Hero area (background image + play button)
   ---------------------------------------------------------- */

#te-hero {
    min-height: calc(100vh - 95px);
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: flex-start;*/
    /*padding: 32vh 24px 60px;*/
    justify-content: center;
    padding-top: 32vh;
    background-color: #1a5a8a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    gap: 40px;
}

/* Subtle dark overlay so the play button reads clearly */
#te-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.te-play-button {
    position: relative;
    z-index: 1;
    padding: 12px 62px 24px;
    font-family: 'Signika', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #fff;
    background-color: transparent;
    border: none;
    border-radius: .25rem;
    cursor: pointer;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .5);
    transition: transform 0.15s, box-shadow 0.15s;
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
    background-image: url('../assets/logos/button.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.te-play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 32px rgba(0,0,0,0.45), 0 3px 8px rgba(0,0,0,0.3);
}

.te-play-button:active {
    transform: scale(0.98);
}

/* ----------------------------------------------------------
   Mobile block overlay (desktop-only gate)
   ---------------------------------------------------------- */

.te-mobile-block {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #1a5a8a;
    z-index: 1000;
}

.te-mobile-block-card {
    max-width: 420px;
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    padding: 40px 28px;
}

.te-mobile-block-logo {
    height: 48px;
    width: auto;
    margin-bottom: 24px;
}

.te-mobile-block-card h1 {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.te-mobile-block-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #e6eef4;
}

.te-mobile-block-card p:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------------------------
   Content section (body text + social icons)
   ---------------------------------------------------------- */

#te-content {
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.te-body-text {
    max-width: 860px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.te-body-text a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.15s;
}

.te-body-text a:hover {
    color: #ffffff;
}

.te-social-list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.te-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.te-social-link:hover {
    opacity: 1;
}

.te-social-link img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */

/* Layout mirrors farmville.com: Zynga mark (left) + legal links that stack on
   mobile and flow into a row on desktop, followed by the trademark copy. */
#te-footer {
    flex-shrink: 0;
    background: #222c37;
}

.te-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px 48px;
}

.te-footer-logo {
    width: 80px;
    height: 80px;
    max-width: 5rem;
    max-height: 5rem;
    flex: none;
    object-fit: contain;
}

.te-footer-body {
    width: 100%;
    margin-top: 16px;
}

/* Nav link list */
.te-footer-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}

.te-footer-list li {
    margin-top: 8px;
    text-align: center;
}

.te-footer-list a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.5;
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

.te-footer-list a:hover {
    color: #ffffff;
}

.te-footer-list #ot-sdk-btn.ot-sdk-show-settings {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.te-footer-list #ot-sdk-btn.ot-sdk-show-settings:hover {
    background: none;
    color: #ffffff;
}

/* Trademark / copyright copy */
.te-footer-legal p {
    margin: 0 0 6px;
    font-size: 0.688rem;
    line-height: 1.5;
    letter-spacing: 0.05rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

@media (min-width: 768px) {
    .te-footer-inner {
        flex-direction: row;
        align-items: flex-start;
    }

    .te-footer-body {
        margin: 0 48px;
    }

    .te-footer-list {
        flex-direction: row;
        margin-left: -24px;
    }

    .te-footer-list li {
        margin-left: 24px;
        text-align: left;
    }

    .te-footer-legal p {
        text-align: left;
    }
}
