@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

/* Design Inspired by one of Stefan Devai's Design on Dribble */

.main_wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 30em;
    height: 25em;
    transform: scale(1.2);
    transform-origin: center center;
    position: relative;
    /* Icy frosted effect */
    background:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 2px,
            transparent 2px,
            transparent 4px),
        repeating-linear-gradient(-45deg,
            rgba(200, 220, 255, 0.05) 0px,
            rgba(200, 220, 255, 0.05) 1px,
            transparent 1px,
            transparent 3px),
        rgba(220, 235, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.15),
        inset 2px 2px 10px rgba(200, 230, 255, 0.2),
        inset -2px -2px 10px rgba(150, 180, 220, 0.1);
    padding: 1rem;
    padding-bottom: 0;
}

/* Ice crystal texture overlay */
.main_wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.08;
    pointer-events: none;
}




.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 7.5em;
}

.antenna {
    width: 7.5em;
    height: 7.5em;
    border-radius: 50%;
    border: 3px solid #3d2817;
    background-color: #d4a574;
    margin-bottom: -9em;
    margin-left: 0em;
    z-index: -1;
}

.antenna_shadow {
    position: absolute;
    background-color: transparent;
    width: 75px;
    height: 84px;
    margin-left: 2.52em;
    border-radius: 45%;
    transform: rotate(140deg);
    border: 6px solid transparent;
    box-shadow:
        inset 0px 24px #9d7d5a,
        inset 0px 24px 1.5px 1.5px #9d7d5a;
    -moz-box-shadow:
        inset 0px 24px #9d7d5a,
        inset 0px 24px 1.5px 1.5px #9d7d5a;
}

.antenna::after {
    content: "";
    position: absolute;
    margin-top: -14.1em;
    margin-left: 0.6em;
    transform: rotate(-25deg);
    width: 1.5em;
    height: 0.75em;
    border-radius: 50%;
    background-color: #e6c9a8;
}

.antenna::before {
    content: "";
    position: absolute;
    margin-top: 0.3em;
    margin-left: 1.875em;
    transform: rotate(-20deg);
    width: 2.25em;
    height: 1.2em;
    border-radius: 50%;
    background-color: #e6c9a8;
}

