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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(120deg, #9ca3af, #374151);
            min-height: 100vh;
            padding: 0;
            margin: 0;
        }

        /* Navigation Header */
        .navbar {
            background: white;
            padding: 15px 0;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
            overflow: visible;
        }

        .navbar-container {
            max-width: none;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        .navbar-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: #333;
            font-weight: 600;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .navbar-logo img {
            height: 40px;
            width: auto;
            object-fit: contain;
        }

        .navbar-logo:hover {
            transform: scale(1.05);
            opacity: 0.8;
        }

        .navbar-menu {
            display: flex;
            gap: 30px;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .navbar-menu li a {
            color: #333;
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            opacity: 0.8;
        }

        .navbar-menu li a:hover {
            opacity: 1;
            color: #667eea;
        }

        .navbar-buttons {
            display: flex;
            gap: 10px;
        }

        .navbar-btn {
            padding: 8px 16px;
            border: 2px solid #667eea;
            background: transparent;
            color: #667eea;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .navbar-btn:hover {
            background: #667eea;
            color: white;
        }

        /* Hamburger Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: #333;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        /* Mobile Menu */
        .navbar-menu.mobile-menu {
            display: flex !important;
            position: absolute;
            top: 70px;
            left: 0;
            right: 0;
            background: white;
            flex-direction: column;
            padding: 20px;
            gap: 0;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            animation: slideDown 0.3s ease-out;
            z-index: 999;
            width: 100%;
        }

        .navbar-menu:not(.mobile-menu) {
            display: flex;
            gap: 30px;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .navbar-menu.mobile-menu li {
            width: 100%;
            list-style: none;
        }

        .navbar-menu.mobile-menu li a {
            display: block;
            padding: 12px 15px;
            border-radius: 5px;
            transition: all 0.3s ease;
            color: #333;
            text-decoration: none;
        }

        .navbar-menu.mobile-menu li a:hover {
            background: rgba(102, 126, 234, 0.1);
            color: #667eea;
        }

        .container {
            max-width: 960px;
            margin: 0 auto;
            padding: 0 20px;
            margin-top: 30px;
        }

        /* Hero Banner */
        .hero-banner {
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://bibliorus.com/wp-content/uploads/2023/10/finger-hand-presses-tablet-with-hologram-question-mark.jpg') center/cover;
            background-attachment: fixed;
            color: white;
            padding: 120px 20px;
            text-align: center;
            border-radius: 15px;
            margin-bottom: 40px;
            margin-top: 30px;
            position: relative;
            overflow: hidden;
        }

        .hero-banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            pointer-events: none;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 700;
            margin: 0 0 20px 0;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
            line-height: 1.2;
        }

        .hero-subtitle {
            font-size: 1.3rem;
            opacity: 0.95;
            margin: 0;
            text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
        }

        @media (max-width: 768px) {
            .hero-banner {
                padding: 80px 20px;
            }

            .hero-title {
                font-size: 2rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }
        }

        .search-bar {
            margin-bottom: 30px;
            margin-top: 40px;
            text-align: center;
        }

        .search-bar input {
            padding: 12px 20px;
            border: none;
            border-radius: 25px;
            width: 100%;
            max-width: 400px;
            font-size: 16px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            outline: none;
        }

        /* Mobile Search Toggle */
        .search-bar.mobile-hidden {
            display: none;
        }

        .search-bar.mobile-visible {
            display: block;
            position: fixed;
            top: 70px;
            left: 0;
            right: 0;
            margin: 0;
            padding: 20px;
            background: linear-gradient(120deg, #9ca3af, #374151);
            z-index: 998;
            border-radius: 0;
        }

        .search-bar.mobile-visible input {
            width: 100%;
            max-width: 100%;
        }
/* Magazine kart bölümü başlangıcı */
        .magazines-grid {
            display: grid;
            max-width: none;
            margin: 0 auto;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }

        .magazine-card {
            display: grid;
            grid-template-rows: subgrid;
            grid-row: span 2;
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            transform: translateY(20px);
            animation: cardAppear 0.6s ease forwards;
            background-size: 400px 500px;
        }

        @keyframes cardAppear {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .magazine-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }

        .magazine-cover {
            position: relative;
            overflow: hidden;
        }

        .magazine-cover img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            object-position: center top;
            transition: transform 0.3s ease;
        }

        /* Mobile Footer Navigation */
        .mobile-footer-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            border-top: 1px solid #e0e0e0;
            z-index: 999;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        }

        .mobile-footer-nav ul {
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin: 0;
            padding: 0;
            list-style: none;
            height: 60px;
        }

        .mobile-footer-nav li {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            text-align: center;
        }

        .mobile-footer-nav li a {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            color: #666;
            text-decoration: none;
            font-size: 0.75rem;
            gap: 4px;
            transition: all 0.3s ease;
        }

        .mobile-footer-nav li a:hover {
            color: #667eea;
        }

        .mobile-footer-nav li a .icon {
            font-size: 1.5rem;
        }

        body.mobile-footer-nav-active {
            padding-bottom: 60px;
        }

        .magazine-card:hover .magazine-cover img {
            transform: scale(1.05);
        }

        .magazine-cover .placeholder {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .magazine-cover .placeholder::before {
            content: '';
            font-size: 20px;
            opacity: 0.7;
        }

        .magazine-data {
            display: grid;
            grid-template-rows: auto auto auto;
            /*grid-row: span 5;*/
            grid-template-areas:
                "magazine-title"
                "magazine-meta"
                "download-btn";
            padding: 10px;
        }

        .magazine-info {
            padding: 20px;
        }

        .magazine-title {
            font-size: 1.2rem;
            font-weight: bold;
            color: #333;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .magazine-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            font-size: 0.9rem;
            color: #666;
        }

        .magazine-date {
            background: #f0f0f0;
            padding: 4px 8px;
            border-radius: 12px;
        }

        .magazine-size {
            color: #999;
        }
/* Magazine kart bölümü sonu */

        .download-btn {
            width: 100%;
            padding: 12px;
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .download-btn:hover {
            background: linear-gradient(45deg, #5a6fd8, #6a42a0);
            transform: translateY(-2px);
        }

        .filter-tags {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .filter-tag {
            padding: 8px 16px;
            background: rgba(255,255,255,0.2);
            color: white;
            border: none;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .filter-tag:hover,
        .filter-tag.active {
            background: rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }

        .no-results {
            text-align: center;
            color: white;
            font-size: 1.2rem;
            margin-top: 50px;
            display: none;
        }

        /* PDF Viewer Modal */
        .pdf-viewer-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 10000;
            backdrop-filter: blur(5px);
        }

        .pdf-viewer-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .pdf-viewer-container {
            width: 100%;
            height: 100%;
            background: white;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            animation: modalSlideIn 0.3s ease-out;
        }

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

        .pdf-viewer-header {
            background: white;
            color: #333;
            padding: 15px 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
            min-height: 70px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .pdf-viewer-logo-link {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            padding: 0;
            flex-shrink: 0;
            overflow: visible;
            background: transparent;
            border: none;
        }

        .pdf-viewer-logo-link img {
            height: 40px;
            width: auto;
            object-fit: contain;
        }

        .pdf-viewer-logo-link:hover {
            transform: scale(1.05);
            opacity: 0.8;
        }

        .pdf-viewer-title-container {
            display: flex;
            align-items: center;
            flex: 1;
            gap: 15px;
        }

        .pdf-viewer-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin: 0;
            color: #333;
        }

        .pdf-viewer-controls {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .pdf-control-btn {
            background: rgba(102, 126, 234, 0.1);
            border: none;
            color: #667eea;
            padding: 10px 15px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 15px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 500;
        }

        .pdf-control-btn:hover {
            background: rgba(102, 126, 234, 0.2);
            transform: translateY(-1px);
        }

        .close-btn {
            background: rgba(102, 126, 234, 0.1);
            border: none;
            color: #667eea;
            width: 45px;
            height: 45px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            transition: all 0.3s ease;
            font-weight: bold;
        }

        .close-btn:hover {
            background: rgba(102, 126, 234, 0.2);
            transform: scale(1.05);
        }

        .pdf-viewer-content {
            flex: 1;
            position: relative;
            overflow: hidden;
            background: #f5f5f5;
        }

        .pdf-iframe {
            width: 100%;
            height: 100%;
            border: none;
            background: white;
        }

        .pdf-loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: #666;
        }

        .pdf-loading-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid #667eea;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 15px;
        }

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

        .zoom-display {
            color: #667eea;
            font-weight: 600;
            font-size: 14px;
            padding: 8px 12px;
            background: rgba(102, 126, 234, 0.1);
            border-radius: 6px;
            min-width: 50px;
            text-align: center;
        }

        .error-message {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: #666;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            max-width: 400px;
            display: none;
        }

        @media (max-width: 1018px) {
            .navbar-menu {
                gap: 15px;
            }

            .navbar-menu li a {
                font-size: 0.85rem;
            }

            .navbar-btn {
                padding: 6px 12px;
                font-size: 0.8rem;
            }
        }

        @media (max-width: 900px) {
            .navbar-menu {
                gap: 12px;
            }

            .navbar-menu li a {
                font-size: 0.8rem;
            }

            .navbar-logo span {
                display: none;
            }

            .navbar-logo {
                gap: 5px;
            }

            .navbar-buttons {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .magazines-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 15px;
            }
            
            .hero-title {
                font-size: 2rem;
            }

            .navbar-menu {
                display: none !important;
                gap: 0;
            }

            .hamburger {
                display: flex;
            }

            .navbar-buttons {
                display: none;
            }
        }

        @media (max-width: 600px) {
            .navbar-container {
                flex-direction: row;
                gap: 10px;
            }

            .navbar-menu {
                flex-wrap: wrap;
                justify-content: center;
                gap: 10px;
            }

            .navbar-menu li a {
                font-size: 0.75rem;
            }

            .hero-title {
                font-size: 1.8rem;
            }

            .hero-subtitle {
                font-size: 0.9rem;
            }

            .pdf-viewer-header {
                flex-direction: row;
                gap: 10px;
            }

            .pdf-viewer-title-container {
                width: 100%;
                justify-content: center;
            }

            .hamburger {
                display: none !important;
            }

            .search-bar {
                display: none;
            }

            .search-bar.mobile-hidden {
                display: none;
            }

            .search-bar.mobile-visible {
                display: block;
            }

            .mobile-footer-nav {
                display: block;
            }

            body {
                padding-bottom: 60px;
            }
        }

        .loading-indicator {
            text-align: center;
            color: white;
            font-size: 1.2rem;
            margin: 50px 0;
        }

        .loading-spinner {
            display: inline-block;
            width: 40px;
            height: 40px;
            border: 3px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
            margin-right: 15px;
        }

        /* ===========================
           SLIDER STYLES - FULLWIDTH
           =========================== */
        .custom-slider-video {
            position: relative;
            width: 960px;
            height: 540px;
            overflow: hidden;
            background: #ffffff;
            /*margin-bottom: 0;
            margin-top: 0;*/
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .custom-slider-wrapper {
            position: relative;
            width: 100%;
            height: 500px;
            overflow: hidden;
            background: #ffffff;
            margin-bottom: 40px;
            margin-top: 40px;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .custom-slider-container {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .custom-slider-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            visibility: hidden;
        }

        .custom-slider-slide.active {
            opacity: 1;
            visibility: visible;
        }

        .custom-slider-image-layer {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .custom-slider-image-layer picture {
            display: block;
            width: 100%;
            height: 100%;
        }

        .custom-slider-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            position: relative;
            min-width: 100%;
            display: block;
        }

        .custom-slider-slide .custom-slider-img {
            opacity: 0;
            visibility: hidden;
            transform: translateX(-100%);
        }

        .custom-slider-slide.active .custom-slider-img {
            animation: sliderFadeIn 5s ease-out forwards;
            animation-delay: 0s;
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }

        @keyframes sliderFadeIn {
            0% {
                opacity: 0;
                visibility: visible;
            }
            100% {
                opacity: 1;
                visibility: visible;
            }
        }

        .slide-content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            padding: 60px;
            z-index: 5;
            color: #000;
            text-align: left;
            gap: 60px;
        }

        .slide-text-wrapper {
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            max-width: 500px;
            background: rgba(255, 255, 255, 0.15);
            padding: 20px;
            border-radius: 15px;
            backdrop-filter: blur(20px);
        }

        .slide-book-image {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 200px;
            height: 280px;
        }

        .slide-book-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
            opacity: 0;
            visibility: hidden;
            transform: translateX(-50px) rotateY(25deg);
            transition: all 0.8s ease-out;
        }

        .custom-slider-slide.active .slide-book-image img {
            opacity: 1;
            visibility: visible;
            transform: translateX(0) rotateY(0deg);
        }

        .custom-slider-slide.exit .slide-book-image img {
            opacity: 0;
            visibility: hidden;
            transform: translateX(-50px) rotateY(25deg);
            transition: all 0.6s ease-in;
        }

        .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: transparent;
            z-index: 2;
        }

        .slide-text-group {
            opacity: 1;
            visibility: visible;
        }

        .custom-slider-slide.active .slide-label,
        .custom-slider-slide.active .slide-title,
        .custom-slider-slide.active .slide-description,
        .custom-slider-slide.active .slide-button {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .slide-label {
            font-size: 16px;
            font-weight: 600;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 15px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.6s ease-out;
            color: #ffffff;
        }

        .slide-title {
            font-size: 48px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 25px;
            max-width: 500px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.6s ease-out;
            transition-delay: 0.2s;
            color: #ffffff;
        }

        .slide-description {
            font-size: 18px;
            line-height: 1.6;
            max-width: 500px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.6s ease-out;
            transition-delay: 0.4s;
            color: #ffffff;
        }

        .slide-button {
            margin-top: 30px;
            padding: 14px 40px;
            background: rgba(255, 255, 255, 0.15);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.25);
            border-radius: 50px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.6s ease-out;
            transition-delay: 0.6s;
        }

        .custom-slider-slide.active .slide-button {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .slide-button:hover {
            background: rgba(255, 255, 255, 0.25);
            border-color: rgba(255, 255, 255, 0.5);
        }

        .custom-slider-dots {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            z-index: 10;
        }

        .custom-slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .custom-slider-dot:hover {
            background: rgba(255, 255, 255, 0.7);
        }

        .custom-slider-dot.active {
            background: white;
            transform: scale(1.3);
        }

        .custom-slider-prev,
        .custom-slider-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            font-size: 30px;
            cursor: pointer;
            border-radius: 5px;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .custom-slider-prev:hover,
        .custom-slider-next:hover {
            background: rgba(255, 255, 255, 0.4);
        }

        .custom-slider-prev {
            left: 20px;
        }

        .custom-slider-next {
            right: 20px;
        }

        /* Slider Responsive */
        @media (max-width: 1024px) {
            .custom-slider-wrapper {
                height: 420px;
            }

            .slide-content {
                flex-direction: row;
                padding: 40px 30px;
                gap: 30px;
            }

            .slide-title {
                font-size: 40px;
            }

            .slide-description {
                font-size: 16px;
            }

            .slide-book-image {
                width: 160px;
                height: 240px;
            }
        }

        @media (max-width: 769px) {
            .custom-slider-wrapper {
                height: 420px;
                margin-bottom: 30px;
            }

            .slide-content {
                flex-direction: column;
                padding: 30px;
                gap: 20px;
            }

            .slide-text-wrapper {
                max-width: 100%;
                padding: 15px;
            }

            .slide-book-image {
                width: 140px;
                height: 210px;
            }

            .slide-label {
                font-size: 14px;
                letter-spacing: 2px;
                margin-bottom: 10px;
            }

            .slide-title {
                font-size: 32px;
                margin-bottom: 15px;
                max-width: 100%;
            }

            .slide-description {
                font-size: 15px;
                max-width: 100%;
            }

            .slide-button {
                margin-top: 15px;
                padding: 12px 30px;
                font-size: 14px;
            }

            .custom-slider-prev,
            .custom-slider-next {
                width: 45px;
                height: 45px;
                font-size: 24px;
            }

            .custom-slider-prev {
                left: 15px;
            }

            .custom-slider-next {
                right: 15px;
            }

            .custom-slider-dots {
                bottom: 20px;
                gap: 10px;
            }

            .custom-slider-dot {
                width: 10px;
                height: 10px;
            }
        }

        @media (max-width: 640px) {
            .custom-slider-wrapper {
                height: 400px;
                border-radius: 10px;
            }

            .slide-content {
                padding: 25px;
                gap: 15px;
            }

            .slide-book-image {
                width: 120px;
                height: 180px;
            }

            .slide-title {
                font-size: 26px;
                margin-bottom: 12px;
            }

            .slide-description {
                font-size: 14px;
                line-height: 1.4;
            }

            .slide-button {
                margin-top: 12px;
                padding: 10px 25px;
                font-size: 13px;
            }

            .custom-slider-prev,
            .custom-slider-next {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }
        }

        @media (max-width: 480px) {
            .custom-slider-wrapper {
                height: 360px;
                margin-bottom: 20px;
            }

            .slide-content {
                padding: 20px;
                gap: 12px;
            }

            .slide-text-wrapper {
                padding: 12px;
            }

            .slide-book-image {
                width: 100px;
                height: 150px;
            }

            .slide-label {
                font-size: 12px;
                margin-bottom: 8px;
            }

            .slide-title {
                font-size: 22px;
                margin-bottom: 10px;
            }

            .slide-description {
                font-size: 13px;
            }

            .slide-button {
                margin-top: 10px;
                padding: 9px 20px;
                font-size: 12px;
            }

            .custom-slider-prev,
            .custom-slider-next {
                width: 36px;
                height: 36px;
                font-size: 18px;
            }

            .custom-slider-dots {
                bottom: 15px;
                gap: 8px;
            }

            .custom-slider-dot {
                width: 8px;
                height: 8px;
            }
        }

        @media (max-width: 360px) {
            .custom-slider-wrapper {
                height: 340px;
            }

            .slide-title {
                font-size: 20px;
            }

            .slide-description {
                font-size: 12px;
            }
        }

        /* ===========================
           CONTENT MODAL - POPUP STYLES
           =========================== */

        .content-modal {
            display: none;
            position: fixed;
            z-index: 8000 !important;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .content-modal.active {
            display: flex;
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background: white;
            border-radius: 10px;
            width: 95%;
            max-width: 1000px;
            height: 90vh;
            display: flex;
            flex-direction: column;
            margin: auto;
            box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
            animation: modalSlideIn 0.3s ease-out;
        }

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

        .modal-header {
            background: #f5f5f5;
            padding: 15px 20px;
            border-bottom: 1px solid #ddd;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 10px 10px 0 0;
        }

        .modal-title {
            font-weight: 600;
            color: #333;
            font-size: 1.1rem;
            flex: 0 auto;
            max-width: 70%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .modal-close-btn {
            background: #667eea;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .modal-close-btn:hover {
            background: #5568d3;
        }

        .modal-body {
            flex: 1;
            overflow: auto;
            padding: 20px;
        }

        .modal-iframe {
            width: 100%;
            height: 100%;
            border: none;
            display: block;
        }

        .modal-loading {
            display: none;
            text-align: center;
            padding: 50px;
            color: #666;
        }

        .modal-spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #667eea;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @media (max-width: 768px) {
            .modal-content {
                width: 98%;
                height: 95vh;
            }

            .modal-header {
                padding: 12px 15px;
            }

            .modal-title {
                font-size: 1rem;
                flex: 0 auto;
                max-width: 60%;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .modal-close-btn {
                padding: 6px 12px;
                font-size: 0.85rem;
            }

            .modal-body {
                padding: 15px;
            }

            .mobile-download-btn {
                padding: 6px 12px;
                background: #667eea;
                color: white;
                border: none;
                border-radius: 4px;
                cursor: pointer;
                font-size: 0.8rem;
                display: flex;
                align-items: center;
                gap: 5px;
                transition: all 0.3s ease;
            }

            .mobile-download-btn:hover {
                background: #5568d3;
                transform: scale(1.05);
            }
        }

        @media (max-width: 480px) {
            .modal-content {
                width: 100%;
                height: 100vh;
                border-radius: 0;
            }

            .modal-header {
                border-radius: 0;
                padding: 15px;
                justify-content: flex-end;
            }

            .modal-title {
                font-size: 0.95rem;
                display: none !important;
                flex: 0 !important;
            }

            .modal-close-btn {
                padding: 8px 16px;
                font-size: 0.9rem;
            }

            .modal-body {
                padding: 10px;
            }
        }

/* Custom font needed for Cyrillic support if not system default */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Dropdown Hover Logic for Desktop */
.group:hover .group-hover\:block {
    display: block;
}

/* Smooth fade animation */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
}

.group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
