@import url('https://googleapis.com');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Goldman', sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
    background: radial-gradient(circle, #f5f5f5 0%, #dcdcdc 65%, #9b9b9b 100%);
    overflow: hidden;
}

.footer-back-link {
    text-decoration: none; /* Strips default blue browser underlines entirely */
    display: inline-block;
    transition: transform 0.2s ease;
}

.back-text {
    color: #ffffff; /* Matches your white status bar font guide */
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-back-link:hover {
    transform: scale(1.05); /* Soft interactive zoom scale pop */
}

.footer-back-link:hover .back-text {
    color: #ff2a75; /* Smoothly switches text to pink on cursor hover/touch tap */
}

@media screen and (min-width: 769px) {
    body, html {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .spacing {
        width: 100vw;
        height: 100vh;
        position: relative;
        display: grid;
        grid-template-columns: 350px 1fr;
        grid-template-rows: 60px 1fr 40px;
    }

    .top-meta {
        grid-column: 2;
        grid-row: 1;
        padding: 15px 30px;
    }

    .subtitle {
        font-size: 0.85rem;
        color: #333;
        letter-spacing: 1px;
    }

    .emblem-panel {
        grid-column: 1;
        grid-row: 1 / 3;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        border-left: 45px solid #00a0c6;
    }

    .emblem-wrapper {
        width: 240px;
        height: 240px;
        background-color: #282924;
        border-radius: 50%;
        border: 12px solid #ff2a75;
        outline: 8px solid #00a0c6;
        outline-offset: 6px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .multimedia-icon {
        width: 99%;
        height: auto;
        object-fit: contain;
    }

    .content-panel {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-left: 60px;
        padding-right: 50px;
        position: relative;
    }

    .sprite-row {
        display: flex;
        gap: 12px;
        margin-bottom: -7px;
        padding-left: 20px;
        z-index: 2;
    }

    .placeholder-sprite {
        height: 80px;
        width: auto;
        object-fit: contain;
    }

    .title-banner {
        background: linear-gradient(135deg, #ff2a75 0%, #ff5294 100%);
        color: #fff;
        padding: 12px 45px 12px 30px;
        transform: skewX(-10deg);
        box-shadow: -10px 10px 0px #282924;
        margin-bottom: 25px;
        border-radius: 4px;
        width: 100%;
    }

    .main-title {
        font-size: 2.5rem;
        font-style: italic;
        transform: skewX(10deg);
        letter-spacing: 2px;
        text-shadow: 2px 2px 0px #000;
    }

    .action-menu {
        display: flex;
        align-items: center;
        gap: 15px;
        background-color: rgba(220, 220, 220, 0.8);
        padding: 10px;
        border-radius: 30px;
        border-bottom: 6px solid #282924;
        width: fit-content;
    }

    .menu-btn {
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: bold;
        padding: 8px 24px;
        border-radius: 20px;
        transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        text-shadow: 5px 6px 10px rgba(0, 0, 0, 0.45);
    }

    .menu-btn:not(:hover) {
        color: #282924;
        background-color: transparent;
    }

    .menu-btn:hover {
        background-color: #ffffff;
        color: #282924;
        box-shadow: 0 0 0 4px #fff, 0 4px 10px rgba(0, 0, 0, 0.15);
        transform: scale(1.05);
    }

    .bottom-status-bar {
        grid-column: 1 / -1;
        grid-row: 3;
        background-color: #282924;
        display: flex !important;
        justify-content: space-between !important; 
        align-items: center;
        padding: 0 40px;
    }

    .figma {
        color: #ffffff;
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

@media screen and (max-width: 768px) {
    body, html {
        height: auto;
        overflow-y: auto;
    }

    .spacing {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100vw;
        min-height: 100vh;
        background: radial-gradient(circle, #f5f5f5 0%, #dcdcdc 65%, #9b9b9b 100%);
        padding: 50px 20px 0 20px;
    }

    .top-meta,
    .emblem-panel {
        display: none;
    }

    .content-panel {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-grow: 1;
        gap: 35px; 
    }

    .sprite-row {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: -5px; 
    }

    .placeholder-sprite {
        height: 150px;
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15)); 
    }

    .title-banner {
        background: linear-gradient(135deg, #ff2a75 0%, #ff5294 100%);
        color: #fff;
        padding: 14px 40px;
        transform: skewX(-8deg); 
        box-shadow: -8px 8px 0px #282924; 
        margin-bottom: 5px;
        width: auto;
        max-width: 90%;
        text-align: center;
    }

    .main-title {
        font-size: 2rem;
        font-style: italic;
        transform: skewX(8deg); 
        text-shadow: 2px 2px 0px #000;
    }

    .action-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 290px;
        gap: 14px;
        background-color: rgba(235, 235, 235, 0.95); 
        padding: 18px;
        border-radius: 24px;
        border: 2px solid rgba(255, 42, 117, 0.25); 
        border-bottom: 6px solid #282924; 
        margin-bottom: 60px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }


    .menu-btn {
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: bold;
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        border-radius: 16px;
        transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .menu-btn:not(:hover) {
        color: #282924; 
        background-color: rgba(0, 0, 0, 0.05); 
    }

    .menu-btn:hover {
        background-color: #ff2a75; 
        color: #ffffff; 
        transform: scale(1.03);
    }

     .bottom-status-bar {
        width: 100vw !important;
        height: 55px !important;
        margin-top: auto !important;
        background-color: #282924 !important;
        display: flex !important;
        justify-content: space-between !important; 
        
        align-items: center !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding: 0 30px !important;
    }

    .figma {
        color: #ffffff;
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
}

.video-overlay {
    width: 90vw;
    max-width: 1100px;
    height: 85vh;
    border: 4px solid #ff2a75;
    border-radius: 8px;
    background-color: #1a1a1a;
    padding: 20px;
    margin: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.video-overlay::backdrop {
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #282924;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-title {
    color: #ffffff;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.close-btn {
    background: #ff2a75;
    color: #fff;
    border: none;
    padding: 6px 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.close-btn:hover {
    background: #ffffff;
    color: #ff2a75;
}


.project-selection-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
    height: calc(100% - 60px);
    overflow-y: auto;
}


.project-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    background-color: #282924;
    padding: 18px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 6px;
    border-left: 6px solid #ff2a75; 
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}


.project-number {
    color: #ff2a75;
    margin-right: 20px;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.25s ease;
}


.project-btn:hover {
    background-color: #ffffff;
    color: #282924;
    transform: translateX(10px); 
    box-shadow: 0 6px 15px rgba(255, 42, 117, 0.25);
}

.project-btn:hover .project-number {
    color: #282924;
}

/* Video Containers */
.video-canvas-single {
    width: 100%;
    height: calc(100% - 60px);
}

.video-canvas-single iframe {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.video-grid-canvas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 180px);
    gap: 15px;
    height: calc(100% - 60px);
    overflow-y: auto;
    padding-right: 5px;
}

.video-grid-canvas iframe {
    width: 100%;
    height: 100%;
    border: 2px solid #282924;
    border-radius: 4px;
    background-color: #000;
}


@media screen and (max-width: 768px) {
    .video-overlay {
        width: 95vw;
        height: 90vh;
        padding: 10px;}
    .project-btn {
        padding: 14px 20px;
        font-size: 1.05rem;}
    .video-grid-canvas 
    {grid-template-columns: 1fr;
        grid-template-rows: repeat(12, 220px);
        gap: 15px;}}


.figma-link,
.github-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
}

.figma-link:hover,
.github-link:hover {
    transform: scale(1.05);
}

.figma,
.github {
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.figma-link:hover .figma,
.github-link:hover .github {
    color: #ff2a75; 
}

.footer-right-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .github {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    
    .footer-right-links {
        gap: 15px;
    }
}