﻿:root {
    --bg: #f5f7fa;
    --surface: #ffffff;
    --surface-alt: #0f2c4c;
    --accent: #ff6f3c;
    --accent-light: #ffe2d5;
    --text: #1f2933;
    --muted: #5d6d7e;
    --border: #d8dee6;
    --shadow: 0 18px 40px rgba(15, 44, 76, 0.08);
    --radius-sm: 12px;
    --radius-lg: 20px;
    --transition: 180ms ease;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover,
a:focus {
    color: var(--accent);
}

.wrapper {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.site-header {
    background: rgba(15, 44, 76, 0.92);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.brand__logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), #f94d6a);
    font-weight: 700;
}

.brand__name {
    font-size: 1.1rem;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 1.25rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

nav a {
    padding: 0.25rem 0;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

nav a:hover::after,
nav a:focus::after {
    transform: scaleX(1);
}

nav a.active {
    color: var(--accent);
}

nav a.active::after {
    transform: scaleX(1);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

.search-bar input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0.5rem;
    outline: none;
    min-width: 200px;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-bar button {
    background: var(--accent);
    border: none;
    color: #fff;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.search-bar button:hover {
    transform: scale(1.1);
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-login,
.btn-register {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-login {
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-register {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 111, 60, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 111, 60, 0.4);
}

.cta {
    color: #0f2c4c;
    background: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition);
}

.cta:hover,
.cta:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hero {
    padding: 4.5rem 0 3.5rem;
    background: radial-gradient(circle at top right, rgba(255, 111, 60, 0.25), transparent 60%),
        linear-gradient(135deg, rgba(15, 44, 76, 0.95) 0%, rgba(15, 44, 76, 0.78) 65%),
        url('https://images.unsplash.com/photo-1512820790803-83ca734da794?auto=format&fit=crop&w=1400&q=80') center/cover;
    color: #fff;
}

.hero__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin: 0;
}

.lede {
    font-size: 1.05rem;
    max-width: 36ch;
    color: rgba(255, 255, 255, 0.8);
}

.hero__actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.8rem;
    flex-wrap: wrap;
}

.button {
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.6rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.button--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow);
}

.button--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.button--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.button:hover,
.button:focus {
    transform: translateY(-1px);
}

.hero__panel {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: grid;
    gap: 1rem;
    backdrop-filter: blur(8px);
}

.hero__stat {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.hero__stat span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.collection-info {
    margin-top: -2rem;
    padding-bottom: 3rem;
}

.collection-info .wrapper {
    background: var(--surface);
    padding: 2.8rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2.5rem;
}

.collection-info__card h2 {
    margin-top: 0;
    font-size: 1.9rem;
    line-height: 1.2;
}

.collection-info__card p {
    max-width: 50ch;
}

.collection-info__aside ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.collection-info__aside li::before {
    content: "•";
    margin-right: 0.6rem;
    color: var(--accent);
    font-weight: 700;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.pill {
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.book-grid {
    padding: 4rem 0 5rem;
}

.book-grid .wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.book-controls {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem 2.4rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1.5rem;
}

.book-controls__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.book-controls__header h2 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.2;
}

.match-count {
    font-size: 0.9rem;
    color: var(--muted);
}

.book-controls__search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.book-controls__search input {
    flex: 1 1 260px;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    transition: border var(--transition), box-shadow var(--transition);
    font-size: 0.95rem;
    color: var(--text);
}

.book-controls__search input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 111, 60, 0.18);
    background: #fff;
}

.clear-search {
    display: none;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid transparent;
    background: rgba(255, 111, 60, 0.12);
    color: var(--accent);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.clear-search.is-visible {
    display: inline-flex;
}

.clear-search:hover,
.clear-search:focus {
    background: var(--accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(255, 111, 60, 0.22);
}

.book-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.filter-chip {
    border: 1px solid var(--border);
    background: #fff;
    color: var(--muted);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border var(--transition), transform var(--transition);
}

.filter-chip:hover,
.filter-chip:focus {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.filter-chip.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 12px 28px rgba(255, 111, 60, 0.28);
}
.grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(4, 1fr);
}

.grid.is-empty {
    display: none;
}

.no-results {
    text-align: center;
    font-size: 1.05rem;
    color: var(--muted);
    padding: 2.8rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
}
.book-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.book-card::before {
    content: attr(data-rank);
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(95, 115, 128, 0.4);
    letter-spacing: 0.05em;
}

.book-card:hover,
.book-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(15, 44, 76, 0.14);
}

.book-card.clickable {
    cursor: pointer;
    transition: all var(--transition);
}

.book-card.clickable:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(15, 44, 76, 0.2);
}

.book-card.clickable::after {
    content: "👁️";
    position: absolute;
    top: 1rem;
    left: 1.4rem;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.book-card.clickable:hover::after {
    opacity: 1;
}

.book-card__meta {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.book-card h3 {
    margin: 0;
    font-size: 1.3rem;
}

.book-card__author {
    color: var(--accent);
    font-weight: 600;
    margin-top: 0.35rem;
    margin-bottom: 0.85rem;
}

.book-card__summary {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--muted);
}

.book-card__tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.book-card__tags span {
    background: rgba(255, 111, 60, 0.15);
    color: var(--accent);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.site-footer {
    background: var(--surface-alt);
    color: rgba(255, 255, 255, 0.88);
    padding: 3.5rem 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.newsletter {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.newsletter input {
    flex: 1 1 220px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter button {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.newsletter button:hover,
.newsletter button:focus {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 111, 60, 0.25);
}

.small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1024px) {
    .hero {
        padding-top: 3.5rem;
    }

    .collection-info .wrapper {
        grid-template-columns: 1fr;
    }

    .book-controls {
        padding: 1.6rem 1.8rem;
    }
}

@media (max-width: 768px) {
    .site-header .wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero__actions {
        width: 100%;
    }

    .book-controls {
        padding: 1.4rem;
    }

    .book-controls__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .match-count {
        margin-top: 0.35rem;
    }

    .book-controls__search {
        gap: 0.6rem;
    }

    .clear-search.is-visible {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.book-card[hidden] {
    display: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--surface);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close {
    color: var(--muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.close:hover {
    color: var(--text);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text);
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 111, 60, 0.1);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 111, 60, 0.3);
}

.auth-switch {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--accent);
    font-weight: 600;
}

/* Kitap Detay Modal */
.book-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.book-detail__header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.book-detail__header h2 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.book-detail__content h3 {
    color: var(--accent);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.book-detail__content p {
    line-height: 1.6;
    color: var(--text);
}

.book-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.book-tags span {
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Page Hero Styles */
.page-hero {
    background: linear-gradient(135deg, rgba(15, 44, 76, 0.95) 0%, rgba(15, 44, 76, 0.78) 65%),
        url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?auto=format&fit=crop&w=1400&q=80') center/cover;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.about-text h3 {
    color: var(--accent);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-text li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin: 0 0 0.5rem 0;
}

.stat-card p {
    color: var(--muted);
    margin: 0;
}

/* Team Section */
.team-section {
    background: var(--bg);
    padding: 4rem 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.member-avatar {
    margin-bottom: 1.5rem;
}

.member-role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition);
}

.social-link:hover {
    color: var(--text);
}

/* Values Section */
.values-section {
    padding: 4rem 0;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: 50%;
}

.contact-item h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text);
}

.contact-item p {
    margin: 0 0 0.25rem 0;
}

.contact-item small {
    color: var(--muted);
    font-size: 0.85rem;
}

.contact-form-section h2 {
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 111, 60, 0.1);
}

.contact-form select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background: var(--surface);
}

.contact-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 111, 60, 0.1);
}

