
:root {
    --db-bg: #ffffff;
    --db-surface: #f6f7f9;
    --db-border: #e7e9ee;
    --db-text: light-dark(
        rgba(var(--dark-rgb), 0.9),
        rgba(var(--light-rgb), 0.9)
    );
    --db-muted: #6b7280;
    --db-accent: #111827;
    --db-accent2: #374151;
    --db-radius: 18px;
    --db-shadow: 0 10px 30px rgba(17, 24, 39, .08);
    --db-max: 1100px;
    --dark-rgb: 28, 32, 33;
    --light-rgb: 255, 255, 255;
    --background: light-dark(
        rgba(var(--dark-rgb), 0.1),
        rgba(var(--dark-rgb), 0.5)
    );
    --overlay: light-dark(rgba(var(--light-rgb), 1), rgba(var(--dark-rgb), 1));
} 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

html {
  color-scheme: light dark;
}

a, button, #toggler, .control-btn, .control-btn * {
  cursor: pointer !important;
}

input, textarea {
  cursor: text;
}


body {
    transition: 0.2s ease-in-out;
    background-color: var(--background);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}


body div.wrapper {
    margin: 0 auto;
    padding: 24px;
    width: 220px;
    transition: 0.2s ease-in-out;
}
h1, h2, b {
    color: #111827 !important;
}


.toggle {
    position: relative;
    box-sizing: border-box;
}

.toggle *,
.toggle *:before,
.toggle *:after {
    font-size: 16px;
}

