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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #000000;
    color: #ffffff;
    overflow: hidden;
}

header {
    background: #000000;
    color: #ffffff;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.header-content h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

main {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    overflow: hidden;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    width: 100%;
    height: 100%;
}

.grid-box {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.grid-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.grid-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.grid-box:hover {
    background: #111111;
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.grid-box:hover::before {
    opacity: 1;
}

.grid-box:hover::after {
    width: 300px;
    height: 300px;
}

.box-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    filter: brightness(1.1);
    transition: transform 0.4s ease;
}

.grid-box:hover .logo-placeholder img {
    transform: scale(1.05);
}

.logo-fallback {
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}

footer {
    background: #000000;
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.footer-content a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-content a:hover {
    color: #ffffff;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
    }

    .grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 0;
        min-height: calc(100vh - 200px);
    }

    .header-content h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
        padding: 0 1rem;
    }

    header {
        padding: 2rem 0;
    }

    .box-content {
        padding: 2rem;
    }

    .logo-placeholder img {
        max-width: 60%;
        max-height: 60%;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .logo-fallback {
        font-size: 1.3rem;
    }

    .box-content {
        padding: 1.5rem;
    }

    footer {
        padding: 1.5rem 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .separator {
        display: none;
    }
}
