:root {
    --bg1: #0b0b0e;
    --bg2: #141420;
    --surface: #16161a;
    --accent: #f79904;
    --accent2: #f79a04af;
    --text: #f2f2f4;
    --muted: #9a9aa0;
    --radius: 16px;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {

    th,
    td {
        padding: 8px 6px;
        font-size: 0.85rem;
    }
}

html,
body {
    overflow-x: hidden;
    /* sağa sola kaymayı engelle */
    overflow-y: auto;
    /* dikey scroll dursun */

}

/* Chrome, Safari, Edge için */
::-webkit-scrollbar {
    display: none;
}

/* Firefox için */
html {
    scrollbar-width: none;
    /* scrollbar gizle */
}

/* IE ve eski Edge için */
body {
    -ms-overflow-style: none;
}

body {
    display: block;
    padding-top: 100px;
    padding-bottom: 100px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: linear-gradient(120deg, var(--bg1), var(--bg2), #0f0f15);
    background-size: 300% 300%;
    animation: bgmove 30s ease infinite;
}

::-webkit-scrollbar {
    display: none;
}

@keyframes bgmove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Side menu */
.sidemenu {
    width: 220px;
    min-height: 100vh;
    background: var(--surface);
    position: sticky;
    top: 0;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.sidemenu h2 {
    font-size: 1.2rem;
    margin-bottom: 1em;
    background: linear-gradient(90deg, var(--accent2), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidemenu a {
    color: var(--text);
    margin: 4px 0;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.sidemenu a:hover {
    background: rgba(76, 201, 240, 0.1);
    color: var(--accent2);
}

/* Main content */
.content {
    flex: 1;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
}

h1,
h2,
h3 {
    line-height: 1.3;
    font-weight: 700;
    margin: 1.2em 0 0.6em;
    background: linear-gradient(90deg, var(--accent2), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 {
    font-size: 2rem;
    text-align: center;
    margin-top: 0.5em;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1em;
    color: var(--text);
}

.card {
    background: var(--surface);
    padding: 20px 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 1.5em 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 12px var(--accent2);
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--surface);
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    color: var(--muted);
    font-size: 0.9rem;
}

footer a {
    color: var(--accent2);
    margin: 0 8px;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
    body {
        flex-direction: column;
    }

    .sidemenu {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        min-height: auto;
    }

    .sidemenu h2 {
        display: none;
    }

    .sidemenu a {
        flex: 1;
        text-align: center;
    }
}

.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    margin: .3em .2em;
    text-decoration: none;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(90deg, var(--accent2), var(--accent));
    color: #fff;
    box-shadow: 0 4px 12px rgba(76, 201, 240, .25);
}

.btn-primary:hover {
    box-shadow: 0 0 16px var(--accent2);
    transform: translateY(-2px);
}

/* Secondary Button */
.btn-secondary {
    background: var(--surface);
    color: var(--accent2);
    border: 2px solid var(--accent2);
}

.btn-secondary:hover {
    background: var(--accent2);
    color: #fff;
    box-shadow: 0 0 12px var(--accent2);
}

/* Hashtag Button */
.btn-hashtag {
    background: rgba(76, 201, 240, 0.1);
    color: var(--accent2);
    border: 1px solid var(--accent2);
    border-radius: 50px;
    padding: 4px 10px;
    font-size: 0.9rem;
}

.btn-hashtag:hover {
    background: var(--accent2);
    color: #fff;
    box-shadow: 0 0 10px var(--accent2);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    padding: 12px 24px;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    height: 36px;
    width: auto;
    border-radius: 6px;
}

.brand span {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent2), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: var(--surface);
}

th {
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    color: var(--accent2);
    border-bottom: 2px solid var(--accent);
}

td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

tr:hover td {
    background: rgba(76, 201, 240, 0.08);
    box-shadow: inset 0 0 10px rgba(76, 201, 240, 0.2);
}

caption {
    text-align: left;
    padding: 10px 0;
    font-weight: 600;
    color: var(--accent2);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}

/* Masaüstü */
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

thead {
    background: var(--surface);
}

th {
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    color: var(--accent2);
    border-bottom: 2px solid var(--accent);
}

td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

tr:hover td {
    background: rgba(76, 201, 240, 0.08);
    box-shadow: inset 0 0 10px rgba(76, 201, 240, 0.2);
}

caption {
    text-align: left;
    padding: 10px 0;
    font-weight: 600;
    color: var(--accent2);
}

/* Mobil uyum */
@media (max-width: 768px) {
    table {
        min-width: unset;
        /* sabit genişliği kaldır */
        font-size: 0.85rem;
        /* yazıyı küçült */
    }

    th,
    td {
        padding: 8px 10px;
        /* daha dar padding */
    }

    caption {
        font-size: 0.9rem;
    }
}

/* Tablet uyumu */
@media (max-width: 1024px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .card {
        padding: 18px 30px;
    }

    .content {
        padding: 15px;
    }

    th,
    td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* Mobil uyumu */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1rem;
    }

    p,
    li {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .card {
        padding: 14px 18px;
        margin: 1em 0;
    }

    .content {
        padding: 12px;
    }

    .sidemenu {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        min-height: auto;
    }

    .sidemenu a {
        flex: 1;
        text-align: center;
        font-size: 0.85rem;
        padding: 8px;
    }

    th,
    td {
        padding: 8px;
        font-size: 0.8rem;
    }

    caption {
        font-size: 0.85rem;
    }

    .btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .btn-hashtag {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
}

/* Küçük telefonlar (iPhone SE vb.) */
@media (max-width: 480px) {
    h1 {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    h3 {
        font-size: 0.95rem;
    }

    p,
    li {
        font-size: 0.85rem;
    }

    .card {
        padding: 12px;
    }

    .content {
        padding: 8px;
    }

    .btn {
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    .btn-hashtag {
        font-size: 0.7rem;
        padding: 2px 6px;
    }

    th,
    td {
        font-size: 0.75rem;
        padding: 6px;
    }

    caption {
        font-size: 0.8rem;
    }
}

.banner {
    height: 400px;
}

.swiper {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.banner img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5em;
}