body {
    font-family: 'Poppins', sans-serif;
    color: #263238;
    background-color: #E0F7FA;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #00796B; /* Dark Cyan for headings */
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    padding-bottom: 0.5rem;
    color: #00796B;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #4FC3F7;
    border-radius: 2px;
}

.bg-light-blue {
    background-color: #B2EBF2; /* Lighter Cyan background */
}

.btn-primary {
    background-color: #4FC3F7;
    border-color: #4FC3F7;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #29B6F6;
    border-color: #29B6F6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #80DEEA;
    border-color: #80DEEA;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #4DD0E1;
    border-color: #4DD0E1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.custom-btn-gradient {
    background: linear-gradient(45deg, #4FC3F7, #29B6F6);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.custom-btn-gradient:hover {
    background: linear-gradient(45deg, #29B6F6, #4FC3F7);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Header */
header {
    background-color: #00BCD4; /* Cyan background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1030;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-brand .site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.nav-link {
    color: #fff !important;
    font-weight: 600;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #E0F7FA !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #E0F7FA;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background-image: url('pictures/graphics/underwater-background_2.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    position: relative;
    color: #fff;
    padding-top: 100px;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-section h1 {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero-section .game-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.hero-section .game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero-section .game-card img {
    height: 120px;
    object-fit: cover;
}

.hero-section .game-card .card-body {
    padding: 15px;
}

.hero-section .game-card .card-title {
    color: #00796B;
    font-size: 1.1rem;
}

.hero-section .game-card .card-text {
    color: #546E7A;
    font-size: 0.9rem;
}

/* Games Section */
.game-item {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.game-item img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.game-item .card-body {
    padding: 20px;
}

.game-item .card-title {
    color: #00796B;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.game-item .card-text {
    font-size: 0.95rem;
    color: #546E7A;
}

.play-game-btn {
    text-decoration: none;
}

.game-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* About Game (FAQ) */
.accordion-button {
    font-weight: 600;
    color: #00796B;
    background-color: #E0F7FA;
    border-bottom: 1px solid rgba(0,0,0,.125);
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #00BCD4;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-body {
    background-color: #fff;
    color: #546E7A;
    padding: 20px;
}

.accordion-item {
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

/* Tournaments Section */
.tournament-leader-card {
    background-color: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
}

.tournament-leader-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tournament-leader-card .avatar-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid #4FC3F7;
}

.tournament-leader-card .trophy-icon {
    font-size: 2.5rem;
    color: #FFC107;
}

.tournament-leader-card .card-title {
    color: #00796B;
    font-size: 1.3rem;
}

.tournament-leader-card .card-text {
    color: #546E7A;
}

.badge {
    font-size: 0.9rem;
    padding: 0.5em 0.8em;
    border-radius: 20px;
}

/* Achievements Section */
.achievement-card {
    background-color: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pictures/graphics/abstract-achievement-pattern_2.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.achievement-card .card-body {
    position: relative;
    z-index: 1;
}

.achievement-card .achievement-icon {
    font-size: 3.5rem;
    color: #FFC107;
    margin-bottom: 15px;
}

.achievement-card .card-title {
    color: #00796B;
    font-size: 1.8rem;
}

.achievement-card .card-text {
    color: #546E7A;
    font-size: 1.1rem;
}

.progress {
    background-color: #E0F7FA;
    border-radius: 10px;
}

.progress-bar {
    background-color: #00BCD4;
    border-radius: 10px;
    transition: width 1s ease-in-out;
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Clans Section */
.clan-icon {
    font-size: 4rem;
    color: #00BCD4;
    transition: transform 0.3s ease;
}

.clan-icon:hover {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonial-card {
    background-color: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-card .avatar-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #4FC3F7;
}

.testimonial-card .card-subtitle {
    color: #00796B;
    font-weight: 600;
}

.testimonial-card .star-rating i {
    color: #FFC107;
    font-size: 1.2rem;
}

.testimonial-card .card-text {
    font-style: italic;
    color: #546E7A;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #00BCD4;
    border-radius: 50%;
    padding: 15px;
}

/* Contact Form */
#contact .card {
    border-radius: 15px;
}

#contact .form-label {
    font-weight: 600;
    color: #00796B;
}

#contact .form-control {
    border-radius: 8px;
    border: 1px solid #B2EBF2;
    padding: 10px 15px;
}

#contact .form-control:focus {
    border-color: #00BCD4;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #00796B; /* Dark Cyan background */
    color: #E0F7FA;
    padding: 60px 0;
    border-top: 5px solid #00BCD4;
    border-bottom: 5px solid #00BCD4;
}

.disclaimer-content {
    background-color: rgba(0, 188, 212, 0.2); /* Semi-transparent Cyan */
    border: 2px solid #4FC3F7;
    border-radius: 15px;
}

.disclaimer-title {
    color: #FFC107;
    font-size: 1.8rem;
    font-weight: 700;
}

.disclaimer-title i {
    color: #FFC107;
}

.disclaimer-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.disclaimer-link {
    color: #FFC107;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.disclaimer-link:hover {
    color: #fff;
}

/* Footer */
footer {
    background-color: #004D40; /* Darker Teal */
    color: #B2EBF2;
    padding: 40px 0;
}

.footer-logo-link{
    text-decoration: none;
}

footer .footer-logo-link .logo-img {
    height: 35px;
}

footer .footer-logo-link .site-name {
    font-size: 1.5rem;
    color: #B2EBF2;
}

footer h5 {
    color: #E0F7FA;
    font-weight: 600;
    margin-bottom: 20px;
}

footer .footer-links {
    padding-left: 0;
}

footer .footer-links li a {
    color: #B2EBF2;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

footer .footer-links li a:hover {
    color: #E0F7FA;
    text-decoration: underline;
}

footer .bi-person-fill {
    color: #E0F7FA;
}

.footer-hr {
    border-color: rgba(178, 235, 242, 0.3);
}

.footer-partners {
    padding-top: 20px;
}

.footer-partner-logo {
    max-width: 120px;
    height: auto;
    margin: 0 10px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-partner-logo:hover {
    transform: scale(1.05);
}

.no-link-logo {
    cursor: default;
}

/* Age Verification Modal */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}
.age-verification-modal {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    width: 90%;
    color: #263238;
}
.age-verification-modal h2 {
    color: #00796B;
    font-size: 1.4rem !important;
    margin-bottom: 20px;
}
.age-verification-modal p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.age-verification-modal .form-check-input:checked {
    background-color: #4FC3F7;
    border-color: #4FC3F7;
}

.age-verification-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity .3s ease;
}

.age-verification-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-verification-overlay.is-hiding {
  opacity: 0;
}

.age-verification-modal {
  background-color: #fff;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  max-width: 500px;
  width: 90%;
  color: #263238;
}
.age-verification-modal h2 {
  color: #00796B;
  font-size: 2rem;
  margin-bottom: 20px;
}
.age-verification-modal p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}
.age-verification-modal .form-check-input:checked {
  background-color: #4FC3F7;
  border-color: #4FC3F7;
}

/* Game Modal */
.game-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.game-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.game-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.game-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-game-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #263238;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1050;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.close-game-modal:hover {
    background-color: #4FC3F7;
    color: #fff;
}

/* Mobile Adaptations */
@media (max-width: 991.98px) {
    .navbar-brand .site-name {
        font-size: 1.5rem;
    }

    .navbar-brand .logo-img {
        height: 30px;
    }

    .navbar-collapse {
        background-color: #00BCD4;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }

    .navbar-nav .nav-item {
        margin: 0;
    }

    .nav-link {
        padding: 10px 15px;
        text-align: center;
    }

    .nav-link::after {
        display: none;
    }

    .hero-section {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .tournament-leader-card .avatar-img {
        width: 70px;
        height: 70px;
    }

    .tournament-leader-card .trophy-icon {
        font-size: 2rem;
    }

    .achievement-card .achievement-icon {
        font-size: 2.5rem;
    }

    .clan-icon {
        font-size: 3rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .footer-partners {
        flex-direction: column;
        gap: 20px;
    }

    .footer-partner-logo {
        max-width: 100px;
    }
}

@media (max-width: 767.98px) {
    .hero-section .game-card {
        margin-bottom: 15px;
    }
    .hero-section .game-card img {
        height: 100px;
    }
    .hero-section .game-card .card-title {
        font-size: 1rem;
    }
    .hero-section .game-card .card-text {
        font-size: 0.8rem;
    }
    .game-item img {
        height: 180px;
    }
    .game-item .card-title {
        font-size: 1.2rem;
    }
    .game-item .card-text {
        font-size: 0.9rem;
    }
}
/* Parent container styling */
.regShieldWrap {
    margin-top: 30px; /* Top margin for the wrapper */
    margin-left: 20px; /* Left margin for the wrapper */
    margin-right: 20px; /* Right margin for the wrapper */
    /* Consider adding max-width and margin: auto for centering on larger screens if needed */
    /* max-width: 960px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading 1 styling */
.regShieldWrap h1 {
    font-size: 28px; /* Moderate font size for H1 */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Line height for readability */
    margin-top: 30px; /* Top margin for separation */
    margin-bottom: 15px; /* Bottom margin for separation */
}

/* Heading 2 styling */
.regShieldWrap h2 {
    font-size: 24px; /* Moderate font size for H2 */
    font-weight: 700; /* Bold font weight */
    line-height: 1.3; /* Line height for readability */
    margin-top: 25px; /* Top margin for separation */
    margin-bottom: 12px; /* Bottom margin for separation */
}

/* Heading 3 styling */
.regShieldWrap h3 {
    font-size: 20px; /* Moderate font size for H3 */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.4; /* Line height for readability */
    margin-top: 20px; /* Top margin for separation */
    margin-bottom: 10px; /* Bottom margin for separation */
}

/* Heading 4 styling */
.regShieldWrap h4 {
    font-size: 18px; /* Moderate font size for H4 */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.5; /* Line height for readability */
    margin-top: 18px; /* Top margin for separation */
    margin-bottom: 8px; /* Bottom margin for separation */
}

/* Heading 5 styling */
.regShieldWrap h5 {
    font-size: 16px; /* Moderate font size for H5, similar to body text */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.5; /* Line height for readability */
    margin-top: 16px; /* Top margin for separation */
    margin-bottom: 6px; /* Bottom margin for separation */
}

/* Paragraph styling */
.regShieldWrap p {
    font-size: 16px; /* Standard paragraph font size */
    line-height: 1.6; /* Good line height for readability */
    margin-bottom: 16px; /* Space between paragraphs */
}

/* Unordered list styling */
.regShieldWrap ul {
    margin-top: 16px; /* Top margin for the list */
    margin-bottom: 16px; /* Bottom margin for the list */
    padding-left: 25px; /* Indentation for list items */
    list-style-type: disc; /* Standard bullet points */
}

/* List item styling */
.regShieldWrap li {
    font-size: 16px; /* Font size for list items */
    line-height: 1.5; /* Line height for list items */
    margin-bottom: 8px; /* Space between individual list items */
}

.frameHames {
    margin-top: 80px;
}
.frameHames iframe{
    width: 100%;
    height: 100vh;
}

.pageImage img{
    width: 100%;
    height: 450px;
    object-fit: contain;
    margin-bottom: 30px;
    margin-top: 30px;
}

@media(max-width: 350px){
    .form-control{
        font-size: 0.8rem;
    }
}