@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400&display=swap');

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

body {
    background: #1f1f22;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.cover-container {
    perspective: 1000px;
}

/* The notebook cover */
.notebook-cover {
    display: block;
    width: 400px;
    height: 550px;
    background: #2c2416;
    border: 1px solid #1a1410;
    box-shadow: 
        8px 8px 20px rgba(0, 0, 0, 0.6),
        inset 2px 2px 4px rgba(255, 255, 255, 0.05);
    transform: rotate(-3deg);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    text-decoration: none;
    padding: 60px 40px;
    
    /* Subtle texture */
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        );
}

.notebook-cover:hover {
    transform: rotate(-1deg) translateY(-5px);
    box-shadow: 
        12px 12px 30px rgba(0, 0, 0, 0.7),
        inset 2px 2px 4px rgba(255, 255, 255, 0.08);
}

/* Title on cover */
.cover-title {
    font-family: 'Kalam', cursive;
    font-size: 2.2em;
    font-weight: 400;
    color: #d4c5a9;
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: left;
}

/* Subtle hint */
.cover-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85em;
    color: #8b7d6b;
    opacity: 0;
    transition: opacity 0.3s ease;
    letter-spacing: 1px;
}

.notebook-cover:hover .cover-hint {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .notebook-cover {
        width: 320px;
        height: 450px;
        padding: 50px 30px;
    }
    
    .cover-title {
        font-size: 1.8em;
    }
}