neon-casino-royale / style.css
ProjectGenesis's picture
Complete it
6344c71 verified
/* Main layout */
.main-content {
display: flex;
min-height: 100vh;
width: 100%;
}
.control-panel {
width: 340px;
padding: 20px;
background-color: #0a0a0a;
border-right: 3px solid #000;
display: flex;
flex-direction: column;
justify-content: center;
}
.game-display {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
background: radial-gradient(circle, #1a1a1a 0%, #000000 100%);
}
/* Tooltips */
.tooltip {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
background: rgba(0,0,0,0.8);
color: white;
padding: 5px 10px;
border-radius: 4px;
font-size: 12px;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s;
white-space: nowrap;
}
label:hover .tooltip {
opacity: 1;
}
/* Slot Machine */
.slot-machine {
background: #111;
border: 3px solid #333;
border-radius: 10px;
padding: 30px;
box-shadow: 0 0 30px rgba(255,122,0,0.3);
}
.reels {
display: flex;
gap: 20px;
margin-bottom: 30px;
}
.reel {
width: 100px;
height: 150px;
background: #222;
border: 2px solid #444;
border-radius: 8px;
display: flex;
justify-content: center;
align-items: center;
font-size: 50px;
color: white;
}
.spin-btn {
background: linear-gradient(to bottom, #ff7a00, #ff5100);
color: white;
border: none;
padding: 15px 40px;
font-size: 18px;
border-radius: 50px;
cursor: pointer;
text-transform: uppercase;
font-weight: bold;
letter-spacing: 2px;
transition: all 0.3s;
box-shadow: 0 5px 15px rgba(255,122,0,0.4);
}
.spin-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(255,122,0,0.6);
}
.spin-btn:active {
transform: translateY(1px);
}
/* Panel card */
.control-panel ul {
width: 340px;
display: flex;
flex-wrap: wrap;
padding: 20px;
border-radius: 12px;
background-color: #0a0a0a;
border: 3px solid #000;
list-style: none;
margin: 0;
}
/* Spacing for each icon */
.control-panel li {
margin: 15px;
}
/* Hide the radio circles */
input {
position: absolute;
opacity: 0;
}
/* OFF STATE β€” Container */
.icon {
width: 60px;
height: 60px;
background-color: #151515;
border: 3px solid #000;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
transition: all .25s ease;
cursor: pointer;
}
/* OFF STATE β€” ICON */
.icon .fa {
font-size: 30px;
color: #3d3d3d;
transition: all .25s ease;
}
/* ON β€” container border + glow */
input:checked ~ .icon {
border-color: #ff7a00;
box-shadow:
0 0 6px rgba(255,122,0,1),
0 0 14px rgba(255,122,0,0.9),
0 0 22px rgba(255,122,0,0.8);
}
/* ON β€” icon fill + glow */
input:checked ~ .icon .fa {
color: #ffffff !important;
text-shadow:
0 0 6px rgba(255,255,255,1),
0 0 12px rgba(255,122,0,1),
0 0 20px rgba(255,122,0,0.9);
}
/* Hover effect */
.icon:hover {
transform: translateY(-5px);
}
/* Responsive adjustments */
@media (max-width: 1024px) {
.main-content {
flex-direction: column;
}
.control-panel {
width: 100%;
border-right: none;
border-bottom: 3px solid #000;
flex-direction: row;
padding: 10px;
}
.control-panel ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
width: 100%;
}
.game-display {
padding: 20px;
}
}
@media (max-width: 640px) {
.control-panel ul {
width: 280px;
padding: 15px;
}
.control-panel li {
margin: 10px;
}
.icon {
width: 50px;
height: 50px;
}
.icon .fa {
font-size: 24px;
}
.slot-machine {
padding: 15px;
}
.reel {
width: 80px;
height: 120px;
font-size: 40px;
}
.spin-btn {
padding: 12px 30px;
font-size: 16px;
}
}
/* Animations */
@keyframes fadeOut {
from {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
to {
opacity: 0;
transform: translate(-50%, -50%) scale(1.5);
}
}