/* GameHub Top - Modern Abstract Design */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', Arial, sans-serif;
    font-weight: 400;
    background: #ffffff;
    color: #2c3e50;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Preloader */
.gamehubtop-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gamehubtop-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: gamehubtop-spin 1s linear infinite;
}

@keyframes gamehubtop-spin {
    to { transform: rotate(360deg); }
}

/* Navigation */
.gamehubtop-navbar {
    background: rgba(255, 255, 255, 0.98);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    transition: all 0.3s ease;
    min-height: 75px;
    z-index: 1050;
}

.gamehubtop-navbar.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}

.gamehubtop-navbar .navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gamehubtop-brand {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    height: 75px;
    line-height: 75px;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.gamehubtop-brand img {
    max-height: 50px;
    width: auto;
    display: block;
}

.gamehubtop-brand:hover,
.gamehubtop-brand:focus {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.9;
}

.gamehubtop-nav-list {
    margin: 0;
    align-items: center;
}

.gamehubtop-nav-link {
    color: #2c3e50 !important;
    font-size: 15px;
    font-weight: 600;
    padding: 0 18px !important;
    position: relative;
    display: flex;
    align-items: center;
    height: 75px;
}

.gamehubtop-nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.gamehubtop-nav-link:hover,
.gamehubtop-nav-link:focus {
    color: #667eea !important;
}

.gamehubtop-nav-link:hover::after,
.gamehubtop-nav-link.current::after {
    width: 60%;
}

.gamehubtop-cta-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    border-radius: 25px;
    margin-left: 10px;
    padding: 0 24px !important;
    height: 50px !important;
    line-height: 50px !important;
}

.gamehubtop-cta-link::after {
    display: none;
}

.gamehubtop-cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.gamehubtop-toggle {
    border: 2px solid #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 18px;
    margin-right: 10px;
    float: right;
}

.gamehubtop-toggle:hover,
.gamehubtop-toggle:focus {
    background: rgba(102, 126, 234, 0.2);
    border-color: #764ba2;
    outline: none;
}

.gamehubtop-icon-bar {
    display: block;
    width: 28px;
    height: 3px;
    background: #667eea;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.gamehubtop-toggle:hover .gamehubtop-icon-bar {
    background: #764ba2;
}

/* Bootstrap 5 Navigation Fixes */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-expand-md .navbar-nav {
    flex-direction: row;
}

.navbar-expand-md .navbar-collapse {
    flex-basis: auto;
}

/* Mobile Menu */
@media (max-width: 767px) {
    .navbar-expand-md .navbar-nav {
        flex-direction: column;
    }

    .navbar-expand-md .navbar-collapse {
        border-top: 1px solid #e9ecef;
        margin-top: 10px;
    }

    .navbar-expand-md .navbar-collapse.collapsing,
    .navbar-expand-md .navbar-collapse.show {
        background: #fff;
        padding-bottom: 15px;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 15px 20px;
    }
}

/* Hero Section */
.gamehubtop-hero {
    background: url('../images/poker.webp') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 75px;
}

.gamehubtop-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.gamehubtop-hero .container .row .col-md-12 {
    text-align: center;
}

.gamehubtop-hero-title {
    font-size: 52px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gamehubtop-hero-description {
    font-size: 20px;
    color: #fff;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.gamehubtop-hero-btn {
    display: inline-block;
    background: #fff;
    color: #667eea;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 45px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.gamehubtop-hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    color: #764ba2;
    text-decoration: none;
}

/* Section Common Styles */
.gamehubtop-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.gamehubtop-section-title {
    font-size: 42px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
    display: block;
    padding-bottom: 20px;
}

.gamehubtop-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.gamehubtop-section-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    font-weight: 400;
    margin-top: 20px;
}

/* Advantages Section */
.gamehubtop-advantages {
    padding: 100px 0;
    background: #f8f9fa;
}

.gamehubtop-advantages-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.gamehubtop-advantage-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
}

.gamehubtop-card-inner {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.gamehubtop-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
}

.gamehubtop-card-icon {
    font-size: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
}

.gamehubtop-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.gamehubtop-card-text {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.7;
}

/* Tips Section */
.gamehubtop-tips {
    padding: 100px 0;
    background: #fff;
}

.gamehubtop-tips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.gamehubtop-tip-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
}

.gamehubtop-tip-inner {
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
}

.gamehubtop-tip-inner:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
}

.gamehubtop-tip-image-wrapper {
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
}

.gamehubtop-tip-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gamehubtop-tip-inner:hover .gamehubtop-tip-image {
    transform: scale(1.05);
}

.gamehubtop-tip-title {
    font-size: 22px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
}

.gamehubtop-tip-list {
    list-style: none;
    padding: 0;
}

.gamehubtop-tip-list li {
    font-size: 15px;
    color: #5a6c7d;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.gamehubtop-tip-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 700;
    font-size: 18px;
}

/* Portals Section */
.gamehubtop-portals {
    padding: 100px 0;
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
}

.gamehubtop-portals-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.gamehubtop-portal-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
}

.gamehubtop-portal-inner {
    background: #fff;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    border: 2px solid transparent;
}

.gamehubtop-portal-inner:hover {
    transform: translateY(-8px);
    border-color: rgba(118, 75, 162, 0.3);
    box-shadow: 0 15px 50px rgba(118, 75, 162, 0.2);
}

.gamehubtop-portal-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 15px;
    border-radius: 20px;
    text-transform: uppercase;
}

.gamehubtop-portal-name {
    font-size: 28px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
    margin-top: 10px;
}

.gamehubtop-portal-desc {
    font-size: 15px;
    color: #7f8c8d;
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 75px;
}

.gamehubtop-portal-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.gamehubtop-portal-features li {
    font-size: 14px;
    color: #5a6c7d;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.gamehubtop-portal-features li i {
    color: #667eea;
    margin-right: 10px;
    font-size: 16px;
}

.gamehubtop-portal-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s ease;
}

.gamehubtop-portal-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: #fff;
}

/* Contact Section */
.gamehubtop-contact {
    background: url('../images/contact-bg.webp') no-repeat center center;
    background-size: cover;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.gamehubtop-contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.92) 0%, rgba(52, 73, 94, 0.92) 100%);
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.gamehubtop-contact-title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.gamehubtop-contact-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 30px;
}

.gamehubtop-contact-address {
    font-style: normal;
}

.gamehubtop-contact-address p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.gamehubtop-contact-address i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}

