/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0f172a;
    color: #ffffff;
    font-weight: 500;
}

/* Add spacing between major sections */
.hero,
.free-tips,
.premium-tips,
.recentwon,
.why-choose-us {
    margin-bottom: 2rem;
}

/* Remove margin from last section */
.why-choose-us:last-child {
    margin-bottom: 0;
}

/* Desktop container spacing */
@media (min-width: 1024px) {
    .premium-tips,
    .recentwon {
        margin-left: auto;
        margin-right: auto;
    }
}



/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.125rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.hero h1 {
    display: block;
    font-size: 2.25em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: 900;
    unicode-bidi: isolate;
    letter-spacing: -1px;
    color: #ffffff;
}

/* Ad Section */
.ad-container {
    position: relative;
    margin: 1rem auto;
    text-align: center;
    max-width: 100%; /* add a max-width to prevent the ad from getting too wide */
}

.ad-container img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.ad-label {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ff0000;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* Free Tips Section */
.free-tips {
    margin: 2rem auto;
    width: 100%;
    max-width: 1200px;
    padding: 0 1.5rem;
    box-sizing: border-box;
    overflow-x: auto;
}

.free-tips h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1e293b;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.date-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.date-btn {
    padding: 0.5rem 1rem;
    border: 2px solid rgba(30, 41, 59, 0.3);
    background: transparent;
    color: #1e293b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-btn:hover {
    background: rgba(30, 41, 59, 0.1);
    border-color: rgba(30, 41, 59, 0.5);
    transform: translateY(-2px);
}

.date-btn.active-button {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
    border-color: #1e293b;
}

@media (max-width: 768px) {
    .date-buttons {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    .date-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* Free Tips container — just a flex host now, no table overrides */
#tips-table-container {
    margin-top: 10px;
    width: 100%;
}

/* Plan Container - Modern Card Design */
.plan {
    background-color: #1e293b;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    overflow: hidden;
    position: relative;
}

.plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Card Glow Effects */
.plan.rollover-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(251, 191, 36, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.plan.rollover-plan:hover::before {
    opacity: 1;
}

.plan.pro-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(251, 191, 36, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.plan.pro-plan:hover::before {
    opacity: 1;
}

.plan.vip-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(168, 85, 247, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.plan.vip-plan:hover::before {
    opacity: 1;
}

.plan.jackpot-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(239, 68, 68, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.plan.jackpot-plan:hover::before {
    opacity: 1;
}

/* Card Image Container */
.plan-image {
    width: 140px;
    min-width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.plan-image.rollover-bg {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.plan-image.rollover-bg[style*="background-image"] {
    background-blend-mode: overlay;
}

.plan-image.pro-bg {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.plan-image.pro-bg[style*="background-image"] {
    background-blend-mode: overlay;
}

.plan-image.vip-bg {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.plan-image.vip-bg[style*="background-image"] {
    background-blend-mode: overlay;
}

.plan-image.jackpot-bg {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.plan-image.jackpot-bg[style*="background-image"] {
    background-blend-mode: overlay;
}

/* When using uploaded images */
.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.9;
}

/* Icon fallback */
.plan-image i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
    position: relative;
}

/* Card Content */
.plan-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Plan Header */
.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.plan .plan-label {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.plan-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.plan-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.plan-stat {
    display: flex;
    flex-direction: column;
}

.plan-stat-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.plan-stat-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.plan .stars {
    color: #fbbf24;
    font-size: 0.875rem;
    display: flex;
    gap: 2px;
}

.plan .stars i {
    margin-right: 0;
}

/* Plan Description */
.plan-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Buy Button */
.plan button {
    background-color: #ffffff;
    color: #1e293b;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .plan {
        flex-direction: column;
        margin-bottom: 1.25rem;
    }
    
    .plan-image {
        width: 100%;
        height: 120px;
    }
    
    .plan-content {
        padding: 1.25rem;
    }
    
    .plan-title {
        font-size: 1.125rem;
    }
}

@media (min-width: 769px) {
    .plan {
        margin-bottom: 1.5rem;
    }
}
/* Premium Tips Section */
.premium-tips {
    /*background-image: url('../images/Subbackground.png');*/
    background-size: cover;
    color: #ffffff;
    padding: 2rem 1rem;
}

.premium-tips h2 {
    font-size: 1.25rem;
    font-weight: bold;
    /*margin-bottom: 1rem;*/
    color: #000000;
}

.premium-tips .plan-label {
    background-color: #ffffff; 
    color: #000000; 
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 1.3rem;
    font-weight: bold;
}

.premium-tips .stars {
    color: #fbbf24; /* Yellow-400 */
}

.premium-tips button {
    background-color: #fbbf24; 
    color: #0f172a;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
}

/* Recent Transactions */
.recentwon {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.recentwon h2 {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
}

/* Mobile responsive for recentwon */
@media (max-width: 600px) {
    .recentwon {
        padding: 1rem 0.5rem;
    }
    .recentwon h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}

.space-x-4 > * {
    margin-left: 2rem;
}
.space-x-4 > *:first-child {
    margin-left: 0;
}

/* Table styling */
.table-container {
    margin-top: 10px;
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.table-container th, .table-container td {
    padding: 12px;
    text-align: center;
}

.table-container th {
    background: rgba(251, 191, 36, 0.2);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.table-container td {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.table-container tr {
    height: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.table-container tr:hover {
    background: rgba(255, 255, 255, 0.05);
}


/* Why Choose Us Section */
.why-choose-us {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 3rem 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    align-items: center;
}

.why-choose-us h2 {
    font-size: 2.25rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.why-choose-us h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.why-choose-us p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.why-choose-us .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.why-choose-us .feature svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #fbbf24;
}

.why-choose-us .feature p {
    margin: 0;
}



