* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --color-bg: #f8f9fc;
    --color-surface: #ffffff;
    --color-muted: #6c7687;
    --color-dark: #1b1f29;
    --color-primary: #4754ff;
    --color-primary-strong: #2730cc;
    --color-accent: #f97316;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 10px 30px rgba(18, 28, 55, 0.08);
    --shadow-md: 0 24px 60px rgba(18, 28, 55, 0.12);
    --max-width: 1180px;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: var(--color-bg);
    color: var(--color-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--max-width), calc(100% - 2 * 24px));
    margin-inline: auto;
}

/* Header ---------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(18, 28, 55, 0.04);
}

.nav-bar {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.9rem 0;
    justify-content: space-between;
}

.brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-primary-strong);
    letter-spacing: 0.01em;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.85rem;
    flex: 1;
}

.nav-links a {
    padding: 0.4rem 0;
    font-weight: 500;
    color: var(--color-muted);
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav-dropdown-toggle::after {
    display: none;
}

.nav-dropdown-toggle svg {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(71, 84, 255, 0.2);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--color-dark);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    margin-left: 0;
}

.nav-dropdown-item:hover {
    background-color: rgba(71, 84, 255, 0.08);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    padding-left: 1.5rem;
}

.nav-dropdown-item::after {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    flex-shrink: 0;
    margin-right: -48px;
}

@media (max-width: 1180px) {
    .nav-actions {
        margin-right: -24px;
    }
}

@media (max-width: 768px) {
    .nav-actions {
        margin-right: 0;
    }
}

.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: rgba(71, 84, 255, 0.12);
    color: var(--color-primary-strong);
}

.btn-secondary:hover {
    background: rgba(71, 84, 255, 0.18);
}

.btn-outline {
    background: transparent;
    color: var(--color-muted);
    border: 1px solid rgba(27, 31, 41, 0.12);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Mobil menü için giriş butonları - sadece 820px altında görünür */
