:root {
    --main-bg: none;
    --card-bg: none;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: none;
    position: relative;
    z-index: 0;
    font: 700 18px 'Roboto', sans-serif;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main-bg) center/cover no-repeat fixed;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.35);
    z-index: -1;
}

.container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 25%;
    background-color: #f0f0f0;
    border-right: 1px solid #ccc;
}

.card {
    display: flex;
    width: 100%;
    max-width: 1410px;
    min-height: 490px;
    position: relative;
    background: #282828;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
}

.background {
    flex: 0 0 30%;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--card-bg) center/cover no-repeat;
    z-index: -1;
}

.background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.text-box {
    padding: 35px 20px;
    border: 1px solid white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    font: 500 30px 'Nunito', sans-serif;
    letter-spacing: 4px;
    writing-mode: vertical-lr;
    text-orientation: upright;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
}

.content {
    flex: 0 0 70%;
    padding: 60px;
    background: #282828;
    overflow-y: auto;
    box-sizing: border-box;
}

.section {
    margin-bottom: 20px;
}

.section h2 {
    margin: 0;
}

.section p {
    margin: 5px 0;
}

section {
    border-bottom: 1px solid rgba(212, 190, 152, .25);
    padding: 25px 0; /* Increased from 15px to 25px */
}

section:last-child {
    border-bottom: none;
}

h1 {
    color: #d4be98;
    opacity: 0.5;
    font-size: clamp(14px, 0.8vw, 13px);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    line-height: 15px;
}

p {
    margin: 0;
    color: #d4be98;
    font-size: clamp(18px, 0.85vw, 15px);
    line-height: 26px;
}

hr {
    border: none;
    border-top: 2px solid black;
    margin: 10px 0;
}

.button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
    width: 100%;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    gap: clamp(4px, 0.6vw, 10px);
    padding: clamp(6px, 0.8vw, 14px) clamp(8px, 1vw, 14px);
    background: #32302f;
    border-radius: 0;
    text-decoration: none;
    color: #d4be98;
    transition: all 0.12s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Roboto', sans-serif;
    font-size: clamp(16px, 0.75vw, 14px);
    border: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: auto;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    top: 0;
    cursor: pointer;
    user-select: none;
}

.icon-button .ti {
    font-size: 1.25em;
}

.icon-button span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.icon-button:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
    background: #3c3836;
}

@keyframes buttonPop {
    0% { transform: scale(1); }
    40% { transform: scale(0.93) rotate(-3deg); }
    100% { transform: scale(0.93) rotate(-3deg); }
}

.icon-button:active {
    animation: buttonPop 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    background: #45403d;
}

@media screen and (max-width: 1440px) {
    .card {
        max-width: 95%;
    }
}

@media screen and (max-width: 1200px) {
    .card {
        max-width: 95%;
    }

    .content {
        padding: 40px;
    }
}

@media screen and (max-width: 1024px) {
    .card {
        max-width: 98%;
        margin: 23px;
    }
}

@media screen and (max-width: 768px) {
    .card {
        flex-direction: column;
        width: 65%;
        max-width: 100%;
        margin: 23px;
        min-height: 630px;
    }

    .background {
        flex: 0 0 200px;
        width: 100%;
    }

    .content {
        flex: 1;
        width: 100%;
        padding: clamp(30px, 3vw, 25px);
    }

    section {
        padding: 15px 0;
    }

    .text-box {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        padding: 15px 25px;
    }

    .button-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: clamp(11px, 0.85vw, 14px);
    }
    
    p {
        font-size: clamp(13px, 0.9vw, 16px);
    }

    .icon-button {
        padding: clamp(8px, 0.8vw, 12px) clamp(10px, 1vw, 14px);
        font-size: clamp(12px, 0.8vw, 15px);
    }
}

@media screen and (max-width: 624px) {
    .card {
        flex-direction: column;
        width: 65%;
        max-width: 100%;
        margin: 23px;
        min-height: 630px;
    }

    .background {
        flex: 0 0 200px;
        width: 100%;
    }

    .content {
        flex: 1;
        width: 100%;
        padding: clamp(20px, 3vw, 25px);
    }
}

@media screen and (max-width: 480px) {
    .card {
        width: 80%;
        margin: 23px;
    }

    .background {
        flex: 0 0 190px;
    }

    .content {
        padding: 16px;
    }

    h2 {
        font-size: 0.7em;
    }

    p {
        font-size: 0.7em;
    }

    .icon-button {
        padding: 10px;
        font-size: 0.65em;
        box-shadow: 0 3px 4px rgba(0, 0, 0, 0.3);
    }
    
    .icon-button i {
        font-size: 1.25em;
    }

    h1 {
        font-size: 0.65em;
    }
}
