    /* Header Styling */
.header {
    background: linear-gradient(90deg, #4d023c, #990066);
    background-size: 400% 400%; /* Animated gradient effect */
    animation: gradientMotion 15s ease infinite; /* Smooth gradient animation */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    font-family: 'Arial', sans-serif;
    border-bottom: 2px solid #f700b9;
    position: relative;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap; /* Wrap content to fit smaller resolutions */
}

@keyframes gradientMotion {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.header .logo {
    display: flex;
    align-items: center;
}

.header .logo img {
    height: 50px;
    margin-right: 100px;
}

.header .nav-menu {
    display: flex;
    gap: 10px;
}

.header .nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    position: relative;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: linear-gradient(90deg, #ad0da5, #e04dcc); /* Gradient purple box behind the text */
    border: 2px solid transparent; /* Transparent border for consistency */
    border-radius: 5px;
    background-clip: border-box;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3); /* Add subtle inset shadow */
}

.header .nav-menu a:hover {
    color: #f0a500;
    background: linear-gradient(90deg, #e04dd9, #ad0da0); /* Slight color shift on hover */
}
/* Real-Time Clock Styling */
.header .real-time-clock {
    font-size: 16px; /* Adjusted font size for clarity */
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, #7a0670, #e200aa);
    padding: 8px 12px;
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
}

/* Adjustments for Wide Screens */
@media (min-width: 1200px) {
    .header {
        padding: 25px 50px; /* Increased padding for larger screens */
        flex-wrap: wrap; /* Wrap content to fit smaller resolutions */
    }

    .header .nav-menu a {
        font-size: 15px; /* Slightly larger font size */
        padding: 10px 15px; /* Larger padding for better spacing */
    }

    .header .real-time-clock {
        font-size: 17px; /* Larger clock text */
    }
}

/* Adjustments for Smaller PC Resolutions */
@media (max-width: 1024px) {
    .header {
        flex-wrap: wrap; /* Wrap content to fit smaller resolutions */
        text-align: center;
    }

    .header .nav-menu {
        justify-content: center;
        gap: 15px; /* Reduced gap */
    }

    .header .real-time-clock {
        margin-top: 10px; /* Push clock below menu for better layout */
    }
}

/* Cross-Browser Support Fixes */
* {
    -webkit-font-smoothing: antialiased; /* Smooth fonts for WebKit browsers */
    -moz-osx-font-smoothing: grayscale; /* Smooth fonts for Firefox */
    box-sizing: border-box; /* Standard box-sizing for consistent layouts */
}

/* Ensure Logo and Menu Scale Properly */
.header img,
.nav-menu a {
    max-width: 100%;
    height: auto;
}

        /* Responsive Design for Mobile */
        @media (max-width: 768px) {
            .header {
                flex-direction: column;
                text-align: center;
                padding: 15px;
            }

            .header .nav-menu {
                flex-wrap: wrap;
                justify-content: center;
                gap: 10px;
            }

            .header .real-time-clock {
                margin-top: 10px;
                margin-right: 0px;
            }
        }

.header .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f0a500;
    transition: width 0.3s;
}

.header .nav-menu a:hover::after {
    width: 100%;
}

.header .action-buttons {
    display: flex;
    gap: 15px;
}

.header .action-buttons a {
    background: linear-gradient(90deg, #ad0dad, #e04de0); /* Gradient box behind the buttons */
    padding: 8px 40px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    border: 2px solid transparent; /* Transparent border for consistency */
    background-clip: border-box;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3); /* Soft inset shadow for futuristic touch */
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .action-buttons a:hover {
    background: linear-gradient(90deg, #e04dcc, #ad0d92); /* Slight hover effect */
    transform: translateY(-3px); /* Slight hover lift effect */
}
.action-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px; /* Space between icon and text */
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 40px;
    border-radius: 8px;
    background: linear-gradient(90deg, #ffb0f2, #f65cee); /* Reverse purple gradient */
    box-shadow: 0 4px 8px rgba(252, 176, 255, 0.6), 0 2px 4px rgba(0, 0, 0, 0.2);
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.action-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 176, 238, 0.8), 0 4px 8px rgba(0, 0, 0, 0.3);
}

.action-buttons a .icon {
    width: 40px; /* Adjust size of the icon */
    height: 40px;
    object-fit: contain; /* Ensure icon is scaled proportionally */
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: black url('/backgroundgc.jpg') no-repeat center center fixed; /* Fixed background */
    background-size: cover; /* Ensure the background covers the entire screen */
    color: white;
    overflow-x: hidden;
    line-height: 1.6; /* Added line-height */
}

.article-container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 20px;
    background-color: #000; /* Total black background */
    border: 2px solid #c231a2; /* Deep purple border */
    border-radius: 10px; /* Optional: Rounded corners for the box */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Optional: Subtle shadow for a lifted effect */
}

h1 {
    color: #db70cd; /* Soft purple title */
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    color: #db70cd; /* Matching purple for subheadings */
    margin-top: 30px;
}

p {
    margin: 15px 0;
}

ol {
    margin: 15px 0;
    padding-left: 20px;
}

ol li {
    margin: 10px 0;
    color: #fff;
}

strong {
    color: #db70d6; /* Highlight important text in purple */
}

.article-title {
    background-color: rgb(75, 0, 75);
    color: white;
    padding: 10px;
    text-align: center;
}

.article-subtitle {
    background-color: purple;
    color: white;
    padding: 10px;
    margin-top: 20px;
    font-size: 18px;
}
.article-image {
    text-align: center; /* Center the image horizontally */
    margin: 20px 0; /* Add some spacing around the image */
}

.article-image img {
    max-width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}
.winner-togel {
      display: center;
      align-items: center;
      gap: 15px;
      border-radius: 10px;
      font-weight: bold;
      margin-bottom: -20px;
      position: relative;
      animation: fadeInUp 1s ease-out;
      flex-wrap: wrap; /* Wrap content to fit smaller resolutions */
    }

    .icon-box {
      display: flex;
      align-items: center;
      background-color: yellow;
      color: black;
      border: 2px solid purple;
      border-radius: 5px;
    }

    .icon-box i {
      font-size: 1.5rem;
      margin-right: 8px;
    }

    .content-box {
      background-color: black;
      color: white;
      border: 2px solid purple;
      border-radius: 5px;
      display: flex;
      align-items: center;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeOutDown {
      from {
        opacity: 1;
        transform: translateY(0);
      }
      to {
        opacity: 0;
        transform: translateY(20px);
      }
    }
    /* PC Styles (large screens) */
    @media (min-width: 768px) {
        .winner-togel {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 15px;
            font-size: 1rem;
            margin-top: -5px; /* Removed negative margin to center properly */
            width: auto; /* Adjusted from 100vh to auto for better layout */
            gap: 15px;
          }
        
          .icon-box {
            padding: 5px 10px;
            width: 120vh;
            margin-bottom: -15px;
          }
        
          .content-box {
            padding: 10px 15px;
            width: 120vh;
          }
        }

    /* Mobile Styles (small screens) */
    @media (max-width: 767px) {
      .winner-togel {
        flex-direction: column;
        text-align: center;
        padding: 10px;
        margin-bottom: -10px;
        font-size: 0.9rem;
        gap: 10px;
      }

      .icon-box {
        padding: 5px;
        font-size: 1rem;
      }

      .icon-box i {
        font-size: 1.2rem;
      }

      .content-box {
        padding: 8px 10px;
        font-size: 0.8rem;
      }
    }

/* Mobile-specific styles */
@media screen and (max-width: 768px) {
    body {
        background: url('/backgroundmobile.jpg');
        background-size: center; /* Make sure it covers the screen */
        background-attachment: scroll; /* Removes fixed attachment, allowing the image to scroll */
    }
}

/* Moving Text Container Adjustment */
.moving-text-container {
    background: linear-gradient(90deg, #a5167a, #ff00ff, #a5167a);
    border: 2px solid #ff00ff;
    padding: 10px;
    margin-top: -1px;
    overflow: hidden; /* Ensure the moving text doesn't display outside the container */
    position: center;
}

.moving-text {
    display: inline-block;
    white-space: nowrap; /* Prevent the text from wrapping */
    animation: moveText 19s linear infinite;
    font-size: 18px;
    color: white;
    font-weight: bold;
    text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff;
}

@keyframes moveText {
    0% {
        transform: translateX(100vw); /* Start from the viewport's right edge */
    }
    100% {
        transform: translateX(-100%); /* Move completely to the left of the viewport */
    }
}

@media screen and (max-width: 768px) {
    @keyframes moveText {
        0% {
            transform: translateX(100vw); /* Start from the viewport's right edge */
        }
        100% {
            transform: translateX(-200vw); /* Move completely to the left of the viewport */
        }
    }@media screen and (max-width: 768px) {
    .action-buttons a .icon {
        width: 30px; /* Increase the size */
        height: 30px; /* Keep it square */
        object-fit: contain; /* Ensure no part of the image is cut off */
        border-radius: 50%; /* Make the container circular */
        background-color: transparent; /* Ensure there's no background interfering */
    }

    .action-buttons a {
        gap: 0px; /* Add a gap between the icon and text */
        font-size: 16px; /* Text remains legible */
        padding: 12px 35px; /* Ensure balanced button padding */
        display: flex;
        align-items: center;
    }

    .moving-text-container {
        height: 50px; /* Adjust height for smaller screens */
    }
    
    .moving-text {
        font-size: 16px; /* Reduce font size for better visibility */
        animation-duration: 11s; /* Speed up the animation for smaller screens */
    }
}

    
    /* Header Styles for Mobile */
.header {
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center elements horizontally */
    padding: 10px; /* Adjust padding for smaller screens */
    background: linear-gradient(90deg, #4d023c, #990066);
    background-size: 400% 400%; /* Animated gradient effect */
    animation: gradientMotion 15s ease infinite; /* Smooth gradient animation */
}

.header .logo {
    margin-bottom: 10px; /* Add space below the logo */
    max-width: 200px; /* Adjust logo size for mobile */
    background: none; /* Remove the purple gradient background behind the logo */
}

.header .nav-menu {
    flex-direction: column; /* Stack navigation links */
    gap: 10px; /* Add spacing between links */
    width: 100%; /* Full width for nav menu */
    text-align: center; /* Align text to the center */
    padding: 10px 0; /* Add padding for better spacing */
}

.header .nav-menu a {
    font-size: 14px; /* Smaller font size for navigation links */
    padding: 8px 12px; /* Add padding for touch-friendly links */
    background: linear-gradient(90deg, #ad0da0, #e04de0); /* Gradient purple background */
    border: 2px solid transparent; /* Transparent border for consistency */
    background-clip: border-box;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3); /* Add subtle inset shadow */
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .nav-menu a:hover {
    background: linear-gradient(90deg, #cf4de0, #ad0d98); /* Slight color shift on hover */
    color: #f0a500; /* Hover text color */
}

.header .action-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px; /* Add spacing between buttons */
    width: 100%; /* Full width for buttons */
    margin-top: 0px; /* Add spacing above the buttons */
}

.header .action-buttons a {
    font-size: 12px; /* Smaller font size for action buttons */
    padding: 8px 12px; /* Adjust padding for buttons */
    background: linear-gradient(90deg, #ad0dad, #e04dd4); /* Gradient box behind the buttons */
    border: 2px solid transparent; /* Transparent border for consistency */
    background-clip: border-box;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3); /* Soft inset shadow for futuristic look */
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .action-buttons a:hover {
    background: linear-gradient(90deg, #e04de0, #ad0d8a); /* Slight hover effect */
    transform: translateY(-3px); /* Slight hover lift effect */
}

.header .action-buttons a img {
    margin-right: -30px; /* Space between icon and text */
    margin-left: -30px;
    width: 100px; /* Adjust the icon size */
}
    body {
        background-size: 100%; /* Scale the width to fit the viewport, height adjusts automatically */
        background-position: top center; /* Adjust the position for mobile view */
    }
}

/* Container Styling */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    position: relative;
    z-index: 2;
}

/* Table Styling */
.table-container {
    background: #000000;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 0 20px #e22bca;
    margin-top: 15px;
    border: 2px solid #e22bd9;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

th, td {
    border: 1px solid #555;
    padding: 0.8rem;
    text-align: left;
}

th {
    background: linear-gradient(90deg, #aa14af, #ff00ff);
    color: white;
    text-shadow: 0 0 5px #e22bd9;
}

td {
    color: white;
    text-shadow: 0 0 5px #555;
}

/* Button Container */
.button-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* Larger minimum size for better spacing */
    gap: 20px;
    margin: 10px auto;
    padding: 20px;
    justify-content: center;
    max-width: 90%;
}

/* Button Styling */
.btn {
    background: linear-gradient(135deg, #910050, #fd00be); /* Blue gradient background */
    color: white;
    font-weight: bold;
    border: 3px solid transparent;
    border-radius: 8px; /* Smooth rounded corners */
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
    font-size: 18px;
    box-shadow: 0px 4px 12px rgba(255, 0, 157, 0.5); /* Soft outer glow effect */
    position: relative;
    text-transform: uppercase; /* Uppercase text for a cleaner look */
    letter-spacing: 1px; /* Slight letter spacing for elegance */
    outline: none; /* Remove outline on focus */
    border-image: linear-gradient(135deg, #727272, white); /* Silver-to-white gradient border */
    border-image-slice: 1;
}

/* Hover Effect */
.btn:hover {
    background: linear-gradient(135deg, #b50097, #d100a4); /* Darker blue on hover */
    transform: translateY(-2px); /* Lift effect */
    box-shadow: 0px 6px 16px rgba(255, 0, 191, 0.7); /* Stronger outer glow */
}

/* Active (Click) Effect */
.btn:active {
    transform: translateY(1px); /* Slightly pressed-down effect */
    box-shadow: 0px 3px 8px rgba(255, 0, 128, 0.6); /* Slightly smaller glow on click */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .button-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        max-width: 100%;
    }
    .btn {
        padding: 14px 16px;
        font-size: 15px;
        border-radius: 6px;
    }
}

/* Footer Styling */
.footer {
    background: transparent;
    color: white;
    text-align: center;
    padding: 1rem;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 10;
    box-shadow: transparent; /* Subtle shadow for contrast */
}

.footer-nav {
    display: flex;
    justify-content: center;
    margin-right: 0px;
    gap: 15px;
    flex-wrap: wrap; /* Allow wrapping for small screens */
}

.footer-item {
    display: flex;
    flex-direction: column; /* Icons above text */
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7); /* Subtle text shadow */
    transition: transform 0.3s, color 0.3s;
    background: black; /* Black background for the entire item */
    border: 2px solid #b10ea3; /* Futuristic purple border */
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 0 15px rgba(226, 43, 211, 0.5); /* Purple glow for the border */
}

.footer-item:hover {
    color: #ff00d4; /* Purple on hover */
    transform: scale(1.1);
    border-color: #ff00d4; /* Change border color on hover */
    box-shadow: 0 0 20px rgba(255, 0, 212, 0.7); /* Stronger purple glow on hover */
}

.footer-item span {
    margin-top: 5px;
    color: white;
    border: 1px solid #c90d9a; /* Purple border around text */
    border-radius: 5px;
    padding: 2px 5px;
    font-size: 17px;
    background: black; /* Black background for the text */
    box-shadow: 0 0 10px rgba(182, 21, 182, 0.5); /* Subtle purple glow for text background */
}

.footer-icon {
    width: 50px; /* Adjust icon size */
    height: 50px;
    margin-bottom: 0px;
    background: black; /* Black background for the icon */
    border: 2px solid #e22be2; /* Futuristic purple border for the icon */
    border-radius: 50%; /* Circular icon background */
    padding: 5px; /* Space inside the border */
    box-shadow: 0 0 15px rgba(220, 43, 226, 0.5); /* Subtle purple glow for the icon */
    transition: transform 0.3s, box-shadow 0.3s;
}

.footer-item:hover .footer-icon {
    transform: scale(1.2); /* Slightly enlarge the icon on hover */
    box-shadow: 0 0 20px rgba(255, 0, 212, 0.7); /* Stronger purple glow on hover */
}
/* Bottom Footer Styling */
.bottom-footer {
    background: transparent; /* Gradient background */
    color: white;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    padding: 15px 10px;
    position: relative;
    margin-top: -100px;
    margin-bottom: 100px;
    bottom: 0;
    width: 100%;
}


/* Floating GIF */
.floating-gif {
    position: fixed;
    bottom: 100px;
    right: 25px;
    z-index: 20;
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 30px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s;
}

.floating-gif img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-gif:hover {
    transform: scale(1.2);
}

/* Media Query for Small Screens (max-width: 768px) */
@media screen and (max-width: 768px) {
    body {
        background: url('/backgroundmobile.jpg');
        background-size: center; /* Ensures the background covers the entire screen */
        background-attachment: scroll; /* Removes fixed attachment, allowing the image to scroll */
    }

    .container {
        padding: 1rem; /* Adjust padding for small screens */
    }

    .table-container {
        padding: 1rem;
        font-size: 14px; /* Adjust font size for table container */
    }

    table th, table td {
        font-size: 14px; /* Adjust font size in table */
    }

    .button-container {
        flex-direction: column; /* Stack buttons vertically */
        gap: 0px; /* Adjust spacing between buttons */
    }

    .btn {
        font-size: 16px; /* Adjust font size for buttons */
        padding: 10px 20px; /* Adjust button padding */
    }

    .footer {
        font-size: 13px; /* Adjust footer text size */
        padding: 0.5rem; /* Adjust footer padding */
    }

    .footer-nav {
        gap: 10px; /* Adjust gap for footer nav */
    }

    .footer-icon {
        width: 40px; /* Smaller icons for small screens */
        height: 40px; /* Maintain proportional height */
    }

    .footer-item span {
        font-size: 13px; /* Smaller text for footer items */
        padding: 2px 4px; /* Adjust padding for smaller footer text */
    }

    .floating-gif {
        width: 90px; /* Adjust floating gif size */
        height: 90px; /* Adjust floating gif size */
        bottom: 110px; /* Adjust bottom position */
    }
}

/* Media Query for Extra Small Screens (max-width: 480px) */
@media screen and (max-width: 480px) {
    body {
        background: url('/backgroundmobile.jpg');
        background-size: center; /* Ensures the background covers the entire screen */
        background-attachment: scroll; /* Removes fixed attachment, allowing the image to scroll */
    }

    .container {
        padding: 0.5rem; /* Adjust padding for very small screens */
    }

    .btn {
        font-size: 14px; /* Smaller button font size */
        padding: 8px 15px; /* Smaller button padding */
    }

    .footer {
        font-size: 12px; /* Smaller footer text */
    }

    .footer-nav {
        gap: 8px; /* Smaller gap for very small screens */
    }

    .footer-icon {
        width: 40px; /* Smallest icons for mobile */
        height: 40px; /* Smallest icon height */
    }

    .footer-item span {
        font-size: 10px; /* Further reduce font size for very small screens */
        padding: 1px 3px; /* Adjust padding for footer items */
    }

    .floating-gif {
        width: 60px; /* Smaller floating gif size */
        height: 60px; /* Smaller floating gif size */
    }
    .moving-text-container {
        height: 50px; /* Further reduce height for smaller screens */
    }

    .moving-text {
        font-size: 14px; /* Smaller font size */
        animation-duration: 11s; /* Faster animation */
    }
}