@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
:root {

    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #111111
    --text-light: #999999;
    --accent-red: #d32f2f;

}

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

/* Header */
header {

    text-align: center;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    position: relative;
}
body {
    display: grid;
    place-content: center;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-color: var(--bg-light);
}

/* ======================
   FLIPBOOK
   Ratio: 426 × 644
====================== */
.flipbook {
    width: 90vw;
    max-width: 852px;
    aspect-ratio: 852 / 644;
}

.flipbook .page {
    width: 100%;
    height: 100%;
    overflow: hidden;
    
}

.flipbook .page img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ======================
   HARD COVER (OPTIONAL)
====================== */
.flipbook .hard {
    background: #312787;
    color: #fff;
    font-weight: 600;
    border: none;
    
}

/* ======================
   TURN.JS FIXES
====================== */
.flipbook .page-wrapper {
    perspective: 2000px;
}

.flipbook .page img {
    backface-visibility: hidden;
}

/* ======================
   RESPONSIVE SCALING
====================== */
@media (max-width: 500px) {
    .flipbook {
        width: 90vw;
        height: calc(90vw * 1.512);
    }
}

@media (max-height: 700px) {
    .flipbook {
        height: 90vh;
        width: calc(90vh * 0.661);
    }
}

.button {
    font-size: 12px;
    font-weight: 600;
    color: white;
    background-color: #1a1a1a;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.button:hover {
    background-color: var(--accent-red);
    transform: translateY(-2px);
}

