:root {
    --primary-color: #4F2B1D;
    --secondary-color: #EEDAB3;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--primary-color);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    text-align: center;
    padding: 2rem;
    max-width: 1000px;
    width: 100%;
}

.logo {
    margin-bottom: 3rem;
}

.logo-img {
    width: 240px;
    max-width: 80vw;
    margin-bottom: 2.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    animation: logo-fade-in 1.2s cubic-bezier(.4,0,.2,1);
}

@keyframes logo-fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.gear {
    width: 120px;
    height: 120px;
    fill: var(--secondary-color);
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 8px 0 rgba(141,41,43,0.08);
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
}

.download-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.download-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(253,203,139,0.08);
    border-radius: 1.5rem;
    padding: clamp(10px, 1.43vw, 20px) clamp(15px, 2.14vw, 30px);
    box-shadow: 0 2px 12px 0 rgba(141,41,43,0.07);
    transition: box-shadow 0.3s;
    gap: 15px;
}
.download-row:hover {
    box-shadow: 0 6px 24px 0 rgba(141,41,43,0.18);
}

.download-title {
    font-size: clamp(16px, 1.43vw, 20px);
    font-weight: 600;
    color: var(--secondary-color); 
}

.download-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.btn:hover .download-icon {
    animation: bounce 0.5s ease infinite;
}

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

.section-1 {
    margin-bottom: 4rem;
}

.section-2 {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--secondary-color);
}

/* SECTION 2: 4'lü Grid, Farklı Buton - Kutu eşitliği */
.download-section-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1100px;
    justify-items: stretch;
}
.download-row-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(253,203,139,0.13) 0%, rgba(141,41,43,0.10) 100%);
    border-radius: 1.2rem;
    padding: 1.5rem 1.2rem 1.7rem 1.2rem;
    box-shadow: 0 2px 12px 0 rgba(141,41,43,0.07);
    border: 2px solid var(--secondary-color);
    min-width: 0;
    min-height: 180px;
    height: 100%;
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.2s;
    position: relative;
}
.download-row-horizontal:hover {
    box-shadow: 0 8px 32px 0 rgba(141,41,43,0.22);
    border-color: var(--primary-color);
    transform: translateY(-6px) scale(1.04);
}

.download-row-horizontal .download-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    text-align: center;
    letter-spacing: 0.01em;
}

.download-row-horizontal .btn {
    width: 100%;
    justify-content: center;
    border-radius: 0.7rem;
    background: linear-gradient(90deg, var(--secondary-color) 60%, #fffbe6 100%);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
    margin-top: 0.2rem;
    padding: 0.7rem 1.2rem;
}
.download-row-horizontal .btn:hover {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fffbe6;
    border-color: var(--secondary-color);
    transform: scale(1.06);
}
.download-row-horizontal .download-icon {
    fill: currentColor;
    margin-right: 0.5rem;
    transition: transform 0.3s;
}
.download-row-horizontal .btn:hover .download-icon {
    transform: scale(1.18) rotate(-12deg);
}

/* SECTION 1: Klasik Dikey */
.btn-1 {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: clamp(14px, 1.14vw, 16px);
    padding: clamp(5px, 0.71vw, 10px) clamp(15px, 1.79vw, 25px);
    display: inline-flex;
    align-items: center;
    gap: clamp(4px, 0.57vw, 8px);
    transition: background 0.3s, color 0.3s;
}
.btn-1:hover {
    background: #fffbe6;
    color: var(--primary-color);
}
.btn-1 i {
    font-size: 1.3rem;
    margin-right: 0.3rem;
    transition: color 0.3s;
}

/* SECTION 2: 4'lü Grid, Farklı Buton */
.btn-2 {
    background: linear-gradient(90deg, var(--secondary-color) 60%, #fffbe6 100%);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 0.7rem;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    margin-top: 0.2rem;
    padding: 0.7rem 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-2:hover {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fffbe6;
    border-color: var(--secondary-color);
}
.btn-2 i {
    font-size: 1.3rem;
    margin-right: 0.3rem;
    transition: color 0.3s;
}



.list-section {
    list-style: none;
    padding: 0;
    margin: 2rem auto 0 auto;
    max-width: 100%;
}
.list-section li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fffbe6;
    border-radius: 0.8rem;
    margin-bottom: 1.2rem;
    padding: 1rem 1.5rem;
    border: 1.5px solid var(--primary-color);
}
.list-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.btn-4 {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-4:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* SECTION 5: Minimal ve Sadece İkon Buton + Efektli */
.section-5 {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--secondary-color);
}
.minimal-list {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-top: 2rem;
}
.minimal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    cursor: pointer;
}
.minimal-item:focus {
    outline: none;
}
.minimal-item .btn-5 {
}
.minimal-item:hover .btn-5,
.minimal-item:focus .btn-5,
.minimal-item:active .btn-5,
.minimal-item:focus-visible .btn-5,
.minimal-item:focus-within .btn-5,
.minimal-item:target .btn-5,
.minimal-item:visited .btn-5,
.minimal-item:link .btn-5,
.minimal-item:focus-visible .btn-5,
.minimal-item:focus-within .btn-5,
.minimal-item:active .btn-5,
.minimal-item:focus .btn-5 {
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 6px 24px 0 rgba(141,41,43,0.18);
}
.minimal-item:hover .btn-5:before,
.minimal-item:focus .btn-5:before {
    width: 3.8rem;
    height: 3.8rem;
    opacity: 1;
}
.minimal-item:hover .btn-5:after,
.minimal-item:focus .btn-5:after {
    width: 3.8rem;
    height: 3.8rem;
    opacity: 1;
}
.minimal-title {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.3rem;
    text-align: center;
    letter-spacing: 0.01em;
    user-select: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .download-section-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-list {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 900px) {
    .download-section-horizontal {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 700px) {
    .download-section-horizontal {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .content-horizontal {
        flex-direction: column;
        align-items: center;
    }
    .card-list {
        flex-direction: column;
        align-items: center;
    }
    .minimal-list {
        flex-direction: column;
        gap: 1rem;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 8px;
    }
    .logo-img {
        width: 180px;
    }
    .download-section-horizontal {
        gap: 0.7rem;
    }
    .download-row-horizontal {
        min-width: 120px;
        max-width: 100%;
        padding: 1rem 0.5rem;
    }
    .card {
        min-width: 120px;
        max-width: 100%;
        padding: 1rem 0.5rem;
    }
}
