﻿body {
font-family: 'Inter', sans-serif;
background-color: #f8f9fa;
color: #212529;
transition: background-color 0.3s ease, color 0.3s ease;
padding-top: 70px;
}
body.dark-mode {
background-color: #121212;
color: #e1e1e1;
}
#wheeldiv{
background: #f8f9fa;
}
body.dark-mode #wheeldiv{
background: #121212;
}
.navbar {
background-color: #fff;
transition: background-color 0.3s ease;
z-index: 1100;
}
body.dark-mode .navbar {
background-color: #1f1f1f;
}
.navbar-brand {
font-weight: 600;
color: #222222;
font-style: italic;
transition: color 0.3s ease;
}
body.dark-mode .navbar-brand {
color: #66b2ff;
}
.nav-link {
color: #212529;
transition: color 0.3s ease;
cursor: pointer;
}
.nav-link:hover,
.nav-link:focus {
color: #0d6efd;
}
body.dark-mode .fa-sun {
color: #ddd;
}
body.dark-mode .fa-sun:hover,
body.dark-mode .fa-sun:focus {
color: #ddd;
}
body.dark-mode .navbar-brand {
color: #ddd;
}
body.dark-mode .navbar-brand:hover,
body.dark-mode .navbar-brand:focus {
color: #ddd;
}
body.dark-mode .btn-fancy-shadow {
color: #ddd;
}
body.dark-mode .btn-fancy-shadow:hover,
body.dark-mode .btn-fancy-shadow:focus {
color: #ddd;
}
body.dark-mode .modal-title {
color: #efefef;
}
body.dark-mode .modal-header  {
background: #1f1f1f;
}
body.dark-mode .modal-body  {
background: #1f1f1f;
}
body.dark-mode .modal-footer  {
background: #1f1f1f;
}
body.dark-mode #controls label  {
color: #efefef;
}
body.dark-mode textarea#namesInput  {
background: #232323;
color: #ffffff;
}
body.dark-mode #currentResult  {
background: linear-gradient(to right, #121212, #272829);
}
body.dark-mode .card  {
color: #dddddd !important;
background: #292929 !important;
}
body.dark-mode .nav-link {
color: #ddd;
}
body.dark-mode .nav-link:hover,
body.dark-mode .nav-link:focus {
color: #66b2ff;
}
.custom-toggler {
width: 24px;
height: 18px;
position: relative;
display: inline-block;
}
.custom-toggler span {
position: absolute;
height: 3px;
width: 100%;
background-color: #212529;
border-radius: 2px;
opacity: 1;
left: 0;
transition: all 0.3s ease;
}
.custom-toggler span:nth-child(1) {
top: 0;
}
.custom-toggler span:nth-child(2) {
top: 7.5px;
}
.custom-toggler span:nth-child(3) {
top: 15px;
}
body.dark-mode .custom-toggler span {
background-color: #ddd;
}
.navbar-toggler.collapsed .custom-toggler span:nth-child(1) {
transform: rotate(0) translate(0, 0);
}
.navbar-toggler.collapsed .custom-toggler span:nth-child(2) {
opacity: 1;
}
.navbar-toggler.collapsed .custom-toggler span:nth-child(3) {
transform: rotate(0) translate(0, 0);
}
.navbar-toggler:not(.collapsed) .custom-toggler span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggler:not(.collapsed) .custom-toggler span:nth-child(2) {
opacity: 0;
}
.navbar-toggler:not(.collapsed) .custom-toggler span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
}
.hero {
background-image: url('https://source.unsplash.com/1600x600/?technology,abstract');
background-size: cover;
background-position: center;
color: white;
text-align: center;
padding: 120px 15px 80px;
position: relative;
}
.hero::before {
content: '';
position: absolute;
inset: 0;
background: rgba(0,0,0,0.5);
z-index: 0;
}
.hero .container {
position: relative;
z-index: 1;
}
body.dark-mode .hero::before {
background: rgba(0, 0, 0, 0.7);
}
section {
padding-top: 60px;
padding-bottom: 60px;
}
#services .card {
border: none;
box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
transition: box-shadow 0.3s ease;
}
#services .card:hover {
box-shadow: 0 8px 20px rgb(0 0 0 / 0.15);
}
body.dark-mode #services .card {
background-color: #1e1e1e;
color: #ddd;
box-shadow: 0 4px 12px rgb(255 255 255 / 0.05);
}
body.dark-mode #services .card:hover {
box-shadow: 0 8px 20px rgb(255 255 255 / 0.1);
}
#services .card i {
color: #0d6efd;
transition: color 0.3s ease;
}
body.dark-mode #services .card i {
color: #66b2ff;
}
footer.footer {
background-color: #f1f1f1;
color: #666;
padding: 30px 15px;
transition: background-color 0.3s ease, color 0.3s ease;
}
body.dark-mode footer.footer {
background-color: #222;
color: #aaa;
}
footer.footer a {
color: inherit;
transition: color 0.3s ease;
}
footer.footer a:hover {
color: #0d6efd;
}
body.dark-mode footer.footer a:hover {
color: #66b2ff;
}
.mega-menu {
position: absolute;
top: 100%;
left: 0;
width: 100vw;
margin-left: calc(-50vw + 50%);
background-color: #fff;
border-radius: 0 0 0.25rem 0.25rem;
transition: background-color 0.3s ease;
z-index: 1050;
box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
padding: 1.5rem 0;
display: none;
}
body.dark-mode .mega-menu {
background-color: #2c2c2c;
box-shadow: 0 4px 6px rgb(0 0 0 / 0.7);
}
.mega-menu h5 {
font-weight: 600;
margin-bottom: 0.75rem;
color: #0d6efd;
}
body.dark-mode .mega-menu h5 {
color: #66b2ff;
}
.mega-menu a.dropdown-item {
color: #212529;
padding-left: 0;
padding-right: 0;
transition: color 0.3s ease;
}
.mega-menu a.dropdown-item:hover {
color: #0d6efd;
text-decoration: none;
}
body.dark-mode .mega-menu a.dropdown-item {
color: #ddd;
}
body.dark-mode .mega-menu a.dropdown-item:hover {
color: #66b2ff;
}
@media (max-width: 767.98px) {
canvas#wheel {
margin: 0px auto;
display: block;
background: rgba(183, 183, 183, 0.2);
border-radius: 50%;
max-width:90%;
cursor: pointer;
z-index: 1;
}