/* FAQ Section */
.faq-section {
    background: var(--bg);
    padding: 4rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Categories Page Styles */
.categories-content {
    padding: 4rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.category-stats {
    margin: 1rem 0;
}

.category-stats span {
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.category-link {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition);
    margin-top: 1rem;
}

.category-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 111, 60, 0.3);
}

/* Featured Books */
.featured-books {
    background: var(--bg);
    padding: 4rem 0;
}

.featured-books h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-book {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.featured-book h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.book-author {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.book-category {
    color: var(--muted);
    font-size: 0.9rem;
}

.featured-actions {
    text-align: center;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: var(--bg);
}

.features-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Popular Categories */
.popular-categories {
    padding: 4rem 0;
}

.popular-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
}

.categories-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-preview-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.category-preview-card:hover {
    transform: translateY(-3px);
}

.category-preview-card .category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-preview-card h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.category-preview-card p {
    color: var(--muted);
    margin-bottom: 1rem;
}

/* Book Tabs */
.book-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--surface);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.tab-button {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--muted);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.tab-button:hover {
    background: rgba(255, 111, 60, 0.1);
    color: var(--accent);
}

.tab-button.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 111, 60, 0.3);
}

/* Testimonials */
.testimonials {
    background: var(--bg);
    padding: 4rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text);
}

.author-info span {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.25rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.pagination-number:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.pagination-number.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Profil Sayfası Stilleri */
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.profile-avatar {
    position: relative;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid white;
    cursor: pointer;
    font-size: 0.8rem;
}

.profile-info {
    flex: 1;
}

.profile-info h1 {
    margin: 0 0 0.75rem 0;
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.profile-info p {
    color: var(--text-muted);
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(255, 111, 60, 0.3);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-actions {
    display: flex;
    gap: 1rem;
}

.profile-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.profile-sidebar {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    height: fit-content;
}

.profile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-nav__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.profile-nav__link:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(255, 111, 60, 0.3);
}

.profile-nav__link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 111, 60, 0.4);
    transform: translateX(5px);
}

.nav-icon {
    font-size: 1.2rem;
}

.profile-main {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 111, 60, 0.1);
}

.profile-main h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.profile-section {
    display: none;
}

.profile-section.active {
    display: block;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.overview-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(255, 111, 60, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 111, 60, 0.3);
}

.overview-card h3 {
    margin: 0 0 1.5rem 0;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.overview-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 3px 6px rgba(255, 111, 60, 0.4);
    line-height: 1;
}

.overview-category {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 3px 6px rgba(255, 111, 60, 0.4);
    line-height: 1.2;
}

.overview-time {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 3px 6px rgba(255, 111, 60, 0.4);
    line-height: 1.2;
}

.overview-count,
.overview-trend {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    margin: 1rem 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(255, 111, 60, 0.3);
}

.recent-activity {
    margin-top: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(255, 111, 60, 0.1);
}

.recent-activity h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 111, 60, 0.1);
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 111, 60, 0.2);
}

.activity-icon {
    font-size: 2rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 111, 60, 0.3);
}

.activity-content p {
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.activity-time {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.history-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.book-cover img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.book-info {
    flex: 1;
}

.book-info h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-color);
}

.book-info p {
    margin: 0 0 0.5rem 0;
    color: var(--text-muted);
}

.book-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.book-status {
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: bold;
}

.book-status.completed {
    background: #d4edda;
    color: #155724;
}

.book-status.reading {
    background: #fff3cd;
    color: #856404;
}

