

/* ===== YAPIŞKAN NOT ===== */
#wall > div {
    background: #fff9a6;
    width: 220px;
    min-height: 160px;
    padding: 15px;
    font-size: 14px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    transform: rotate(-2deg);
    position: relative;
    border-radius: 2px;
}
/* RAPTIYE EFEKTİ */
#wall > div::before {
    content: "";
    width: 14px;
    height: 14px;
    background: #c0392b;
    border-radius: 50%;
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* TARİH */
#wall small {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    color: #555;
    text-align: right;
}.wall-post {
    background: #fff9c4;
    padding: 18px;
    margin: 20px auto;
    max-width: 500px;
    border-radius: 6px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    font-size: 15px;
    position: relative;
}
.wall-post small {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: #555;
}
/* ===== DUVAR ANA SAYFA NOTU ===== */
.back-note {
    position: fixed;
    top: 20px;
    right: 25px;

    background: #fff7a8; /* yapışkan not rengi */
    color: #333;
    padding: 10px 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;

    border-radius: 6px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);

    transform: rotate(-3deg); /* hafif eğik → pano hissi */
    transition: transform 0.2s ease;
}

.back-note:hover {
    transform: rotate(0deg) scale(1.05);
}
.wall-bg {
    min-height: 100vh;

    background-image: url("../images/corkboard.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    font-family: "Segoe UI", system-ui, sans-serif;
}
.writer-girl {
    position: absolute;
    top: -40px;
    right: -60px;
    width: 120px;
}

.writer-girl img {
    width: 100%;
    animation: typing 1s infinite alternate;
}

@keyframes typing {
    from { transform: translateY(0); }
    to { transform: translateY(3px); }
}
.note-write-area {
    text-align: center;
    margin-bottom: 40px;
}

.note-hint {
    font-size: 15px;
    margin-bottom: 10px;
}

.computer {
    width: 420px;
    margin: 0 auto;
    background: #222;
    padding: 15px;
    border-radius: 12px;
}

.computer textarea {
    width: 100%;
    height: 100px;
    background: #111;
    color: #0f0;
    border: none;
    font-family: monospace;
    padding: 10px;
    resize: none;
}
.pin-btn {
    margin-top: 12px;
    padding: 10px 18px;
    background: #c0392b;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
/* ===== DUVAR ÜST ŞERİT ===== */
.wall-header {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 50px;
    padding: 28px 20px 22px;

    background: linear-gradient(
        to right,
        #e8c98a,
        #f3d89f,
        #e8c98a
    );

    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    border-bottom: 4px solid #c9a566;
}

/* BAŞLIK */
.wall-header h1 {
    margin: 0;
    font-size: 52px;
    letter-spacing: 6px;
    color: #1b140d;
}

/* ALT YAZI */
.wall-header p {
    margin-top: 6px;
    font-size: 14px;
    opacity: 0.85;
    color: #2a1f15;
}

/* ŞERİT UÇLARI (BANT HİSSİ) */
.wall-header::before,
.wall-header::after {
    content: "";
    position: absolute;
    top: 100%;
    width: 60px;
    height: 18px;
    background: #c9a566;
}

.wall-header::before {
    left: 0;
    transform: skewX(-20deg);
}

.wall-header::after {
    right: 0;
    transform: skewX(20deg);
}
.wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;

    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.note {
    background: #fff9d6;
    padding: 14px;
    border-radius: 6px;

    font-size: 14px;
    line-height: 1.4;

    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transform: rotate(-1deg);
    position: relative;
}

/* raptiye efekti */
.note::before {
    content: "📌";
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 18px;
}
.back-to-home {
    position: fixed;
    top: 120px;
    left: 20px;
    z-index: 99999;
    pointer-events: auto;
}
.wall,
.board,
.content {
    pointer-events: none;
}.wall-grid {
    display: grid;
    /* 6 sütunlu yapı, her biri eşit genişlikte */
    grid-template-columns: repeat(6, 1fr); 
    gap: 20px;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Mobilde bozulmaması için (Opsiyonel) */
@media (max-width: 1200px) {
    .wall-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .wall-grid { grid-template-columns: repeat(1, 1fr); }
}

.note {
    background: #fff9d6;
    padding: 15px;
    min-height: 120px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    word-wrap: break-word; /* Uzun kelimelerin kutudan taşmasını önler */
}

.note small {
    font-size: 10px;
    color: #777;
    text-align: right;
    margin-top: 10px;
}
/* MOBİL UYUMLULUK AYARLARI */
@media (max-width: 850px) {
    .page-wrapper {
        grid-template-columns: 1fr !important; /* Yan yana olan yapıyı alt alta yapar */
    }
    
    .left-sidebar {
        order: 1; /* Oyunu üste alır */
    }

    .main-content {
        order: 2; /* Yazıları alta alır */
    }

    #tetris {
        width: 100% !important; /* Ekran genişliğine göre büyür */
        max-width: 240px;
        height: auto;
    }

    .mobile-controls {
        display: grid !important; /* Sadece mobilde butonları gösterir */
    }
}

/* BUTONLARIN GÖRÜNÜMÜ */
.mobile-controls {
    display: none; /* Bilgisayarda gizle */
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.ctrl-btn {
    background: #6c63ff;
    color: white;
    border: none;
    padding: 20px;
    border-radius: 10px;
    font-size: 24px;
    touch-action: manipulation; /* Çift tıklayıp büyütmeyi engeller */
}