/* Wall Newspaper Specific Styles */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap');

/* School Badge */
.school-badge {
    position: absolute;
    top: 100px;
    left: 50px;
    z-index: 10;
}

.badge-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d, #ffa07a);
    border: 5px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 3rem;
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-top: 5px;
}

/* Main Banner */
.main-banner {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa07a 50%, #ffd93d 100%);
    border-radius: 50px;
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 800px;
    position: relative;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.4);
    border: 6px solid white;
    transform: rotate(-1deg);
}

.banner-decoration {
    position: absolute;
    font-size: 4rem;
    animation: rotate 4s ease-in-out infinite;
}

.banner-decoration.left {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.banner-decoration.right {
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes rotate {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(15deg);
    }
}

.banner-content {
    text-align: center;
}

.handwritten-title {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.1em;
    margin: 0;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', 'Arial Rounded MT Bold', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cursive-subtitle {
    font-size: 2.5rem;
    font-family: 'Brush Script MT', 'Apple Chancery', 'Snell Roundhand', cursive, -apple-system, BlinkMacSystemFont, sans-serif;
    color: white;
    margin-top: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Welcome Box */
.welcome-box {
    background: white;
    border-radius: 30px;
    padding: 2.5rem;
    margin: 3rem auto;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 5px dashed #ffd93d;
    position: relative;
}

.welcome-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.welcome-box h3 {
    color: #ff6b9d;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
}

.welcome-box p {
    color: #2d3748;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
}

/* Floating Decorations */
.floating-decoration {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite;
}

.flower-1 {
    top: 150px;
    right: 100px;
    animation-delay: 0s;
}

.flower-2 {
    bottom: 200px;
    left: 80px;
    animation-delay: 1s;
}

.star-1 {
    top: 300px;
    left: 150px;
    animation-delay: 0.5s;
}

.star-2 {
    bottom: 150px;
    right: 120px;
    animation-delay: 1.5s;
}

/* Wall Section Headers */
.wall-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.wall-section-title {
    font-size: 3rem;
    font-weight: 900;
    color: #ff6b9d;
    text-shadow: 3px 3px 0px #ffd93d;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', 'Arial Rounded MT Bold', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.05em;
    transform: rotate(-2deg);
}

.wall-section-title.cursive {
    font-family: 'Brush Script MT', 'Apple Chancery', 'Snell Roundhand', cursive, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
}

.header-decoration {
    font-size: 2rem;
}

/* Photo Wall */
.photo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0 2rem;
    padding: 0;
}

.polaroid-photo {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.polaroid-photo.photo-1 {
    transform: rotate(-3deg);
}

.polaroid-photo.photo-2 {
    transform: rotate(2deg);
}

.polaroid-photo.photo-3 {
    transform: rotate(-2deg);
}

.polaroid-photo.photo-4 {
    transform: rotate(3deg);
}

.polaroid-photo:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
}

.photo-frame {
    background: white;
    padding: 15px;
    padding-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.photo-frame img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.photo-caption {
    text-align: center;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2d3748;
    font-size: 1.1rem;
    margin-top: 15px;
    font-weight: 600;
}

.photo-pin {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 2.5rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Wave Divider */
.wave-divider {
    margin: 3rem 0;
}

.wave-divider svg {
    width: 100%;
    height: 100px;
}

/* Poetry Section */
.wall-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.poetry-box {
    background: linear-gradient(135deg, #fff5f7, #ffe8f0);
    border-radius: 30px;
    padding: 2.5rem;
    border: 5px solid #ffd93d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: rotate(-1deg);
}

.tree-decoration {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 3rem;
}

.flower-decoration {
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 3rem;
}

.poem-content {
    font-family: 'Brush Script MT', 'Apple Chancery', 'Snell Roundhand', cursive, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.3rem;
    color: #2d3748;
    line-height: 2;
}

.poem-line {
    margin: 0.5rem 0;
}

/* Art Preview Section */
.art-corner-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.art-corner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

.art-corner-section .section-header {
    position: relative;
    z-index: 1;
}

.art-corner-section .section-title {
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 3rem;
}

.art-corner-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    font-weight: 500;
}

.art-corner-section .section-icon {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.art-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.art-preview-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.art-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3);
}

.art-preview-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #ffd93d, #ff6b9d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.art-preview-image img,
.art-preview-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-preview-info {
    padding: 1.5rem;
}

.art-preview-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.art-preview-category.badge-drawings {
    background: linear-gradient(135deg, #ff6b9d, #ffa07a);
    color: white;
}

.art-preview-category.badge-cards {
    background: linear-gradient(135deg, #c77dff, #ff6b9d);
    color: white;
}

.art-preview-category.badge-videos {
    background: linear-gradient(135deg, #ffd93d, #ffa07a);
    color: white;
}

.art-preview-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0.5rem 0;
}

.art-preview-artist {
    font-size: 0.9rem;
    color: #718096;
}

/* Mini Game Wall Section */
.minigame-wall-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    justify-items: center;
}

.minigame-bubble {
    background: linear-gradient(135deg, #c77dff, #ff6b9d);
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 5px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    margin: 0 auto;
}

.minigame-bubble.bubble-1 {
    background: linear-gradient(135deg, #ff6b9d, #ffa07a);
}

.minigame-bubble.bubble-2 {
    background: linear-gradient(135deg, #ffd93d, #ffa07a);
}

.minigame-bubble.bubble-3 {
    background: linear-gradient(135deg, #06d6a0, #4cc9f0);
}

.minigame-bubble.bubble-4 {
    background: linear-gradient(135deg, #c77dff, #ff6b9d);
}

.minigame-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.bubble-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.minigame-bubble h3 {
    color: white;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.bubble-btn {
    background: white;
    color: #ff6b9d;
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

.bubble-btn:hover {
    transform: scale(1.05);
    background: #ffd93d;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

/* Character Decoration */
.character-decoration {
    position: relative;
    margin-top: 2rem;
    text-align: center;
}

.cute-character {
    font-size: 5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.speech-bubble {
    background: white;
    border-radius: 20px;
    padding: 1rem 1.5rem;
    display: inline-block;
    margin-top: 1rem;
    font-weight: 700;
    color: #ff6b9d;
    border: 3px solid #ffd93d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #ffd93d;
}

/* Message Board */
.message-board {
    background: linear-gradient(135deg, #fff5f7, #ffe8f0);
    border-radius: 30px;
    padding: 2.5rem;
    margin: 3rem 0;
    border: 5px dashed #ff6b9d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.board-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.board-icon {
    font-size: 2rem;
}

.board-header h3 {
    font-size: 2rem;
    color: #ff6b9d;
    font-weight: 800;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', -apple-system, BlinkMacSystemFont, sans-serif;
}

.messages-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.message-note {
    background: #ffd93d;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    position: relative;
}

.message-note::before {
    content: '📌';
    position: absolute;
    top: -15px;
    right: 10px;
    font-size: 2rem;
}

.message-note.note-1 {
    background: #ffd93d;
    transform: rotate(-3deg);
}

.message-note.note-2 {
    background: #ffa07a;
    transform: rotate(2deg);
}

.message-note.note-3 {
    background: #c77dff;
    transform: rotate(-2deg);
}

.message-note:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
}

.message-note p {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', -apple-system, BlinkMacSystemFont, sans-serif;
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 600;
}

.note-author {
    display: block;
    text-align: right;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Home Video Section */
.home-video-section {
    margin: 3rem auto 2rem;
    padding: 2rem 1rem;
    max-width: 100%;
    width: 100%;
}

.video-header-home {
    text-align: center;
    margin-bottom: 1.5rem;
}

.video-title-home {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3436;
    margin: 0 auto 0.5rem;
    text-align: center;
}

.video-subtitle-home {
    font-size: 1rem;
    color: #666;
    font-style: italic;
    text-align: center;
}

.video-container-home {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Home Video Grid */
.home-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0;
    margin-bottom: 2rem;
}

.home-video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.home-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}

.home-video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.home-video-thumbnail {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.home-video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.home-video-card:hover .home-video-play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.home-play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ff6b9d;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.home-video-card:hover .home-play-button {
    transform: scale(1.1);
    background: #ff6b9d;
    color: white;
}

.home-video-info {
    padding: 1.5rem;
}

.home-video-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 0.5rem 0;
}

.home-video-description {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Home Video Modal */
.home-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.home-video-modal.active {
    opacity: 1;
}

.home-video-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.home-video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
}

.home-video-modal-close:hover {
    background: #ff6b9d;
    color: white;
    transform: rotate(90deg);
}

.home-video-modal-player {
    width: 100%;
    max-height: 70vh;
    display: block;
    background: #000;
}

.home-video-modal-info {
    padding: 1.5rem;
    text-align: center;
}

.home-video-modal-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 0.5rem 0;
}

.home-video-modal-info p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Home Video Loader */
.home-video-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10002;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.home-video-loader .loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ff6b9d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.home-video-loader p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    font-family: 'Roboto', sans-serif;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .school-badge {
        position: static;
        margin: 1rem auto;
        text-align: center;
    }

    .main-banner {
        transform: rotate(0deg);
        padding: 2rem 1rem;
    }

    .handwritten-title {
        font-size: 3.2rem;
        line-height: 1.3;
    }

    .cursive-subtitle {
        font-size: 1.6rem;
        line-height: 1.5;
    }

    .photo-wall {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .wall-content-grid {
        grid-template-columns: 1fr;
    }

    .art-corner-section .section-title {
        font-size: 2.2rem;
    }

    .art-corner-section .section-subtitle {
        font-size: 1.1rem;
    }

    .art-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .minigame-wall-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        justify-items: center;
        padding: 0 1rem;
    }

    .minigame-bubble {
        width: 140px;
        height: 140px;
    }

    .bubble-icon {
        font-size: 2.5rem;
        margin-bottom: 0.3rem;
    }

    .minigame-bubble h3 {
        font-size: 0.95rem;
        line-height: 1.3;
        margin: 0.3rem 0;
    }

    .bubble-btn {
        padding: 5px 14px;
        font-size: 0.8rem;
        margin-top: 0.3rem;
        min-width: 50px;
    }

    .messages-container {
        grid-template-columns: 1fr;
    }

    .message-note p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .floating-decoration {
        display: none;
    }

    .wall-section-title {
        font-size: 2.2rem;
        line-height: 1.3;
        text-shadow: 2px 2px 0px #ffd93d;
    }

    .wall-section-title.cursive {
        font-size: 2rem;
    }

    .header-decoration {
        font-size: 1.5rem;
    }

    .video-title-home {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .video-container-home {
        padding: 0;
    }

    .home-video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .home-video-title {
        font-size: 1.1rem;
    }

    .home-video-description {
        font-size: 0.9rem;
    }

    .home-video-modal-content {
        max-width: 95%;
        max-height: 95%;
    }

    .home-video-modal-info {
        padding: 1rem;
    }

    .home-video-modal-info h3 {
        font-size: 1.2rem;
    }

    .home-video-modal-info p {
        font-size: 0.9rem;
    }
}