* {
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: 100%;
    background: var(--site-bg);
    overflow: hidden;
}

/* Secțiunea cinematică */
#trophy-3d {
    width: 100%;
    height: 100vh;
    position: relative;
    margin: 0;
    padding: 0 !important;
    top: 0;
    touch-action: none;
}

/* Containerul pentru canvas */
#trophy-photo-3d {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    cursor: grab;
}

/* Canvas-ul WebGL */
#trophy-photo-3d canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Tranziție cinematică tip "curtain" — acoperă ecranul cât timp se încarcă scena 3D */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    pointer-events: none;
}

.page-transition__panel {
    flex: 1;
    background: #0b0303;
    border-left: 1px solid rgba(255, 60, 60, 0.15);
    transform: scaleY(0);
    transform-origin: bottom;
}

.page-transition__panel:first-child {
    border-left: none;
}

/* pornește acoperind tot ecranul, apoi se retrage când scena 3D e gata */
body.trophy-page .page-transition__panel {
    transform: scaleY(1);
}

/* Efect cinematic */
#trophy-3d::after {
    content: "";
    position: absolute;
    inset: 0;
    top: 0;
    background: radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.6));
    pointer-events: none;
}

#trophy-text-3d {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 300px;
    pointer-events: none;
    z-index: 10;
}

#trophy-text-3d canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    z-index: 11;
}

canvas {
    display: block;
}






