/*
Premium Theme - Tighouni.Tech
Based on Softy Pinko
*/

/* Variables */
:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #f9de38;
    --text-color: #333;
    --light-text: #777;
    --white: #fff;
    --dark-bg: #1a1a2e;
    --card-bg: #ffffff;
    --gradient-main: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --gradient-hover: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Global Reset */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ul, li, footer, header, section {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f4f7f6;
    overflow-x: hidden;
}

a { text-decoration: none !important; color: inherit; transition: all 0.3s ease; }
ul, li { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
}

/* Header */
.header-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.header-area .main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.header-area .logo img {
    max-height: 40px;
}

.header-area .nav {
    display: flex;
    align-items: center;
}

.header-area .nav li {
    margin-left: 30px;
}

.header-area .nav li a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: #333;
}

.header-area .nav li a.active, 
.header-area .nav li a:hover {
    color: var(--primary-color);
}

.header-area .nav li .nav-link-btn {
    font-weight: 600;
}

.header-area .nav li .main-button-signup {
    padding: 10px 25px;
    border-radius: 50px;
    background: var(--gradient-main);
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
}

.header-area .nav li .main-button-signup:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(106, 17, 203, 0.4);
}

/* Hero / Welcome Area */
.welcome-area {
    height: 100vh;
    min-height: 700px;
    background-image: url(../images/hero-bg-new.png);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px; /* Overlap with feature cards */
}

/* Overlay to ensure text readability if needed, though the image is dark/premium */
.welcome-area::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.3); 
    z-index: 1;
}

.welcome-area .header-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    margin-top: -50px;
}

.welcome-area .header-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.welcome-area .header-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 300;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section.colored {
    background: #f8f9fa;
}

.center-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--gradient-main);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.center-text p {
    font-size: 16px;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 60px;
}

/* Feature Cards (Small) */
.home-feature {
    position: relative;
    z-index: 10;
    margin-top: -100px; /* Pull up into Hero */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.features-small-item {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
}

.features-small-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.features-small-item .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.features-small-item .icon img { max-width: 100%; }

.features-small-item h5 {
    font-size: 20px;
    margin-bottom: 15px;
}

.features-small-item p {
    font-size: 14px;
    color: var(--light-text);
}

/* Partners Section */
.partners {
    background: #fff;
    padding: 80px 0;
}

.partners-grid {
    justify-content: center;
}

.partner-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px 10px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 140px;
}

.partner-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.1);
    transform: translateY(-5px);
}

.partner-item i {
    font-size: 32px;
    margin-bottom: 15px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.partner-item strong, .partner-item h5 {
    font-size: 16px;
    font-weight: 600;
    color: #444;
    margin: 0;
}

/* Big Features (Payment & Withdraw) */
.left-heading .section-title {
    text-align: left;
}
.left-heading .section-title::after {
    left: 0;
    transform: none;
}
.left-text p {
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 30px;
}

/* Payment Methods Grid */
.mini-box {
    display: block;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.mini-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.mini-box i {
    display: block;
    height: 50px;
    margin-bottom: 15px;
}
.mini-box i img {
    max-height: 100%;
}

.mini-box strong {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.mini-box span {
    font-size: 12px;
    color: #999;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: #aaa;
    padding: 80px 0 30px;
}

footer h5 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 18px;
}

footer p {
    font-size: 14px;
    line-height: 1.8;
    color: #aaa;
}

footer ul.footer-nav li {
    margin-bottom: 12px;
}

footer ul.footer-nav li a {
    color: #aaa;
    transition: 0.3s;
}

footer ul.footer-nav li a:hover {
    color: #fff;
    padding-left: 5px;
}

footer .social {
    display: flex;
    gap: 15px;
}

footer .social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

footer .social li a:hover {
    background: var(--primary-color);
    transform: rotate(360deg);
}

footer .copyright {
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .header-area { background: #fff; height: auto; padding: 10px 0; }
    .header-area .nav { display: none; width: 100%; flex-direction: column; margin-top: 20px; }
    .header-area .nav li { margin: 10px 0; }
    .header-area .menu-trigger { display: block; position: absolute; right: 20px; top: 25px; cursor: pointer; color: #333; }
    .header-area .menu-trigger span { display: block; width: 30px; height: 2px; background: #333; position: relative; }
    .header-area .menu-trigger span:before, .header-area .menu-trigger span:after { content:''; width:100%; height:100%; background:#333; position:absolute; }
    .header-area .menu-trigger span:before { top: -8px; }
    .header-area .menu-trigger span:after { top: 8px; }

    .welcome-area .header-text h1 { font-size: 32px; }
    .home-feature { margin-top: 50px; }
}