.mobile-auth-buttons {
    display: none;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(27, 31, 41, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(27, 31, 41, 0.05);
}

.user-chip:hover {
    background: #fafbfc;
    border-color: rgba(71, 84, 255, 0.25);
    box-shadow: 0 4px 12px rgba(27, 31, 41, 0.08);
    transform: translateY(-1px);
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f8f9fc;
    color: var(--color-muted);
    font-weight: 700;
    font-size: 0.95rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 2px solid rgba(27, 31, 41, 0.06);
    transition: all 0.3s ease;
}

.user-chip:hover .user-avatar {
    border-color: rgba(71, 84, 255, 0.2);
    background: #f0f2f8;
}

.user-avatar svg {
    stroke: currentColor;
    width: 22px;
    height: 22px;
    color: var(--color-dark);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.user-chip:hover .user-avatar svg {
    opacity: 1;
    color: var(--color-primary);
}

.user-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.user-email {
    color: var(--color-muted);
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.user-chip .btn-outline {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    white-space: nowrap;
    margin-left: 0.5rem;
    flex-shrink: 0;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.user-chip .btn-outline:hover {
    background: rgba(71, 84, 255, 0.05);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    width: 44px;
    height: 44px;
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(27, 31, 41, 0.1);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 60%;
    margin: 0 auto;
    background: var(--color-dark);
}

/* Hero ------------------------------------------------------------------- */

.hero {
    padding: 4.5rem 0 3.5rem;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(71, 84, 255, 0.12);
    color: var(--color-primary-strong);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
}

.hero-text p {
    color: var(--color-muted);
    font-size: 1rem;
    max-width: 520px;
}

.hero-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: var(--color-surface);
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.hero-search input {
    flex: 1;
    min-width: 180px;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(27, 31, 41, 0.08);
    font: inherit;
}

.hero-search input:focus {
    outline: 2px solid rgba(71, 84, 255, 0.18);
    border-color: var(--color-primary);
}

.hero-search button {
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.6rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
    cursor: pointer;
}

.hero-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.hero-tags span {
    background: rgba(27, 31, 41, 0.05);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
}

.hero-visual {
    position: relative;
    display: grid;
    gap: 1.5rem;
}

.hero-card {
    position: relative;
    padding: 1.6rem;
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.hero-card.primary {
    background: linear-gradient(135deg, rgba(71, 84, 255, 0.95), rgba(71, 84, 255, 0.8));
    color: #fff;
}

.hero-card.secondary {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(253, 186, 116, 0.85));
    color: #fff;
}

.card-title {
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.card-meta {
    font-size: 0.9rem;
    opacity: 0.9;
}

.card-users {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.card-users span {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

/* Sections --------------------------------------------------------------- */

.page-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-bottom: 2rem;
    flex: 1;
}

.section {
    padding: 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.section-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-dark);
}

.section-header p {
    color: var(--color-muted);
    margin-top: 0.5rem;
    max-width: 480px;
}

.link-more {
    font-weight: 600;
    color: var(--color-primary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.category-card {
    background: var(--color-surface);
    padding: 1.3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.category-card .icon {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(71, 84, 255, 0.08);
    color: var(--color-primary-strong);
}

.category-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: 0.35rem;
}

.content-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 2rem;
    min-height: calc(100vh - 190px);

}

.event-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.event-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.event-label {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(71, 84, 255, 0.12);
    color: var(--color-primary-strong);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.event-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
}

.event-card p {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.event-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.event-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--color-primary);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
    background: var(--color-dark);
    color: #f7f8ff;
    padding: 1.5rem 0 1rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.site-footer .brand {
    color: #fff;
    font-size: 1.1rem;
}

.site-footer p {
    color: rgba(247, 248, 255, 0.75);
    margin-top: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

.site-footer h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.site-footer a,
.site-footer span {
    display: block;
    font-size: 0.8rem;
    color: rgba(247, 248, 255, 0.75);
    margin-bottom: 0.4rem;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.75rem;
    color: rgba(247, 248, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
    align-items: center;
    }

    .hero-text p {
        max-width: 620px;
    }

    .hero-search {
        justify-content: center;
    }

    .hero-visual {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .nav-links {
    gap: 1rem;
    }
}
@media (min-height: 692px) {
    .mobile-auth-buttons2{
        display: none;
    }

    
}
@media (max-height: 692px) {
 /* Şimdilik display none emin değilim  başlangıç */

 .mobile-auth-buttons2{
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}


 
 .mobile-auth-buttons {
  
    display: none !important;
    border-top: none !important;
}

.mobile-auth-buttons .btn-primary,
.mobile-auth-buttons .btn-secondary {
   
    display: none; 
    
    
}


}
@media (max-width: 1128px) {
    .nav-links {
        position: fixed;
        inset: 72px 0 auto 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 1.75rem;
        gap: 1rem;
        box-shadow: var(--shadow-sm);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s ease;
        height: calc(100vh - 72px);
    }

    body.menu-open .nav-links {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin-top: 0.5rem;
        margin-left: 1rem;
        padding-left: 0;
        min-width: auto;
    }

    .nav-dropdown-item {
        padding: 0.5rem 1rem;
    }

    .nav-actions {
        display: none;
        /* logo değişirse bu seçiçi silinecek şuan ölçeği bozuyor */
    }
    /* Şimdilik display none emin değilim  başlangıç */
    .mobile-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 0.5rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(27, 31, 41, 0.1);
        /* display: none; */
    }
    
    .mobile-auth-buttons .btn-primary,
    .mobile-auth-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
        /* display: none;  */
    }

       /* Şimdilik display none emin değilim  bitiş */

    .nav-toggle {
    display: flex;
    }

    body.menu-open .nav-toggle {
        border-color: var(--color-primary);
    }

    .hero {
        padding-top: 3.2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-search {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-search input,
    .hero-search button {
        width: 100%;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .event-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.6rem;
        align-items: center;
    }
}

/* Auth Layout ------------------------------------------------------------ */

.auth-page {
    background: radial-gradient(circle at top, rgba(71, 84, 255, 0.12), transparent 55%), var(--color-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.auth-panel {
    width: min(1080px, 100%);
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    overflow: hidden;
}

.auth-info {
    background: linear-gradient(135deg, rgba(71, 84, 255, 0.95), rgba(39, 48, 204, 0.95));
    color: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    justify-content: center;
}

.auth-info .brand {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
}

.auth-info h1 {
    font-size: clamp(1.8rem, 2.4vw, 2.3rem);
    line-height: 1.25;
}

.auth-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 380px;
}

.auth-highlights {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding: 0;
}

.auth-highlights li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.auth-highlights li::before {
    content: '✔';
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    font-size: 0.8rem;
}

.auth-card {
    padding: 3rem 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.auth-card-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
}

.auth-card-header p {
    font-size: 0.95rem;
    color: var(--color-muted);
}

.flash-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.flash-message {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    border: 1px solid rgba(27, 31, 41, 0.08);
    background: rgba(27, 31, 41, 0.04);
    color: var(--color-dark);
}

.flash-message.is-success {
    background: rgba(46, 204, 113, 0.12);
    border-color: rgba(39, 174, 96, 0.4);
    color: #1e8449;
}

.flash-message.is-error {
    background: rgba(231, 76, 60, 0.12);
    border-color: rgba(203, 67, 53, 0.35);
    color: #c0392b;
}

.flash-message.is-info {
    background: rgba(52, 152, 219, 0.12);
    border-color: rgba(41, 128, 185, 0.35);
    color: #2c81ba;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--color-dark);
}

.form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(27, 31, 41, 0.12);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(71, 84, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(71, 84, 255, 0.15);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.text-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.text-link:hover {
    text-decoration: underline;
}

.btn-block {
        width: 100%;
        justify-content: center;
}

.auth-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(27, 31, 41, 0.08);
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.auth-footer a {
    color: var(--color-primary);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .auth-panel {
        grid-template-columns: 1fr;
    }

    .auth-info {
        padding: 2.5rem 2rem;
        text-align: center;
    align-items: center;
}

    .auth-info p {
        max-width: 520px;
    }

    .auth-highlights {
        justify-items: center;
    }
}

@media (max-width: 640px) {
    .auth-page {
        padding: 2rem 1rem;
    }

    .auth-card {
        padding: 2.5rem 1.75rem;
    }

    .form-actions {
        align-items: flex-start;
    }
}

.notifications-container {
    position: relative;
}

.notifications-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}

.notifications-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--color-primary, #007bff);
    color: white;
    border-radius: 50%;
    font-size: 0.65rem;
    padding: 2px 5px;
}

/* Dropdown */
.notifications-dropdown {
    display: none;
    position: absolute;
    top: 120%;
    right: 0;
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 260px;
    z-index: 999;
    overflow: hidden;
}

.notification-header {
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.notification-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.notification-item:hover {
    background-color: rgba(0,0,0,0.05);
}

.notification-footer {
    padding: 0.5rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.notification-footer a {
    font-size: 0.85rem;
    color: var(--color-primary, #007bff);
    text-decoration: none;
}

.notification-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .notifications-dropdown {
        width: 90vw;
        right: 50%;
        transform: translateX(50%);
    }
}

/* KVKK Banner Styles */
.kvkk-banner {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(253, 186, 116, 0.95));
    color: #fff;
    padding: 0.9rem 0;
    position: sticky;
    top: 72px;
    z-index: 850;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.kvkk-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.kvkk-banner-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.kvkk-banner-text strong {
    font-weight: 600;
}

.kvkk-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.kvkk-banner .btn-primary {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    backdrop-filter: blur(4px);
}

.kvkk-banner .btn-primary:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .kvkk-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .kvkk-banner-actions {
        width: 100%;
    }
    
    .kvkk-banner .btn-primary {
        width: 100%;
    }
}

/* KVKK Modal Styles */
.kvkk-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
}

.kvkk-modal-content {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    animation: kvkkModalSlideIn 0.3s ease-out;
}

@keyframes kvkkModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kvkk-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(27, 31, 41, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.kvkk-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
    flex: 1;
}

.kvkk-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-muted);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
    margin-left: 1rem;
}

.kvkk-modal-close:hover {
    background: rgba(27, 31, 41, 0.08);
    color: var(--color-dark);
}

.kvkk-modal-body {
    padding: 1.5rem 2rem;
    overflow-y: auto;
    flex: 1;
}

.kvkk-modal-body > p {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.kvkk-content {
    background: rgba(71, 84, 255, 0.04);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.kvkk-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary-strong);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.kvkk-content h3:first-child {
    margin-top: 0;
}

.kvkk-content p {
    font-size: 0.9rem;
    color: var(--color-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.kvkk-notice {
    background: rgba(249, 115, 22, 0.1);
    border-left: 3px solid var(--color-accent);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.kvkk-notice strong {
    color: var(--color-accent);
}

.kvkk-modal-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(27, 31, 41, 0.1);
    display: flex;
    justify-content: center;
}

.kvkk-modal-footer .btn-primary {
    min-width: 200px;
    font-size: 1rem;
    padding: 0.9rem 2rem;
}

@media (max-width: 640px) {
    .kvkk-modal {
        padding: 1rem;
    }
    
    .kvkk-modal-content {
        max-height: 95vh;
    }
    
    .kvkk-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .kvkk-modal-header h2 {
        font-size: 1.25rem;
    }
    
    .kvkk-modal-close {
        width: 32px;
        height: 32px;
        font-size: 1.75rem;
    }
    
    .kvkk-modal-body {
        padding: 1.25rem 1.5rem;
    }
    
    .kvkk-content {
        padding: 1rem;
    }
    
    .kvkk-content h3 {
        font-size: 1rem;
    }
    
    .kvkk-content p {
        font-size: 0.85rem;
    }
    
    .kvkk-modal-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .kvkk-modal-footer .btn-primary {
        width: 100%;
        min-width: auto;
    }
}