/* Import Fira Mono for terminal-like appearance */
@import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap');

/* ====== Base Styles ====== */
body {
    background-color: black;
    color: #e0e0e0;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', 'Liberation Mono', 'Courier New', monospace;
    margin: 0;
    min-height: 100vh;
    background-image: url('/resources/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ====== Social Icons ====== */
.social-ico-block {
    width: 20px;
    top: 50vh;
    transform: translate(0, -50%);
    right: 40px;
    position: fixed;
    z-index: 25;
}
.social-ico {
    width: 20px;
    height: 20px;
    position: relative;
    float: left;
    margin: 10px 0;
    transition: all .3s cubic-bezier(.7, 0, .3, 1);
}
.social-ico svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    opacity: 1;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -ms-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}
.social-ico svg path,
.social-ico svg circle {
    fill: #e0e0e0;
}
.social-ico:hover svg {
    opacity: .5;
    cursor: pointer;
}

/* ====== Centered Container for Logo and Model ====== */
.center-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    width: 100vw;
    height: 100vh;
}

/* ====== Main Logo (Center) ====== */
.geckery-logo {
    width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 1;
    transition: opacity 0.7s;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.geckery-logo.fade-out {
    opacity: 0;
}

/* ====== Top Logo (After Fade) ====== */
.logo-top {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translate(-50%, 0) translateY(40px);
    width: 120px;
    height: auto;
    opacity: 0;
    transition: opacity 0.7s, width 0.7s, transform 0.7s;
    z-index: 20;
    display: block;
    margin-top: 0;
}
.logo-top.fade-in {
    opacity: 1;
    transform: translate(-50%, 0) translateY(0);
}

/* ====== Model Viewer Section ====== */
#product {
    width: 520px;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
#model-viewer {
    width: 500px;
    height: 500px;
    opacity: 0;
    transition: opacity 0.7s;
    pointer-events: none;
    display: block;
    margin: 0 auto;
}
#model-viewer.fade-in {
    opacity: 1;
    pointer-events: auto;
}

/* ====== Typed Textbox (left of model) ====== */
#typed-textbox {
    position: absolute;
    left: -25vw;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    background: none;
    color: #e0e0e0;
    font-size: 20px;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', 'Liberation Mono', 'Courier New', monospace;
}

/* ====== Customize Button ====== */
.customize-btn {
    margin-top: 32px;
    padding: 12px 36px;
    background: #232323;
    color: #e0e0e0;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', 'Liberation Mono', 'Courier New', monospace;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s, opacity 0.7s;
    opacity: 0;
    pointer-events: none;
}
.customize-btn.fade-in {
    opacity: 1;
    pointer-events: auto;
}
.customize-btn:hover, .customize-btn:focus {
    background: #444;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
}

/* ====== Corner Boxes ====== */
.corner-box {
    position: fixed;
    bottom: 20px;
    padding: 10px 18px;
    color: #e0e0e0;
    font-size: 16px;
    border-radius: 8px;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    pointer-events: none;
    user-select: none;
}
.corner-box-right {
    right: 20px;
    text-align: right;
}
.corner-box-left {
    left: 20px;
    text-align: left;
}