.gamehubtop-contact-form-container {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.gamehubtop-form {
    width: 100%;
}

.gamehubtop-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.gamehubtop-form-row .gamehubtop-form-group {
    flex: 1;
    margin-bottom: 0;
}

.gamehubtop-form-group {
    margin-bottom: 20px;
}

.gamehubtop-form-control {
    width: 100%;
    padding: 15px 20px;
    font-size: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.gamehubtop-form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.gamehubtop-textarea {
    resize: vertical;
    min-height: 140px;
}

.gamehubtop-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gamehubtop-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.gamehubtop-success-message {
    display: none;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    font-weight: 600;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    font-size: 16px;
    border: 2px solid #b1dfbb;
}

.gamehubtop-success-message.show {
    display: block;
}

/* Footer */
.gamehubtop-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 50px 0 40px;
    text-align: center;
}

.gamehubtop-footer-text {
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

.gamehubtop-footer-link {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    margin: 0 5px;
}

.gamehubtop-footer-link:hover {
    color: #667eea;
}

/* Cookie Banner */
.gamehubtop-cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 650px;
    width: calc(100% - 40px);
    background: rgba(44, 62, 80, 0.97);
    color: #fff;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: gamehubtop-slideUp 0.5s ease;
}

@keyframes gamehubtop-slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.gamehubtop-cookie-banner.show {
    display: block;
}

.gamehubtop-cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gamehubtop-cookie-text {
    font-size: 14px;
    line-height: 1.6;
}

.gamehubtop-cookie-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.gamehubtop-cookie-link:hover {
    color: #667eea;
}

.gamehubtop-cookie-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.gamehubtop-cookie-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 991px) {
    .gamehubtop-hero-title {
        font-size: 38px;
    }

    .gamehubtop-hero-description {
        font-size: 17px;
    }

    .gamehubtop-section-title {
        font-size: 34px;
    }

    .gamehubtop-advantages-row,
    .gamehubtop-tips-row,
    .gamehubtop-portals-row {
        flex-direction: column;
    }

    .gamehubtop-advantage-card,
    .gamehubtop-tip-card,
    .gamehubtop-portal-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .gamehubtop-contact-title {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .gamehubtop-navbar .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .gamehubtop-brand {
        margin-top: 0;
        height: 75px;
        line-height: 75px;
    }

    .gamehubtop-toggle {
        margin-top: 0;
        align-self: center;
    }

    .gamehubtop-nav-link {
        height: auto !important;
        line-height: 1.6 !important;
        padding: 15px 20px !important;
        border-bottom: 1px solid #e9ecef;
        display: block !important;
    }

    .gamehubtop-nav-link::after {
        display: none !important;
    }

    .gamehubtop-cta-link {
        margin: 10px 20px !important;
        height: auto !important;
        line-height: 1.6 !important;
        padding: 15px 24px !important;
        display: block !important;
        width: calc(100% - 40px);
        text-align: center;
        border-radius: 25px !important;
    }

    #gamehubtop-navbar-collapse {
        width: 100%;
        max-height: calc(100vh - 75px);
        overflow-y: auto;
    }

    .gamehubtop-hero {
        margin-top: 75px;
        min-height: 70vh;
    }

    .gamehubtop-hero-title {
        font-size: 32px;
    }

    .gamehubtop-hero-description {
        font-size: 16px;
    }

    .gamehubtop-hero-btn {
        font-size: 16px;
        padding: 15px 35px;
    }

    .gamehubtop-section-title {
        font-size: 28px;
    }

    .gamehubtop-section-subtitle {
        font-size: 16px;
    }

    .gamehubtop-advantages,
    .gamehubtop-tips,
    .gamehubtop-portals {
        padding: 60px 0;
    }

    .gamehubtop-form-row {
        flex-direction: column;
        gap: 0;
    }

    .gamehubtop-form-row .gamehubtop-form-group {
        margin-bottom: 20px;
    }

    .gamehubtop-contact {
        min-height: auto;
    }

    .gamehubtop-contact-overlay {
        padding: 50px 0;
        position: relative;
    }

    .gamehubtop-contact-info {
        margin-bottom: 40px;
        text-align: center;
    }

    .gamehubtop-contact-title {
        font-size: 28px;
    }

    .gamehubtop-contact-desc {
        font-size: 15px;
    }

    .gamehubtop-contact-address {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .gamehubtop-contact-address p {
        font-size: 14px;
        justify-content: center;
        word-break: break-word;
        max-width: 100%;
    }

    .gamehubtop-contact-form-container {
        padding: 30px 20px;
    }

    .gamehubtop-submit-btn {
        width: 100%;
        padding: 16px;
        font-size: 16px;
    }

    .gamehubtop-cookie-banner {
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 20px 20px;
    }

    .gamehubtop-cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .gamehubtop-cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .gamehubtop-hero-title {
        font-size: 26px;
    }

    .gamehubtop-hero-description {
        font-size: 16px;
    }

    .gamehubtop-section-title {
        font-size: 24px;
    }

    .gamehubtop-section-subtitle {
        font-size: 15px;
    }

    .gamehubtop-card-inner,
    .gamehubtop-tip-inner,
    .gamehubtop-portal-inner {
        padding: 25px 20px;
    }

    .gamehubtop-card-icon {
        font-size: 48px;
    }

    .gamehubtop-card-title,
    .gamehubtop-tip-title,
    .gamehubtop-portal-name {
        font-size: 20px;
    }

    .gamehubtop-footer {
        padding: 30px 15px 25px;
    }

    .gamehubtop-footer-text {
        font-size: 13px;
        line-height: 1.8;
    }

    .gamehubtop-contact-title {
        font-size: 24px;
    }

    .gamehubtop-contact-desc {
        font-size: 14px;
    }

    .gamehubtop-contact-address p {
        font-size: 13px;
    }

    .gamehubtop-contact-address i {
        width: 35px;
        height: 35px;
        font-size: 16px;
        margin-right: 10px;
    }

    .gamehubtop-contact-form-container {
        padding: 25px 15px;
    }

    .gamehubtop-form-control {
        padding: 12px 15px;
        font-size: 14px;
    }

    .gamehubtop-textarea {
        min-height: 120px;
    }

    .gamehubtop-cookie-banner {
        padding: 18px 15px;
    }

    .gamehubtop-cookie-text {
        font-size: 13px;
    }
}

