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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #2980b9 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
    padding: 1.5rem 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.9) 0%, rgba(41, 128, 185, 0.8) 50%, rgba(44, 62, 80, 0.9) 100%);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: headerGlow 4s ease-in-out infinite alternate;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(-45deg);
    animation: shimmer 3s linear infinite;
    pointer-events: none;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.2) 0%, transparent 50%);
    pointer-events: none;
    animation: floatingBubbles 6s ease-in-out infinite;
}

@keyframes headerGlow {
    0% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(52, 152, 219, 0.3);
    }
    100% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(52, 152, 219, 0.5);
    }
}

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

@keyframes floatingBubbles {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 10px rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out, titleFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both, subtitleFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes subtitleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-2px);
    }
}

.books-container {
    margin-bottom: 3rem;
}

.category-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-section:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.category-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Professional colors for each category */
.category-section:nth-child(1) .category-header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.category-section:nth-child(2) .category-header {
    background: linear-gradient(135deg, #16a085 0%, #27ae60 100%);
}

.category-section:nth-child(3) .category-header {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

.category-section:nth-child(4) .category-header {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
}

.category-section:nth-child(5) .category-header {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.category-header:hover::before {
    left: 100%;
}

.category-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.category-icon {
    font-size: 1.2em;
    margin-right: 0.5rem;
}

.toggle-icon {
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.category-header.active .toggle-icon {
    transform: rotate(180deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.category-content.active {
    max-height: 3000px;
    padding: 1.5rem;
}

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

/* Special grid for categories with 4 books */
.category-section:nth-child(2) .books-grid, /* İHO */
.category-section:nth-child(3) .books-grid, /* İHL */
.category-section:nth-child(4) .books-grid { /* Seçmeli */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (min-width: 1024px) {
    /* Special grid for categories with 4 books on desktop */
    .category-section:nth-child(2) .books-grid, /* İHO */
    .category-section:nth-child(3) .books-grid, /* İHL */
    .category-section:nth-child(4) .books-grid { /* Seçmeli */
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.book-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.book-card:hover::before {
    transform: scaleX(1);
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.book-image {
    width: 100%;
    height: 300px;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.book-card:hover .book-image img {
    transform: scale(1.05);
}

.book-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.book-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    line-height: 1.4;
    transition: color 0.3s ease;
    text-decoration: none;
}

.book-card:hover .book-title {
    color: #3498db;
}

.audio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white !important;
    text-decoration: none !important;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
    margin-top: 0.5rem;
}

.audio-link:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
    color: white !important;
}

.audio-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.flipbook-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #27ae60 0%, #16a085 100%);
    color: white !important;
    text-decoration: none !important;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
    margin-top: 0.5rem;
}

.flipbook-link:hover {
    background: linear-gradient(135deg, #229954 0%, #138d75 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
    color: white !important;
}

.flipbook-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.test-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white !important;
    text-decoration: none !important;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.3);
    margin-top: 0.5rem;
}

.test-link:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
    color: white !important;
}

.test-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.presentation-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white !important;
    text-decoration: none !important;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(155, 89, 182, 0.3);
    margin-top: 0.5rem;
}

.presentation-link:hover {
    background: linear-gradient(135deg, #8e44ad 0%, #7d3c98 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4);
    color: white !important;
}

.presentation-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}

.book-card a {
    text-decoration: none;
    color: inherit;
}

.notice {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #f39c12;
    animation: fadeInUp 1s ease-out;
}

.notice-content {
    text-align: center;
}

.notice-content h3 {
    color: #e67e22;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.notice-content p {
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.notice-content strong {
    color: #8e44ad;
}

.educational-resource {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #3498db;
    text-align: center;
}

.educational-resource h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.educational-resource p {
    color: #7f8c8d;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.educational-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white !important;
    text-decoration: none !important;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(52, 152, 219, 0.25);
}

.educational-link:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f618d 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.35);
    color: white !important;
}

@media (max-width: 768px) {
    .educational-resource {
        padding: 1rem;
        margin: 1rem 0;
        border-radius: 12px;
    }
    
    .educational-resource h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .educational-resource p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .educational-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

.previous-year-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 5px solid #8e44ad;
    text-align: center;
}

.previous-year-section h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.previous-year-section p {
    color: #7f8c8d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.previous-year-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    color: white !important;
    text-decoration: none !important;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(142, 68, 173, 0.3);
}

.previous-year-link:hover {
    background: linear-gradient(135deg, #7d3c98 0%, #6c3483 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(142, 68, 173, 0.4);
    color: white !important;
}

.future-content-notice {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #27ae60;
    animation: fadeInUp 1s ease-out 0.5s both;
    position: relative;
    overflow: hidden;
}

.future-content-notice::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(39, 174, 96, 0.1), rgba(46, 204, 113, 0.1));
    border-radius: 50%;
    transform: translate(20px, -20px);
}

.future-content-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.future-content-content h3 {
    color: #27ae60;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.future-content-content p {
    color: #2c3e50;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.future-content-content strong {
    color: #27ae60;
    font-weight: 600;
}

.footer {
    text-align: center;
    color: white;
    opacity: 0.9;
    font-size: 0.9rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px 15px 0 0;
}

.footer-logo {
    margin-bottom: 0.8rem;
    padding: 0.6rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    display: inline-block;
    animation: fadeInUp 1s ease-out 1s both;
}

.footer-logo a {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.footer-logo a:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

.footer-logo-img {
    height: 35px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-logo a:hover .footer-logo-img {
    filter: brightness(1.2) contrast(1.1);
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AOS styles */
[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .category-header {
        padding: 1rem;
    }
    
    .category-title {
        font-size: 1.1rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .category-icon {
        font-size: 1.1em;
        margin-right: 0.3rem;
    }
    
    .category-content.active {
        padding: 1rem;
    }
    
    .books-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .book-card {
        padding: 1rem;
    }
    
    .book-image {
        height: 220px;
    }
    
    .book-title {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    .audio-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }
    
    .header {
        margin-bottom: 1.5rem;
        padding: 1rem;
        animation-duration: 3s; /* Reduce animation duration on mobile for better performance */
    }
    
    .header::before {
        animation-duration: 4s; /* Slower shimmer on mobile */
    }
    
    .header::after {
        animation-duration: 8s; /* Slower bubble animation on mobile */
    }
    
    .title {
        animation: fadeInUp 1s ease-out, titleFloat 4s ease-in-out infinite; /* Slower float on mobile */
    }
    
    .subtitle {
        animation: fadeInUp 1s ease-out 0.3s both, subtitleFloat 5s ease-in-out infinite; /* Slower float on mobile */
    }
    
    .notice {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .notice-content h3 {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .notice-content p {
        font-size: 0.9rem;
    }
    
    .future-content-notice {
        padding: 0.8rem;
        margin: 1rem 0;
    }
    
    .future-content-content h3 {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.2rem;
        margin-bottom: 0.4rem;
    }
    
    .future-content-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .footer-logo {
        padding: 0.5rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-logo a {
        font-size: 1rem;
        gap: 0.7rem;
    }
    
    .footer-logo-img {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 8px;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .book-card {
        padding: 0.8rem;
    }
    
    .book-image {
        height: 180px;
    }
    
    .book-title {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .category-title {
        font-size: 1rem;
    }
    
    .category-header {
        padding: 0.8rem;
    }
    
    .category-content.active {
        padding: 0.8rem;
    }
    
    .footer-logo a {
        flex-direction: column;
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .footer-logo-img {
        height: 28px;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .container {
        padding: 5px;
    }
    
    .header {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .book-image {
        height: 160px;
    }
    
    .book-title {
        font-size: 0.85rem;
    }
    
    .audio-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
    }
    
    .category-title {
        font-size: 0.95rem;
    }
    
    .notice, .future-content-notice {
        padding: 0.8rem;
        margin: 1rem 0;
    }
}

/* Loading states */
.book-image img {
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.book-image img.loaded {
    opacity: 1;
}

/* Loading spinner */
.book-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

.book-image img.loaded + .book-image::before {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Performance optimizations */
.book-card {
    will-change: transform;
}

.category-header {
    will-change: background;
}

/* Reduce motion for users who prefer it */
@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;
    }
    
    .header {
        background: rgba(52, 152, 219, 0.9) !important;
    }
    
    .title {
        background: white !important;
        -webkit-text-fill-color: white !important;
        color: white !important;
    }
}

/* KVKK Notice */
.kvkk-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.98);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 3px solid #3498db;
}

.kvkk-notice.show {
    transform: translateY(0);
}

.kvkk-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.kvkv-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.kvkk-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.kvkk-content a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.kvkk-content a:hover {
    border-bottom-color: #3498db;
}

.kvkk-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.kvkk-buttons button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.accept-btn {
    background: #27ae60;
    color: white;
}

.accept-btn:hover {
    background: #2ecc71;
    transform: translateY(-2px);
}

.dismiss-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.dismiss-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* Touch-friendly improvements */
@media (hover: none) {
    .book-card:hover {
        transform: none;
    }
    
    .book-card:active {
        transform: scale(0.98);
    }
    
    .category-header:hover {
        background: inherit;
    }
    
    .category-header:active {
        opacity: 0.9;
    }
    
    .kvkk-buttons button:hover {
        transform: none;
    }
    
    .kvkk-buttons button:active {
        transform: scale(0.95);
    }
    
    /* Larger touch targets for mobile */
    .category-header {
        min-height: 48px;
    }
    
    .book-card a {
        min-height: 44px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Improve readability on mobile */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    .book-title {
        word-wrap: break-word;
        hyphens: auto;
    }
}

@media (max-width: 768px) {
    .kvkk-notice {
        padding: 1rem;
    }
    
    .kvkk-content h3 {
        font-size: 1.1rem;
    }
    
    .kvkk-content p {
        font-size: 0.9rem;
    }
    
    .kvkk-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .kvkk-buttons button {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}
/* 2026-2027 Yeni Yıl Buton Stilleri */
.new-year-notice {
    text-align: center;
    margin: 1.5rem 0 2rem 0;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

.new-year-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(45deg, #ff416c, #ff4b2b, #f1c40f, #ff416c);
    background-size: 300% auto;
    color: white !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(255, 65, 108, 0.4);
    transition: all 0.3s ease;
    animation: gradient-flow 4s infinite linear, pulse-btn 2s infinite alternate;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.new-year-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 65, 108, 0.6);
    color: white !important;
}

.new-year-btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes pulse-btn {
    0% { transform: scale(1); }
    100% { transform: scale(1.02); }
}

/* Mobil cihazlar için boyutlandırma */
@media (max-width: 768px) {
    .new-year-btn {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        width: 100%;
        max-width: 350px;
    }
}