* {
    box-sizing: border-box;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease,
        box-shadow 0.25s ease, backdrop-filter 0.35s ease;
}

/* BODY – flex kaldırıldı, footer artık alta iner */
body {
    margin: 0;
    padding: 0;
    padding-top: 70px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
    background: var(--bg);
    min-height: 100vh;
    position: relative;
    /* overflow: hidden; */
    /* Kaydırmayı engellediği için kaldırıldı */
    color: var(--text-main);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Üstten başlaması için */
    align-items: center;
}

/* CONTAINER */
.container {
    width: 92%;
    max-width: 660px;
    text-align: center;
    background: var(--bg-panel);
    padding: 36px 30px 32px;
    border-radius: var(--ios-radius);
    box-shadow: var(--glass-shadow);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--bg-panel-border);
    position: relative;
    z-index: 1;
    margin-bottom: 80px;
}

/* LANGUAGE + THEME SWITCH */
.lang-switch,
.theme-switch {
    position: absolute;
    top: 16px;
    font-size: 13px;
    z-index: 2;
}

.lang-switch {
    right: 22px;
}

.theme-switch {
    left: 22px;
}

.lang-switch a,
.theme-switch select {
    color: var(--text-muted);
    background: transparent;
    border: none;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.theme-switch select {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background-color: rgba(15, 23, 42, 0.02);
}

.theme-switch select:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.8);
}

/* ÜST BAR */
.top-bar {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.top-logo {
    width: 32px;
    height: 32px;
}

/* FOOTER */
.rfk-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56px;

    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;
    font-size: 13px;
    color: var(--text-muted);
}