#about .row {
flex-direction: column;
}
#about .col-md-6 {
max-width: 100%;
}
}
.navbar-toggler {
border: none !important;
background: transparent !important;
box-shadow: none !important;
padding: 0;
}
textarea#namesInput {
width: 100%;
height: 300px;
padding: 15px;
font-size: 16px;
line-height: 1.5;
border: none;
border-radius: 12px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
resize: vertical;
background: #ffffff;
color: #333;
transition: box-shadow 0.3s ease, border 0.3s ease;
}
textarea#namesInput:focus {
outline: none;
box-shadow: 0 0 0 3px #80bdff;
border: 1px solid #66afe9;
}
@media (min-width: 767.99px) {
canvas#wheel {
margin: 0px auto;
display: block;
background: rgba(183, 183, 183, 0.2);
border-radius: 50%;
max-width:500px;
cursor: pointer;
z-index: 1;
}
}

#controls {
margin-bottom: 20px;
}
label {
font-size: 16px;
display: block;
margin: 8px 0;
}
#currentResult {
font-size: 22px;
margin-top: 10px;
color: #333;
}
#modalOverlay {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.5);
display: none;
justify-content: center;
align-items: center;
z-index: 9999;
}
#modal {
background: #fff;
padding: 20px 30px;
border-radius: 8px;
max-width: 320px;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
#modal h2 {
margin-top: 0;
font-size: 20px;
}
#modal button {
margin: 10px 5px 0 5px;
padding: 8px 14px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 4px;
background-color: #2196f3;
color: white;
transition: background-color 0.3s ease;
}
#modal button:hover {
background-color: #1976d2;
}
#modal #closeModalBtn {
background-color: #f44336;
}
#modal #closeModalBtn:hover {
background-color: #d32f2f;
}
#confettiCanvas {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
pointer-events: none;
z-index: 10000;
}
#controls {
border-radius: 12px;
display: flex;
flex-direction: column;
gap: 15px;
}
#controls label {
display: flex;
align-items: center;
font-size: 16px;
cursor: pointer;
user-select: none;
gap: 10px;
}
#controls input[type="checkbox"] {
appearance: none;
width: 20px;
height: 20px;
border: 2px solid #bbb;
border-radius: 5px;
transition: 0.2s;
position: relative;
}
#controls input[type="checkbox"]:checked {
background-color: #4CAF50;
border-color: #4CAF50;
}
#controls input[type="checkbox"]:checked::after {
content: '';
position: absolute;
left: 5px;
top: 1px;
width: 6px;
height: 12px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
#currentResult {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 1.8em;
color: #444;
background: linear-gradient(to right, #e0eafc, #cfdef3);
padding: 15px 25px;
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
}
#currentResult:hover {
transform: scale(1.02);
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}
#liveName {
color: #1e88e5;
font-weight: bold;
font-style: italic;
text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
width: 700px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
max-width: 200px;
vertical-align: middle;
}
#modalWinner {
display: block;
word-wrap: break-word;
overflow-wrap: break-word;
white-space: normal;
max-width: 100%;
}
.btn-fancy-shadow {
position: relative;
z-index: 1;
transition: all 0.3s ease;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 5px rgba(0, 0, 0, 0.15);
}
.btn-fancy-shadow:hover,
.btn-fancy-shadow:focus {
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15),
0 12px 24px rgba(0, 0, 0, 0.2),
0 0 0 3px rgba(0, 123, 255, 0.4);
transform: translateY(-2px);
}
a{
text-decoration: none;
}