.a1 {
    position: relative;
    top: -102%;
    left: -130%;
    width: 18em;
    height: 8.25em;
    border-radius: 75px;
    background-image: linear-gradient(#4a4a4a,
            #4a4a4a,
            #6b6b6b,
            #6b6b6b,
            #4a4a4a);
    transform: rotate(-29deg);
    clip-path: polygon(50% 0%, 49% 100%, 52% 100%);
}

.a1d {
    position: relative;
    top: -211%;
    left: -35%;
    transform: rotate(45deg);
    width: 0.75em;
    height: 0.75em;
    border-radius: 50%;
    border: 3px solid #3d2817;
    background-color: #a89080;
    z-index: 99;
}

.a2 {
    position: relative;
    top: -210%;
    left: -10%;
    width: 18em;
    height: 6em;
    border-radius: 75px;
    background-color: #4a4a4a;
    background-image: linear-gradient(#4a4a4a,
            #4a4a4a,
            #6b6b6b,
            #6b6b6b,
            #4a4a4a);
    margin-right: 7.5em;
    clip-path: polygon(47% 0,
            47% 0,
            34% 34%,
            54% 25%,
            32% 100%,
            29% 96%,
            49% 32%,
            30% 38%);
    transform: rotate(-8deg);
}

.a2d {
    position: relative;
    top: -294%;
    left: 94%;
    width: 0.75em;
    height: 0.75em;
    border-radius: 50%;
    border: 3px solid #3d2817;
    background-color: #a89080;
    z-index: 99;
}

.notfound_text {
    background-color: #3d2817;
    padding-left: 0.45em;
    padding-right: 0.45em;
    font-size: 1.125em;
    color: #f4e4d0;
    letter-spacing: 0;
    border-radius: 7.5px;
    z-index: 10;
}

.coming-soon {
    background-color: #1a1a1a;
    padding: 0.2em 0.5em;
    font-size: 0.85em;
    color: #ffffff;
    letter-spacing: 0.1em;
    margin-top: 0.5em;
    border-radius: 5px;
    font-weight: bold;
    z-index: 10;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    transition: background-color 0.2s;
}

.coming-soon:hover {
    background-color: #333;
}

/* Video player inside TV screen */
.screen.playing-video,
.screenM.playing-video {
    background: #000 !important;
    animation: none !important;
    overflow: hidden;
}

.screenM.playing-video::before,
.screenM.playing-video::after {
    display: none;
}

.tv-video-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 12px;
    z-index: 10;
}

.tv-video-container video {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: contain;
}

.tv-video-close {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    cursor: pointer;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
}

.tv-video-close:hover {
    background: rgba(200, 0, 0, 0.8);
}

.tv {
    width: 25.5em;
    height: 13.5em;
    margin-top: 4.5em;
    border-radius: 22.5px;
    background-color: #c8956b;
    display: flex;
    justify-content: center;
    border: 3px solid #3d2817;
    box-shadow: inset 0.3em 0.3em #e6c9a8;
}

.tv::after {
    content: "";
    position: absolute;
    width: 25.5em;
    height: 13.5em;
    border-radius: 22.5px;
    background:
        repeating-radial-gradient(#c8956b 0 0.0001%, #00000070 0 0.0002%) 50% 0/2500px 2500px,
        repeating-conic-gradient(#c8956b 0 0.0001%, #00000070 0 0.0002%) 60% 60%/2500px 2500px;
    background-blend-mode: difference;
    opacity: 0.09;
}

.curve_svg {
    position: absolute;
    margin-top: 0.375em;
    margin-left: -0.375em;
    height: 18px;
    width: 18px;
}

.display_div {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    border-radius: 22.5px;
    box-shadow: 5.25px 5.25px 0px #e6c9a8;
}

.screen_out {
    width: auto;
    height: auto;
    border-radius: 15px;
}

.screen_out1 {
    width: 16.5em;
    height: 11.625em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.screen {
    width: 19.5em;
    height: 11.775em;
    font-family: Montserrat;
    border: 3px solid #1d0e01;
    background:
        repeating-radial-gradient(#000 0 0.0001%, #ffffff 0 0.0002%) 50% 0/2500px 2500px,
        repeating-conic-gradient(#000 0 0.0001%, #ffffff 0 0.0002%) 60% 60%/2500px 2500px;
    background-blend-mode: difference;
    animation: b 0.2s infinite alternate;
    border-radius: 15px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #252525;
    letter-spacing: 0.225em;
    text-align: center;
}

.screenM {
    width: 19.5em;
    height: 11.775em;
    position: relative;
    font-family: Montserrat;
    background: linear-gradient(to right,
            #002fc6 0%,
            #002bb2 14.2857142857%,
            #3a3a3a 14.2857142857%,
            #303030 28.5714285714%,
            #ff0afe 28.5714285714%,
            #f500f4 42.8571428571%,
            #6c6c6c 42.8571428571%,
            #626262 57.1428571429%,
            #0affd9 57.1428571429%,
            #00f5ce 71.4285714286%,
            #3a3a3a 71.4285714286%,
            #303030 85.7142857143%,
            white 85.7142857143%,
            #fafafa 100%);
    border-radius: 15px;
    border: 3px solid black;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #252525;
    letter-spacing: 0.225em;
    text-align: center;
    overflow: hidden;
}

.screenM:before,
.screenM:after {
    content: "";
    position: absolute;
    left: 0;
    z-index: 1;
    width: 100%;
}

.screenM:before {
    top: 0;
    height: 68.4782608696%;
    background: linear-gradient(to right,
            white 0%,
            #fafafa 14.2857142857%,
            #ffe60a 14.2857142857%,
            #f5dc00 28.5714285714%,
            #0affd9 28.5714285714%,
            #00f5ce 42.8571428571%,
            #10ea00 42.8571428571%,
            #0ed600 57.1428571429%,
            #ff0afe 57.1428571429%,
            #f500f4 71.4285714286%,
            #ed0014 71.4285714286%,
            #d90012 85.7142857143%,
            #002fc6 85.7142857143%,
            #002bb2 100%);
}

.screenM:after {
    bottom: 0;
    height: 21.7391304348%;
    background: linear-gradient(to right,
            #006c6b 0%,
            #005857 16.6666666667%,
            white 16.6666666667%,
            #fafafa 33.3333333333%,
            #001b75 33.3333333333%,
            #001761 50%,
            #6c6c6c 50%,
            #626262 66.6666666667%,
            #929292 66.6666666667%,
            #888888 83.3333333333%,
            #3a3a3a 83.3333333333%,
            #303030 100%);
}

@keyframes b {
    100% {
        background-position:
            50% 0,
            60% 50%;
    }
}

.lines {
    display: flex;
    column-gap: 0.15em;
    align-self: flex-end;
}

.line1,
.line3 {
    width: 3px;
    height: 0.75em;
    background-color: black;
    border-radius: 37.5px 37.5px 0px 0px;
    margin-top: 0.75em;
}

.line2 {
    flex-grow: 1;
    width: 3px;
    height: 1.5em;
    background-color: black;
    border-radius: 37.5px 37.5px 0px 0px;
}

.buttons_div {
    width: 6.375em;
    align-self: center;
    height: 12em;
    background-color: #e6c9a8;
    border: 3px solid #3d2817;
    padding: 0.9em;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 1.125em;
    box-shadow: 4.5px 4.5px 0px #e6c9a8;
}

.b1 {
    width: 2.475em;
    height: 2.475em;
    border-radius: 50%;
    background-color: #a67c52;
    border: 3px solid #3d2817;
    box-shadow:
        inset 3px 3px 1.5px #d4a574,
        -3px 0px #73563d,
        -3px 0px 0px 1.5px #3d2817;
}

.b1::before {
    content: "";
    position: absolute;
    margin-top: 1.5em;
    margin-left: 0.75em;
    transform: rotate(47deg);
    border-radius: 7.5px;
    width: 0.15em;
    height: 0.6em;
    background-color: #3d2817;
}

.b1::after {
    content: "";
    position: absolute;
    margin-top: 1.35em;
    margin-left: 1.2em;
    transform: rotate(47deg);
    border-radius: 7.5px;
    width: 0.15em;
    height: 0.825em;
    background-color: #3d2817;
}

.b1 div {
    content: "";
    position: absolute;
    margin-top: -0.15em;
    margin-left: 0.975em;
    transform: rotate(45deg);
    width: 0.225em;
    height: 2.25em;
    background-color: #3d2817;
}

.b2 {
    width: 2.475em;
    height: 2.475em;
    border-radius: 50%;
    background-color: #a67c52;
    border: 3px solid #3d2817;
    box-shadow:
        inset 3px 3px 1.5px #d4a574,
        -3px 0px #73563d,
        -3px 0px 0px 1.5px #3d2817;
}

.b2::before {
    content: "";
    position: absolute;
    margin-top: 1.575em;
    margin-left: 1.2em;
    transform: rotate(-45deg);
    border-radius: 7.5px;
    width: 0.225em;
    height: 0.6em;
    background-color: #3d2817;
}

.b2::after {
    content: "";
    position: absolute;
    margin-top: -0.15em;
    margin-left: 0.975em;
    transform: rotate(-45deg);
    width: 0.225em;
    height: 2.25em;
    background-color: #3d2817;
}

.speakers {
    display: flex;
    flex-direction: column;
    row-gap: 0.75em;
}

.speakers .g1 {
    display: flex;
    column-gap: 0.375em;
}

.speakers .g1 .g11,
.speakers .g1 .g12,
.speakers .g1 .g13 {
    width: 0.975em;
    height: 0.975em;
    border-radius: 50%;
    background-color: #a67c52;
    border: 3px solid #3d2817;
    box-shadow: inset 1.875px 1.875px 1.5px #d4a574;
}

.speakers .g {
    width: auto;
    height: 3px;
    background-color: #171717;
}

.bottom {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 13.05em;
}

.base1 {
    height: 1.5em;
    width: 3em;
    border: 3px solid #171717;
    background-color: #4d4d4d;
    margin-top: -0.225em;
    z-index: -1;
}

.base2 {
    height: 1.5em;
    width: 3em;
    border: 3px solid #171717;
    background-color: #4d4d4d;
    margin-top: -0.225em;
    z-index: -1;
}

.base3 {
    position: absolute;
    height: 0.225em;
    width: 26.25em;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    margin-top: 1.2em;
}

@media (max-width: 412.5px),
(max-height: 780px) {
    .main {
        position: relative;
    }
}

@media only screen and (max-width: 1024px) {
    .screenM {
        display: flex;
    }

    .screen {
        display: none;
    }

    .main_wrapper {
        display: none;
    }
}

@media only screen and (min-width: 1025px) {
    .screen {
        display: flex;
    }

    .screenM {
        display: none;
    }
}