.book-date,
.book-progress {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.book-rating {
    text-align: center;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.favorite-item {
    position: relative;
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.favorite-item .book-cover img {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.favorite-item .book-info h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-color);
}

.favorite-item .book-info p {
    margin: 0 0 0.5rem 0;
    color: var(--text-muted);
}

.remove-favorite {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.remove-favorite:hover {
    opacity: 1;
}

.goals-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.goal-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.goal-card h3 {
    margin: 0 0 1rem 0;
    color: var(--text-color);
}

.goal-progress {
    text-align: center;
}

.goal-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.goal-bar {
    width: 100%;
    height: 12px;
    background: var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.goal-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.achievement-item.locked {
    opacity: 0.5;
}

.achievement-icon {
    font-size: 2rem;
}

.achievement-info h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-color);
}

.achievement-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.settings-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Modal Stilleri - Gelişmiş Tasarım */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 380px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: all var(--transition);
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
}

.close:hover,
.close:focus {
    color: var(--primary-color);
    background: rgba(255, 111, 60, 0.1);
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 3px 15px rgba(255, 111, 60, 0.25);
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    50% { transform: translateX(0%) translateY(0%) rotate(180deg); }
}

.modal-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.modal-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.modal-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* Modal Body */
.modal-body {
    padding: 1.5rem;
}

/* Auth Form */
.auth-form {
    margin-bottom: 1.5rem;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    z-index: 2;
    transition: all 0.3s ease;
}

.input-wrapper input {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.input-wrapper input:focus + .input-icon {
    transform: scale(1.2);
    color: var(--secondary-color);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Checkbox Wrapper */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-wrapper:hover .checkmark {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Forgot Password */
.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* Terms Link */
.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.terms-link:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* Divider */
.divider {
    text-align: center;
    margin: 1.25rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e1e5e9;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Social Login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background: white;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.social-btn:hover::before {
    left: 100%;
}

.google-btn:hover {
    border-color: #db4437;
    color: #db4437;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(219, 68, 55, 0.2);
}

.facebook-btn:hover {
    border-color: #4267B2;
    color: #4267B2;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 103, 178, 0.2);
}

.social-icon {
    font-size: 1.2rem;
}

/* Form Stilleri - Gelişmiş */
.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
    box-sizing: border-box;
    color: var(--text-color);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 111, 60, 0.15), 0 4px 20px rgba(255, 111, 60, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: #6c757d;
    font-weight: 400;
    font-size: 1rem;
}

.form-group input:focus::placeholder {
    color: #adb5bd;
}

/* Şifre Göster/Gizle Butonu */
.password-toggle {
    position: absolute;
    right: 1rem;
    top: 2.2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

/* Buton Stilleri - Gelişmiş */
.btn-modal {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-modal:hover::before {
    left: 100%;
}

.btn-modal--primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 111, 60, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-modal--primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 111, 60, 0.5);
    background: linear-gradient(135deg, #ff5722 0%, #4a90e2 100%);
}

.btn-modal--primary:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 60, 0.4);
}

.btn-icon {
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.btn-modal--secondary {
    background: #f8f9fa;
    color: var(--text-color);
    border: 2px solid #e1e5e9;
}

.btn-modal--secondary:hover {
    background: #e9ecef;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Auth Switch */
.auth-switch {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e1e5e9;
}

.auth-switch p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    display: inline-block;
}

.auth-switch a:hover {
    background: rgba(255, 111, 60, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 111, 60, 0.2);
}

/* Loading State */
.btn-modal:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-modal:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Form Validation */
.form-group.error input {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-group.success input {
    border-color: #28a745;
    background: #f8fff9;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.375rem;
    display: none;
    padding: 0.375rem 0.5rem;
    background: #fff5f5;
    border-radius: 6px;
    border-left: 2px solid #dc3545;
}

.form-group.error .error-message {
    display: block;
    animation: errorShake 0.3s ease-in-out;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Modal Animations */
.modal.show .modal-content {
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 3% auto;
        width: 95%;
        max-width: 360px;
    }
    
    .modal-header {
        padding: 1.25rem 1.25rem;
    }
    
    .modal-body {
        padding: 1.25rem 1.25rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .social-login {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 2% auto;
        width: 96%;
        border-radius: 12px;
        max-width: 340px;
    }
    
    .modal-header {
        padding: 1rem 1rem;
    }
    
    .modal-body {
        padding: 1rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .modal-icon {
        font-size: 1.5rem;
    }
    
    .btn-modal {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .input-wrapper input {
        padding-left: 2.25rem;
        padding-right: 2.25rem;
    }
    
    .input-wrapper .input-icon {
        left: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header .wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-bar {
        order: -1;
        width: 100%;
    }
    
    .search-bar input {
        min-width: auto;
        flex: 1;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .book-tabs {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: none;
        min-width: 120px;
    }
    
    .categories-preview {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .pagination-numbers {
        flex-wrap: wrap;
    }
    
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    /* Profil sayfası responsive */
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .profile-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile-sidebar {
        order: 2;
    }
    
    .profile-main {
        order: 1;
        padding: 1rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .favorites-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .goals-container {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}