.toggle input[type=checkbox] {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.toggle input[type=checkbox] + label {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.toggle input[type=checkbox] + label:before {
    content: "";
    width: 4.375em;
    height: 2.5em;
    background: #fff;
    border: 2px solid #ddd;
    box-shadow: inset -1.875em 0 0 #666;
    position: relative;
    display: inline-block;
    border-radius: 1.25em;
    box-sizing: border-box;
    transition: 0.25s ease-in;
}

.toggle input[type=checkbox] + label:after {
    content: "";
    width: 1.25em;
    height: 1.25em;
    position: absolute;
    left: 0.575em;
    top: 0.625em;
    border-radius: 50%;
    background: #fffdfd;
    box-shadow: inset -0.5em -0.35em #333;
    transition: 0.2s ease-in-out;
}

.toggle input[type=checkbox]:checked + label:before {
    box-shadow: inset 1.875em 0 0 #ffeb00;
}

.toggle input[type=checkbox]:checked + label:after {
    box-shadow: inset 0 0 0 2px #fff;
    background: #ffbc00;
    left: 2.475em;
    top: 0.575em;
    border: 2px dashed #fff;
}

.carousel-container {
    width: 100%;
    position: relative;
    animation: slideIn 0.6s ease-out;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    background: #f8f9fa;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide::after {
    content: 'PLACE 4 PLAYERS';
    position: absolute;
    font-size: 120px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}


#gameboy-pocket, #gameboy, #switch, #tablet {
    z-index: 2;
}

.carousel-slide:nth-child(1) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

#gameboy-pocket {
    display: block !important;
    position: absolute;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
    #gameboy-pocket #system:before, #gameboy-pocket #gaming:after, #gameboy-pocket #gaming:before, #gameboy-pocket #held:after, #gameboy-pocket #hand:before, #gameboy-pocket .d:before,
    #gameboy-pocket .a:before,
    #gameboy-pocket .t:before, #gameboy-pocket .d:after,
    #gameboy-pocket .a:after,
    #gameboy-pocket .t:after, #gameboy-pocket #a:after,
    #gameboy-pocket #y:after,
    #gameboy-pocket .e:after, #gameboy-pocket #a:before,
    #gameboy-pocket #y:before,
    #gameboy-pocket .e:before, #gameboy-pocket #l:after, #gameboy-pocket #l:before, #gameboy-pocket #p:after, #gameboy-pocket #p:before {
    content: "";
    display: block;
    position: absolute;
    }
    #gameboy-pocket #a:before,
    #gameboy-pocket #y:before,
    #gameboy-pocket .e:before, #gameboy-pocket body {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    }
    #gameboy-pocket body {
    background: #F1BA36;
    position: absolute;
    width: 392px;
    height: 321px;
    }
    #gameboy-pocket #p {
        width: 340px;
        height: 358px;
        border-radius: 20px 0 0 0;
        background: #F1C44A;
        position: relative;
        box-shadow: 20px 61px 0 -20px #F1C44A, 61px 20px 0 -20px #F1C44A, 15px 15px 31px 39px #DAA117;
    }

    #gameboy-pocket #p #screen {
        overflow: hidden;
        top: 6px;
        left: 6px;
        width: 305px;
        height: 205px;
        background: black;
        padding-top: 14px;
        margin: 0 auto;
    }

    #gameboy-pocket #p:before {
        left: 6px;
        width: 331px;
        height: 214px;
        border-radius: 14px;
        box-shadow: inset 0 0 0 15px #2B2C2C;
    }

    #gameboy-pocket #p:after {
        top: 8px;
        left: 8px;
        width: 328px;
        height: 211px;
        border-radius: 12px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.18) 100%);
        -webkit-clip-path: polygon(52% 0, 100% 0, 100% 100%, 70% 100%);
        clip-path: polygon(52% 0, 100% 0, 100% 100%, 70% 100%);
    }

    #gameboy-pocket #l {
        border: 1px solid rgba(255, 255, 255, 0);
        width: 29px;
        height: 102px;
        position: absolute;
        bottom: 3px;
        left: 75px;
        border-radius: 28px;
        box-shadow: 0 0 2px 0 rgba(104, 19, 9, 0.5), 0 0 4px 1px rgba(173, 50, 10, 0.8), 2px 3px 8px 3px rgba(203, 142, 18, 0.7), inset 0 0 0 1px #EEBF3E, inset 0 2px 3px 1px #FFFA9A;
    }
    #gameboy-pocket #l:before {
    border: 1px solid rgba(255, 255, 255, 0);
    width: 100px;
    height: 30px;
    background: linear-gradient(270deg, #F5BA20 0%, #FDC83E 30%, #FDC83E 70%, #F5BA20 100%);
    border-radius: inherit;
    left: -36px;
    top: 36px;
    box-shadow: inherit;
    }
    #gameboy-pocket #l:after {
    left: -1px;
    top: -1px;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    background: linear-gradient(180deg, #F5BA20 0%, #FDC83E 30%, #FDC83E 70%, #F5BA20 100%);
    box-shadow: inset 0 0 0 2px #FDC83E, inset 0 4px 2px 0 #FFFA9A;
    }
    #gameboy-pocket #a,
    #gameboy-pocket #y,
    #gameboy-pocket .e {
    width: 43px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0);
    background: linear-gradient(270deg, #F5BA20 0%, #FDC83E 30%, #FDC83E 70%, #F5BA20 100%);
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 2px 0 rgba(104, 19, 9, 0.5), 0 0 4px 1px rgba(173, 50, 10, 0.8), 2px 3px 8px 3px rgba(203, 142, 18, 0.7), inset 0 0 0 1px #EEBF3E, inset 0 2px 3px 1px #fff;
    }
    #gameboy-pocket #a:before,
    #gameboy-pocket #y:before,
    #gameboy-pocket .e:before {
    font-family: "Quicksand", sans-serif;
    font-weight: 400;
    text-align: center;
    text-indent: 1px;
    font-size: 18px;
    line-height: 23px;
    width: 23px;
    height: 23px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 23px;
    color: #F6C34B;
    }
    #gameboy-pocket #a:after,
    #gameboy-pocket #y:after,
    #gameboy-pocket .e:after {
    border: 1px solid rgba(255, 255, 255, 0);
    top: -1px;
    left: -1px;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    box-shadow: inset 10px 60px 2px -40px rgba(255, 253, 180, 0.36);
    }
    #gameboy-pocket #a {
    left: 284px;
    bottom: 3px;
    }
    #gameboy-pocket #a:before {
    content: "A";
    }
    #gameboy-pocket #y {
    left: 206px;
    bottom: 3px;
    }
    #gameboy-pocket #y:before {
    content: "B";
    }
    #gameboy-pocket .d,
    #gameboy-pocket .a,
    #gameboy-pocket .t {
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 41px;
    border: 11px solid #F1C44A;
    }
    #gameboy-pocket .d:after,
    #gameboy-pocket .a:after,
    #gameboy-pocket .t:after {
    right: -5px;
    bottom: -5px;
    width: 29px;
    height: 30px;
    border-radius: 50%;
    background: conic-gradient(#596976 0%, #67767C 16%, #91A6BD 26%, #657D8E 42%, #596976 56%, #91A6BD 88%, #67767C 96%, #596976 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), white calc(100% - 8px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 9px), white calc(100% - 8px));
    box-shadow: inset 0 0 1px 1px #681309, inset 0 1px 2px 2px rgba(255, 255, 255, 0.7), inset 0 -1px 0 2px rgba(0, 0, 0, 0.5);
    }
    #gameboy-pocket .d:before,
    #gameboy-pocket .a:before,
    #gameboy-pocket .t:before {
    width: 12px;
    height: 12px;
    background: transparent;
    left: 2px;
    border-radius: 50%;
    box-shadow: inset 0 -1px 1px 1px #C8DEE4, inset 0 -2px 2px 1px #0F164F, inset -2px -4px 1px 0 #BFBDB4;
    top: 2px;
    }
    #gameboy-pocket .d {
    left: 0;
    border-bottom-left-radius: 50%;
    }
    #gameboy-pocket .a {
    left: 340px;
    border-bottom-right-radius: 50%;
    }
    #gameboy-pocket .t {
    top: 0;
    left: 340px;
    border-top-right-radius: 50%;
    }
    #gameboy-pocket .e {
    width: 28px;
    height: 28px;
    top: 45px;
    left: 345px;
    }
    #gameboy-pocket .e:before {
    width: 12px;
    height: 12px;
    }
    #gameboy-pocket #hand {
    width: 17px;
    height: 69px;
    border-radius: 8px;
    top: 91px;
    left: 352px;
    position: absolute;
    background: #B1B3B3;
    background: radial-gradient(circle, #9b9d9d 0%, #838686 100%);
    box-shadow: inset 0 0 0 1px #82612a, inset 0 0 6px 1px rgba(0, 0, 0, 0.6);
    border: 1px solid transparent;
    }
    #gameboy-pocket #hand:before {
    width: 4px;
    height: 4px;
    background: #181919;
    border-radius: 50%;
    top: 4px;
    right: 0;
    left: 0;
    margin: auto;
    box-shadow: 0 5px 0 0 #181919, 0 10px 0 0 #181919, 0 15px 0 0 #181919, 0 20px 0 0 #181919, 0 25px 0 0 #181919, 0 30px 0 0 #181919, 0 35px 0 0 #181919, 0 40px 0 0 #181919, 0 45px 0 0 #181919, 0 50px 0 0 #181919, 0 55px 0 0 #181919, 0 60px 0 0 #181919, 0 65px 0 0 #181919, 0 70px 0 0 #181919, 0 75px 0 0 #181919, -5px 2.5px 0 0 #181919, -5px 7.5px 0 0 #181919, -5px 12.5px 0 0 #181919, -5px 17.5px 0 0 #181919, -5px 22.5px 0 0 #181919, -5px 27.5px 0 0 #181919, -5px 32.5px 0 0 #181919, -5px 37.5px 0 0 #181919, -5px 42.5px 0 0 #181919, -5px 47.5px 0 0 #181919, -5px 52.5px 0 0 #181919, -5px 57.5px 0 0 #181919, -5px 62.5px 0 0 #181919, -5px 67.5px 0 0 #181919, -5px 72.5px 0 0 #181919, 5px 2.5px 0 0 #181919, 5px 7.5px 0 0 #181919, 5px 12.5px 0 0 #181919, 5px 17.5px 0 0 #181919, 5px 22.5px 0 0 #181919, 5px 27.5px 0 0 #181919, 5px 32.5px 0 0 #181919, 5px 37.5px 0 0 #181919, 5px 42.5px 0 0 #181919, 5px 47.5px 0 0 #181919, 5px 52.5px 0 0 #181919, 5px 57.5px 0 0 #181919, 5px 62.5px 0 0 #181919, 5px 67.5px 0 0 #181919, 5px 72.5px 0 0 #181919;
    }

    #gameboy-pocket #held {
        width: 43px;
        height: 5px;
        border-radius: 5px 5px 0 0;
        background: #646978;
        left: 283px;
        top: -5px;
        position: absolute;
        box-shadow: inset 0 1px 1px 0 #898d91, inset 4px 1px 2px 1px rgba(255, 255, 255, 0.7), inset -4px 1px 2px 1px rgba(255, 255, 255, 0.7);
    }

    #gameboy-pocket #held:after {
        position: absolute;
        width: 380px;
        height: 399px;
        top: 5px;
        left: -283px;
        border-radius: 20px;
        box-shadow: inset 0 1px 2px 1px #F4DBA2, inset 0 -1px 2px 1px #C08C3D;
    }

    #gameboy-pocket #gaming {
        position: absolute;
        left: 380px;
        top: 180px;
        width: 5px;
        height: 34px;
        box-shadow: inset 1px 0 2px 0 #410D06, 8px -5px 0 2px #403E3A;
        background: linear-gradient(to bottom, #6F6D78 0%, #ACB1AA 10%, #6F6D78 16%, #42474F 45%, #7D6A50 60%);
    }

    #gameboy-pocket #gaming:before {
        position: absolute;
        height: 141px;
        width: 25px;
        right: -25px;
        top: -109px;
        border-radius: 6px 6px 25px 25px;
        background: linear-gradient(to bottom, #A8AEBA 5%, #ffffff 8%, #738997 18%, #344658 50%, #4B545E 90%);
        box-shadow: inset 0 1px 2px 0px rgba(255, 255, 255, 0.9), inset 1px 0 2px 0 #A88539;
    }

    #gameboy-pocket #gaming:after {
        position: absolute;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: #F1C44A;
        right: -17px;
        bottom: 11px;
        border: 1px solid #666;
        box-shadow: 0 -1px 1px 0 #fff;
    }

    #gameboy-pocket #system {
        z-index: -1;
        width: 57px;
        height: 44px;
        position: absolute;
        top: 66px;
        left: 412px;
        background: #F1C44A;
        background: linear-gradient(to bottom, #f1c44a 0%, #ebbb3c 100%);
        border-radius: 5px;
        box-shadow: inset 0 1px 2px 0 #F4DBA2, inset 0 -1px 2px 0 #C08C3D, 0 8px 23px 8px #DAA117;
    }

    #gameboy-pocket #system:before {
        position: absolute;
        height: 28px;
        width: 3px;
        left: -3px;
        top: 8px;
        background: linear-gradient(to bottom, #F9DB9F 0%, #DAB04D 60%, #C68E35 100%);
        box-shadow: 2px 0 0 -1px rgba(238, 204, 87, 0.7), 2px 0 4px 1px #DB9D3A;
    }

    .carousel-slide:nth-child(2) {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }

    #gameboy {
        width: 700px;
        height: 600px;
        position: absolute;
    }

    .carousel-slide:nth-child(3) {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }


    #switch {
    display: flex;
    flex-direction: row;
    }
    #switch .screen {
    width: 28rem;
    padding: 0.5rem;
    background-color: #1a1a1a;
    position: relative;
    }
    #switch .screen::after {
    width: 25rem;
    content: "";
    position: absolute;
    width: 0.3rem;
    height: 1rem;
    background: white;
    left: 0;
    top: 0;
    border-bottom-right-radius: 0.5rem;
    }
    #switch .screen::before {
    width: 25rem;
    content: "";
    position: absolute;
    width: 0.3rem;
    height: 1rem;
    background: white;
    right: 0;
    top: 0;
    border-bottom-left-radius: 0.5rem;
    }
    #switch .screen-inner {
    aspect-ratio: 16/9;
    width: 100%;
    background-color: #1a1a1a;
    border: 20px solid #000;
    border-radius: 0.5rem;
    }
    #switch .joycon {
    width: 5rem;
    position: relative;
    animation: switch 0.7s forwards ease-out;
    opacity: 0;
    --delay: .35s;
    }
    @keyframes switch {
    0% {
        transform: translateY(-50%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateY(0%);
        opacity: 1;
    }
    }
    #switch .joycon.left {
    background: #0AB9E6;
    border-top-left-radius: 3rem;
    border-bottom-left-radius: 3rem;
    }
    #switch .joycon::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: inherit;
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;
    }
    #switch .joycon.left::after {
    content: "";
    position: absolute;
    width: 90%;
    height: 3rem;
    background-color: #001E1E;
    z-index: -2;
    transform: translate(-4%, -6%);
    border-top-left-radius: 5rem;
    border-bottom-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    }
    #switch .joycon.right {
    background: #FF3C28;
    border-top-right-radius: 3rem;
    border-bottom-right-radius: 3rem;
    animation-delay: var(--delay);
    }
    #switch .joycon.right::after {
    content: "";
    position: absolute;
    width: 90%;
    height: 3rem;
    background-color: #001E1E;
    z-index: -2;
    transform: translate(14%, -6%);
    border-top-right-radius: 5rem;
    border-bottom-right-radius: 0.25rem;
    border-top-left-radius: 0.25rem;
    }
    #switch .select {
    position: absolute;
    width: 0.8rem;
    height: 0.2rem;
    background-color: black;
    top: 10%;
    }
    #switch .minus {
    right: 10%;
    }
    #switch .plus {
    left: 10%;
    height: 0.2rem;
    }
    #switch .plus::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0.2rem;
    background: black;
    transform: rotate(90deg);
    }
    #switch .joystick {
    width: 2.5rem;
    aspect-ratio: 1;
    background: red;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background-color: #1a1a1a;
    border: 4px solid #333;
    }
    #switch .joystick::after {
    content: "";
    position: absolute;
    width: calc(100% + 8px);
    height: 0.2rem;
    top: 50%;
    transform: translate(-4px, -50%);
    z-index: 2;
    background: #1a1a1a;
    }
    #switch .joystick::before {
    content: "";
    position: absolute;
    width: calc(100% + 8px);
    height: 0.2rem;
    top: 50%;
    transform: translate(-4px, -50%) rotate(90deg);
    z-index: 2;
    background: #1a1a1a;
    }
    #switch .joycon.left .joystick {
    top: 20%;
    }
    #switch .joycon.right .joystick {
    top: 50%;
    }
    #switch .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 3rem;
    aspect-ratio: 1;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    }
    #switch .buttons span {
    display: block;
    width: 1rem;
    height: 1rem;
    background-color: #1a1a1a;
    border-radius: 50%;
    flex-shrink: 0;
    flex-grow: 0;
    font-size: 0.5rem;
    text-transform: uppercase;
    color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    }
    #switch .buttons > *:first-child {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    }
    #switch .buttons > *:last-child {
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    }
    #switch .joycon.right .buttons {
    top: 15%;
    color: white;
    }
    #switch .joycon.left .buttons {
    top: 50%;
    color: grey;
    }
    #switch .joycon.left .buttons li:nth-child(2) span,
    #switch .joycon.left .buttons li:nth-child(3) span {
    transform: rotate(-90deg);
    }
    #switch .action {
    width: 0.8rem;
    aspect-ratio: 1;
    background-color: #1a1a1a;
    position: absolute;
    bottom: 20%;
    }
    #switch .joycon.right .action {
    left: 18%;
    border-radius: 50%;
    }
    #switch .joycon.left .action {
    right: 18%;
    border-radius: 2px;
    }



    .carousel-slide:nth-child(4) {
        background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    }

    #tablet {
        width: 100%;
        max-width: 600px;
        margin: 40px auto 30px;
    }

    #tablet .mac_scaler {
        margin: auto;
        width: 100%;
        padding-top: 57.875%;
        height: 0px;
        position: relative;
    }

    #tablet .mac_holder {
        position: absolute;
        left: 0px;
        top: 0px;
        width: 100%;
        height: 100%;
    }

    #tablet .mac_screen {
        margin: auto;
        background: #111;
        width: 81%;
        height: 94%;
        border-top-left-radius: 2% 3%;
        border-top-right-radius: 2% 3%;
        border-bottom-left-radius: 5% 3%;
        border-bottom-right-radius: 5% 3%;
        box-sizing: border-box;
        padding: 3%;
        position: relative;
        overflow: hidden;
        border: 1px solid #ddd;
    }

    #tablet .mac_screen:before {
        content: "";
        position: absolute;
        right: 0.3%;
        top: 0.5%;
        width: 36.5%;
        height: 35%;
        border: 1px solid #666;
        border-bottom: none;
        border-left: none;
        border-top-right-radius: 4.5% 7%;
    }

    #tablet .mac_screen:after {
        content: "";
        position: absolute;
        right: -25%;
        top: -25%;
        width: 40%;
        height: 150%;
        background: rgba(200, 200, 200, 0.2);
        background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(200, 200, 200, 0) 40%);
        transform: rotate(-30deg);
    }

    #tablet .mac_camera {
        background: #333;
        border-radius: 50%;
        width: 1%;
        height: 1.5%;
        position: absolute;
        left: 49.5%;
        top: 2%;
    }

    #tablet .mac_camera:after {
        content: "";
        position: absolute;
        left: 35%;
        top: 40%;
        width: 30%;
        height: 30%;
        border-radius: 50%;
        background: #777;
    }

    #tablet .mac_bottom {
        background: #e9e9e9;
        background: linear-gradient(#ccc 50%, #444);
        width: 100%;
        height: 5%;
        position: relative;
        top: -1.7%;
        border-bottom-left-radius: 6% 50%;
        border-bottom-right-radius: 6% 50%;
    }

    #tablet .mac_bottom_top_half {
        width: 100%;
        height: 50%;
        background: #e9e9e9;
        background: linear-gradient(90deg, #aaa, #f3f3f3 0.5%, #aaa 2.5%, #f3f3f3 5.5%, #f3f3f3 94.5%, #aaa 97.5%, #f3f3f3 99.5%, #aaa);
    }

    #tablet .mac_bottom:after {
        content: "";
        position: absolute;
        right: 1%;
        bottom: 11%;
        width: 98%;
        height: 0%;
        box-shadow: 1px 0px 8px 1px #333;
    }

    #tablet .mac_thumb_space {
        background: #bbb;
        background: radial-gradient(90% 150% at 50% 1%, #eee 49%, #888);
        margin: auto;
        width: 15%;
        height: 60%;
        border-bottom-left-radius: 8% 100%;
        border-bottom-right-radius: 8% 100%;
    }

    #tablet .mac_screen_content {
        background: #333;
        width: 100%;
        height: 100%;
        overflow: hidden;
        text-align: center;
    }

    .carousel-slide:nth-child(5) {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    #p4p-img {
        width: 100%;
        height: 100%;
        object-fit: none;
        display: block;
    }

    .carousel-controls {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
        pointer-events: none;
        z-index: 10;
    }

    .control-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.95);
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        pointer-events: all;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .control-btn:hover {
        background: rgba(255, 255, 255, 1);
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .control-btn:active {
        transform: scale(0.95);
    }

    .control-btn svg {
        width: 24px;
        height: 24px;
        stroke: #333;
        stroke-width: 2.5;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 25px;
    }

    .indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #e0e6ed;
        border: none;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
    }

    .indicator::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: #495057;
        border-radius: 50%;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .indicator.active {
        width: 35px;
        border-radius: 6px;
        background: #f8f9fa;
        transform: scale(1.05);
        box-shadow: 0 2px 8px rgba(73, 80, 87, 0.15);
    }

    .indicator.active::before {
        left: 0;
        border-radius: 6px;
        background: #495057;
        box-shadow: 0 0 10px rgba(73, 80, 87, 0.2);
    }

    .indicator:hover:not(.active) {
        background: #ced4da;
        transform: scale(1.2);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .indicator:hover:not(.active)::before {
        left: -50%;
        background: #6c757d;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 768px) {
        .carousel-wrapper {
            height: 350px;
        }
        .control-btn {
            width: 40px;
            height: 40px;
        }
        .control-btn svg {
            width: 20px;
            height: 20px;
        }
    }

    .db-wrap {
        color: var(--db-text);
        font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
        border-radius: 50px;
    }

    .db-container {
        max-width: var(--db-max);
        margin: 0 auto;
        padding: 28px 18px;
    }

    .db-hero {
        border: 1px solid var(--db-border);
        background:
            radial-gradient(900px 400px at 20% 10%, rgba(17, 24, 39, .06), transparent 60%),
            radial-gradient(800px 380px at 80% 30%, rgba(55, 65, 81, .08), transparent 55%),
            linear-gradient(180deg, #ffffff, #f7f8fb);
        border-radius: calc(var(--db-radius) + 6px);
        box-shadow: var(--db-shadow);
        overflow: hidden;
    }

    .db-hero-inner {
        padding: 42px 22px;
        display: grid;
        gap: 18px;
    }

  .db-kicker {
    color: var(--db-muted);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
  }

  .db-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -.02em;
  }

  .db-sub {
    margin: 0;
    color: var(--db-muted);
    font-size: clamp(14px, 1.8vw, 18px);
    line-height: 1.5;
    max-width: 64ch;
  }

  .db-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
  }

  .db-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--db-border);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  }

  .db-btn-primary {
    background: var(--db-accent);
    color: #fff;
    border-color: var(--db-accent);
  }

  .db-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(17, 24, 39, .18);
  }

  .db-btn-ghost {
    background: #fff;
    color: var(--db-accent);
  }

  .db-btn-ghost:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(17, 24, 39, .10);
  }

  .db-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .db-badge {
    font-size: 12px;
    color: var(--db-accent2);
    background: rgba(55, 65, 81, .06);
    border: 1px solid rgba(55, 65, 81, .10);
    padding: 8px 10px;
    border-radius: 999px;
  }

  .db-section {
    padding: 26px 0;
  }

  .db-h2 {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: -.01em;
  }

  .h2-fixed {
    color: var(--title-font-color) !important;
  }

  .db-lead {
    margin: 0 0 16px;
    color: var(--db-muted);
    line-height: 1.6;
  }

  .db-grid-3 {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
  }

  @media (min-width: 860px) {
    .db-grid-3 {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .db-card {
    border: 1px solid var(--db-border);
    background: var(--db-surface);
    border-radius: var(--db-radius);
    padding: 16px;
  }

  .db-card b {
    display: block;
    margin-bottom: 6px;
  }

  .db-card p {
    margin: 0;
    color: var(--db-muted);
    line-height: 1.55;
  }

  .db-scroller {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 6px 2px 10px;
    scroll-snap-type: x mandatory;
  }

  .db-scroller::-webkit-scrollbar {
    height: 10px;
  }

  .db-scroller::-webkit-scrollbar-thumb {
    background: rgba(17, 24, 39, .18);
    border-radius: 999px;
  }

  .db-service {
    min-width: 260px;
    scroll-snap-align: start;
    border: 1px solid var(--db-border);
    background: #fff;
    border-radius: var(--db-radius);
    padding: 16px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, .06);
  }

  .db-service h3 {
    margin: 0 0 6px;
    font-size: 16px;
  }

  .db-service p {
    margin: 0 0 12px;
    color: var(--db-muted);
    line-height: 1.55;
    font-size: 14px;
  }

  .db-pill {
    display: inline-block;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, .06);
    color: var(--db-accent2);
    border: 1px solid rgba(17, 24, 39, .10);
  }

  .db-quote {
    border: 1px solid var(--db-border);
    background: linear-gradient(180deg, #fff, #f7f8fb);
    border-radius: calc(var(--db-radius) + 6px);
    padding: 18px;
  }

  .db-quote-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
  }

  @media (min-width: 860px) {
    .db-quote-grid {
      grid-template-columns: 1.2fr .8fr;
      align-items: start;
    }
  }

  .db-form {
    display: grid;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--db-border);
    border-radius: var(--db-radius);
    padding: 14px;
  }

  .db-input,
  .db-textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--db-border);
    font-size: 14px;
    outline: none;
  }

  .db-textarea {
    min-height: 110px;
    resize: vertical;
  }

  .db-note {
    color: var(--db-muted);
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
  }

  .db-side {
    border: 1px solid var(--db-border);
    background: var(--db-surface);
    border-radius: var(--db-radius);
    padding: 16px;
  }

  .db-side a {
    color: var(--db-accent);
    font-weight: 700;
    text-decoration: none;
  }

  .db-side a:hover {
    text-decoration: underline;
  }

  .db-side ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--db-muted);
    line-height: 1.6;
  }

  .db-footer {
    border-top: 1px solid var(--db-border);
    margin-top: 26px;
    padding: 16px 0 6px;
    color: var(--db-muted);
    font-size: 12px;
  }

  @media (prefers-reduced-motion: no-preference) {
    .db-fade {
      opacity: 0;
      transform: translateY(10px);
      animation: dbIn .7s ease forwards;
    }

    .db-fade.db-delay1 {
      animation-delay: .08s;
    }

    .db-fade.db-delay2 {
      animation-delay: .16s;
    }

    .db-fade.db-delay3 {
      animation-delay: .24s;
    }

    @keyframes dbIn {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }