        /* Temel Stil Resetleme */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Playfair+Display:ital@0;1&family=Tangerine:wght@700&display=swap');

        body {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 20px;
            font-family: 'Playfair Display', serif;
            color: #2e7d32;
            /* Yeşil orman arkaplanı */
            background: linear-gradient(rgba(15, 51, 18, 0.8), rgba(21, 71, 26, 0.8)),
    url('https://cdn.pixabay.com/photo/2015/12/01/20/28/green-1072828_1280.jpg') no-repeat center center fixed;
            background-size: cover;
            position: relative;
        }

        /* Doğal yaprak dokusu arka planı */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(56, 142, 60, 0.12) 0%, transparent 40%),
                url('/api/placeholder/500/500');
            background-blend-mode: overlay;
            background-repeat: repeat;
            opacity: 0.25;
            z-index: -1;
            pointer-events: none;
        }

        /* Dekoratif yaprak desenleri */
        body::after {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                url('/api/placeholder/200/200') repeat,
                linear-gradient(45deg, rgba(46, 125, 50, 0.05) 25%, transparent 25%, transparent 75%, rgba(46, 125, 50, 0.05) 75%),
                linear-gradient(-45deg, rgba(46, 125, 50, 0.05) 25%, transparent 25%, transparent 75%, rgba(46, 125, 50, 0.05) 75%);
            background-size: auto, 60px 60px, 60px 60px;
            background-position: 0 0, 0 0, 30px 30px;
            opacity: 0.08;
            z-index: -1;
            pointer-events: none;
            animation: backgroundShift 100s linear infinite;
        }

        @keyframes backgroundShift {
            0% {
                background-position: 0 0, 0 0, 30px 30px;
            }
            100% {
                background-position: 0 1000px, 100px 0, 130px 30px;
            }
        }

        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('/api/placeholder/400/400') repeat;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            transition: opacity 0.8s ease;
        }

        .loading-icon {
            font-size: 60px;
            color: #2e7d32;
            filter: drop-shadow(0 0 15px rgba(76, 175, 80, 0.7));
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            25% {
                transform: translateY(-15px) rotate(5deg);
            }
            75% {
                transform: translateY(15px) rotate(-5deg);
            }
        }

        .book-container {
            position: relative;
            max-width: 900px;
            width: 90%;
            height: 600px;
            perspective: 2000px;
            margin: 50px auto;
            filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
        }

        .book {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 1s;
        }

        /* Kitabın gölgesi */
        .book::after {
            content: '';
            position: absolute;
            bottom: -30px;
            left: 10%;
            width: 80%;
            height: 20px;
            background: rgba(0, 0, 0, 0.4);
            filter: blur(15px);
            border-radius: 50%;
            z-index: -1;
        }

        .page {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #e8f5e9; /* Açık yeşil arka plan */
            background-image: url('/api/placeholder/800/600');
            background-size: cover;
            display: flex;
            justify-content: center;
            align-items: center;
            backface-visibility: hidden;
            transform-origin: left center;
            transform-style: preserve-3d;
            transition: transform 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
            border-radius: 0 5px 5px 0;
            overflow: hidden;
            box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
        }

        /* Sayfa kenarı yıpranma efekti */
        .page::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('/api/placeholder/300/300');
            background-size: cover;
            opacity: 0.12;
            pointer-events: none;
        }

        /* Sayfa leke efekti */
        .page::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-image: url('/api/placeholder/200/200');
            background-repeat: no-repeat;
            background-position: right bottom;
            opacity: 0.1;
            transform: rotate(180deg);
            pointer-events: none;
        }

        .page-content {
            width: 90%;
            height: 90%;
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            position: relative;
            z-index: 2;
            /* Açık yeşil tonlu kağıt dokusu */
            background: rgba(232, 245, 233, 0.95);
            border-radius: 8px;
            /* İçeriğin gölgesi */
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        }

        /* Yeşil mürekkep lekesi efekti */
        .page-content::before {
            content: '';
            position: absolute;
            top: 10%;
            right: 15%;
            width: 40px;
            height: 40px;
            background: rgba(46, 125, 50, 0.1);
            border-radius: 50%;
            filter: blur(10px);
            transform: rotate(25deg);
        }

        .page.flipped {
            transform: rotateY(-170deg);
            box-shadow: -20px 10px 30px rgba(0, 0, 0, 0.25);
            z-index: 10;
        }

        .page.hidden {
            display: none;
        }

        .cover-front,
        .cover-back {
            background: linear-gradient(45deg, #1b5e20 0%, #2e7d32 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: 'Cinzel', serif;
            font-weight: bold;
            border-radius: 5px;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
            overflow: hidden;

            /* Yeşil deri kitap kapağı dokusu */
            background-image:
                linear-gradient(rgba(27, 94, 32, 0.7), rgba(46, 125, 50, 0.7)),
                url('/api/placeholder/500/500');
            background-blend-mode: overlay;
            background-size: cover;
        }

        /* İsteğe bağlı: Kapağa tıklanabileceğini belli eden bir ipucu ekleyin */
        .cover-front::after {
            content: "Başlamak için dokunun";
            position: absolute;
            bottom: 30px;
            left: 0;
            right: 0;
            text-align: center;
            font-size: 16px;
            color: rgba(255, 255, 255, 0.7);
            opacity: 0.8;
            pointer-events: none;
        }

        /* Kapak deri efekti */
        .cover-front::before,
        .cover-back::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('/api/placeholder/300/300');
            background-repeat: repeat;
            opacity: 0.3;
            box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.6);
        }

        /* Kapak kenarlık süsleme */
        .cover-content {
            width: 80%;
            height: 85%;
            border: 8px solid rgba(129, 199, 132, 0.6);
            border-radius: 5px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9);
            font-size: 36px;
            color: #e8f5e9;
            letter-spacing: 3px;
            text-transform: uppercase;
            box-shadow:
                inset 0 0 20px rgba(0, 0, 0, 0.6),
                0 0 20px rgba(76, 175, 80, 0.3);
        }

        /* Süslü köşe detayları */
        .cover-content::before,
        .cover-content::after {
            content: '✦';
            position: absolute;
            font-size: 24px;
            color: #a5d6a7;
        }

        .cover-content::before {
            top: 10px;
            left: 10px;
        }

        .cover-content::after {
            bottom: 10px;
            right: 10px;
        }

        /* Kapak yazar-tarih bilgisi */
        .cover-content::after {
            content: '2025';
            position: absolute;
            bottom: 20px;
            font-size: 16px;
            font-style: italic;
            color: #a5d6a7;
            opacity: 0.8;
        }

        h1 {
            margin-bottom: 30px;
            color: #2e7d32;
            font-size: 28px;
            font-family: 'Cinzel', serif;
            letter-spacing: 2px;
            text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
            position: relative;
            padding-bottom: 12px;
        }

        /* Başlık alt çizgisi */
        h1::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 15%;
            width: 70%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.5), transparent);
        }

        .form-group {
            width: 80%;
            margin-bottom: 25px;
            position: relative;
        }

        label {
            display: block;
            margin-bottom: 10px;
            color: #2e7d32;
            font-weight: bold;
            font-size: 18px;
            letter-spacing: 1px;
            text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
        }

        input,
        textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #81c784;
            border-radius: 5px;
            background-color: rgba(252, 250, 245, 0.9);
            font-size: 16px;
            color: #1b5e20;
            transition: all 0.3s ease;
            font-family: 'Playfair Display', serif;
            box-shadow:
                inset 2px 2px 5px rgba(0, 0, 0, 0.05),
                0 2px 5px rgba(0, 0, 0, 0.1);
        }

        input:focus,
        textarea:focus {
            border-color: #2e7d32;
            outline: none;
            box-shadow:
                0 0 8px rgba(46, 125, 50, 0.4),
                inset 0 0 5px rgba(46, 125, 50, 0.2);
            background-color: #f1f8e9;
        }

        /* Gölgeli input efekti */
        input::placeholder,
        textarea::placeholder {
            color: #aed581;
            font-style: italic;
        }

        textarea {
            min-height: 120px;
            resize: vertical;
            line-height: 1.5;
        }

        .button-container {
            display: flex;
            justify-content: space-between;
            width: 80%;
            margin-top: 25px;
        }

        .nav-button {
            background: #e8f5e9;
            color: #2e7d32;
            border: none;
            padding: 12px 25px;
            border-radius: 30px;
            cursor: pointer;
            font-size: 16px;
            font-family: 'Cinzel', serif;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow:
                0 5px 15px rgba(0, 0, 0, 0.2),
                inset 0 1px 3px rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
            text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
        }

        /* Yaşlı düğme efekti */
        .nav-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('/api/placeholder/100/100');
            opacity: 0.1;
        }

        .nav-button:hover {
            transform: translateY(-3px);
            box-shadow:
                0 8px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 3px rgba(255, 255, 255, 0.3);
            background: linear-gradient(to bottom, #a5d6a7 0%, #81c784 100%);
        }

        .nav-button:active {
            transform: translateY(1px);
            box-shadow:
                0 2px 5px rgba(0, 0, 0, 0.2),
                inset 0 1px 3px rgba(255, 255, 255, 0.3);
        }

        .nav-button i {
            margin: 0 8px;
            font-size: 14px;
        }

        .submit-button {
            background: linear-gradient(to bottom, #2e7d32 0%, #1b5e20 100%);
            color: white;
            min-width: 150px;
            position: relative;
            overflow: hidden;
        }

        .submit-button:hover {
            background: linear-gradient(to bottom, #388e3c 0%, #2e7d32 100%);
        }

        /* Buton parlama efekti */
        .nav-button::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(60deg,
            rgba(255, 255, 255, 0) 10%,
            rgba(255, 255, 255, 0.1) 20%,
            rgba(255, 255, 255, 0) 30%);
            transform: rotate(45deg);
            transition: all 0.7s;
        }

        .nav-button:hover::after {
            left: 120%;
            transition: all 0.7s;
        }

        .upload-area {
            width: 80%;
            height: 200px;
            border: 3px dashed #81c784;
            border-radius: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            cursor: pointer;
            transition: all 0.3s ease;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%); /* Bu kısım öğeyi tam ortalar */
            overflow: hidden;
            background-color: rgba(232, 245, 233, 0.6);
        }

        .upload-area:hover {
            border-color: #2e7d32;
            background-color: rgba(241, 248, 233, 0.8);
            transform: translate(-50%, -50%) translateY(-2px); /* Ortalamayı koru */
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .upload-area i {
            font-size: 40px;
            color: #2e7d32;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .upload-area:hover i {
            transform: scale(1.1);
            color: #1b5e20;
        }

        .upload-area p {
            color: #2e7d32;
            font-style: italic;
        }

        #fileInput {
            opacity: 0;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }

        #preview {
            max-width: 90%;
            max-height: 150px;
            display: none;
            margin-top: 15px;
            border-radius: 5px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
            border: 4px solid #c8e6c9;
            transition: all 0.3s ease;
        }

        .page-number {
            position: absolute;
            bottom: 15px;
            font-size: 12px;
            color: #66bb6a;
            font-style: italic;
            border-top: 1px solid rgba(102, 187, 106, 0.3);
            padding-top: 5px;
        }

        .thank-you {
            font-size: 28px;
            color: #2e7d32;
            margin-bottom: 20px;
            text-align: center;
            transition: all 0.5s ease;
        }

        .thank-you i {
            font-size: 60px;
            margin-bottom: 15px;
            animation: pulse 2s infinite;
            color: #2e7d32;
            display: block;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }
            50% {
                transform: scale(1.1);
                opacity: 0.7;
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Mobil uyumluluk için medya sorgulama */
        @media (max-width: 768px) {
            .book-container {
                width: 95%;
                height: 80vh;
            }

            h1 {
                font-size: 22px;
            }

            .form-group {
                width: 90%;
            }

            .page-content {
                padding: 15px;
            }

            .nav-button {
                padding: 10px 15px;
                font-size: 14px;
            }

            .cover-content {
                font-size: 28px;
            }
        }

        /* Yatay düzenleme kontrolü için */
        .orientation-message {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 50, 10, 0.9);
            color: #a5d6a7;
            justify-content: center;
            align-items: center;
            z-index: 999;
            flex-direction: column;
            text-align: center;
            padding: 20px;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
        }

        .orientation-message i {
            font-size: 60px;
            margin-bottom: 20px;
            animation: float 3s ease-in-out infinite;
            color: #a5d6a7;
        }

        @media (max-width: 640px) and (orientation: portrait) {
            .orientation-message {
                display: flex;
            }
        }

        .page-indicator {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            padding: 10px 15px;
            background: rgba(27, 94, 32, 0.7);
            border-radius: 30px;
            backdrop-filter: blur(4px);
        }

        .page-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(200, 230, 201, 0.6);
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
        }

        .page-dot:hover {
            transform: scale(1.1);
            background-color: rgba(200, 230, 201, 0.9);
        }

        .page-dot.active {
            background-color: #81c784;
            transform: scale(1.2);
            box-shadow: 0 0 8px rgba(129, 199, 132, 0.7);
        }

        /* Sayfa kenarlarında kıvrılma efekti */
        .page {
            position: relative;
        }

        .page::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 30px;
            height: 30px;
            background: linear-gradient(135deg, transparent 50%, rgba(0, 0, 0, 0.03) 50%);
            border-radius: 0 0 0 10px;
            box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            z-index: 3;
        }

        .page:hover::after {
            width: 40px;
            height: 40px;
            box-shadow: -3px 3px 8px rgba(0, 0, 0, 0.15);
        }

        /* Kitap ve sayfaların perspektif düzeltmesi */
        .book {
            transform: rotateX(5deg);
            transition: transform 0.5s ease;
        }

        .book:hover {
            transform: rotateX(0deg);
        }

        /* Kitabın kenar süslemesi */
        .book::before {
            content: '';
            position: absolute;
            top: 5px;
            bottom: 5px;
            left: 0;
            width: 12px;
            background: #1b5e20;
            border-radius: 3px 0 0 3px;
            box-shadow:
                inset 1px 0 3px rgba(0, 0, 0, 0.3),
                inset 0 0 3px rgba(129, 199, 132, 0.5);
            z-index: 1;
        }

        /* Kitabın sayfalarının yan taraftan görünümü */
        .book::after {
            content: '';
            position: absolute;
            top: 10px;
            bottom: 10px;
            left: 12px;
            width: 5px;
            background: repeating-linear-gradient(to bottom,
            #e8f5e9 0px,
            #e8f5e9 2px,
            #c8e6c9 2px,
            #c8e6c9 4px);
            z-index: 1;
        }

        /* Antika kitap süslemeleri */
        .cover-content::before {
            content: '';
            position: absolute;
            top: 15px;
            left: 15px;
            right: 15px;
            bottom: 15px;
            border: 1px solid rgba(129, 199, 132, 0.4);
            pointer-events: none;
        }

        /* Dekoratif köşe süslemeleri */
        .page-content::before {
            content: '❦';
            position: absolute;
            top: 15px;
            left: 15px;
            font-size: 15px;
            color: rgba(46, 125, 50, 0.3);
        }

        .page-content::after {
            content: '❦';
            position: absolute;
            bottom: 15px;
            right: 15px;
            font-size: 15px;
            color: rgba(46, 125, 50, 0.3);
        }

        /* Kitabın yukarıdan aşağıya belirmesi */
        @keyframes bookAppear {
            0% {
                opacity: 0;
                transform: translateY(50px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .book-container {
            animation: bookAppear 1.5s ease-out forwards;
        }

        /* Gözden kaybolma animasyonu */
        @keyframes fadeAway {
            0% {
                opacity: 1;
                transform: translateY(0);
            }
            100% {
                opacity: 0;
                transform: translateY(-30px);
            }
        }

        /* 3D kitap efektini geliştirme */
        .book {
            box-shadow:
                -10px 10px 30px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(0, 0, 0, 0.15);
        }

        /* Sayfa geçişlerinde daha yumuşak efekt */
        .page.flipped {
            animation: pageFlip 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
        }

        @keyframes pageFlip {
            0% {
                transform: rotateY(0);
            }
            100% {
                transform: rotateY(-170deg);
            }
        }

        /* Sayfa geçişlerinde gölge efekti */
        .page.flipped::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to left, rgba(0, 0, 0, 0.3), transparent);
            z-index: 2;
            transition: opacity 0.7s ease;
            opacity: 0;
        }

        .page.flipping::before {
            opacity: 1;
        }

        /* Sayfalarda yeşil leke efekti */
        .page:nth-child(odd)::before {
            content: '';
            position: absolute;
            top: 30%;
            left: 10%;
            width: 60px;
            height: 60px;
            background: rgba(46, 125, 50, 0.03);
            border-radius: 50%;
            filter: blur(15px);
            opacity: 0.5;
        }

        .page:nth-child(even)::before {
            content: '';
            position: absolute;
            bottom: 20%;
            right: 15%;
            width: 40px;
            height: 40px;
            background: rgba(46, 125, 50, 0.03);
            border-radius: 50%;
            filter: blur(12px);
            opacity: 0.5;
        }

        /* Sayfa numarası dekoratif elementleri */
        .page-number::before {
            content: '✽';
            margin-right: 8px;
            font-size: 10px;
        }

        .page-number::after {
            content: '✽';
            margin-left: 8px;
            font-size: 10px;
        }