/* Custom Pages Styles - Only for specific page templates */

/* Prevent horizontal scroll on all pages */
.page-template-page-games,
.page-template-page-tournaments, 
.page-template-page-bonuses,
.page-template-page-vip,
.page-template-page-help,
.page-template-page-rules,
.page-template-page-privacy,
.page-template-page-contacts {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Apply styles to pages using custom templates */
.page-template-page-games .main-content,
.page-template-page-tournaments .main-content, 
.page-template-page-bonuses .main-content,
.page-template-page-vip .main-content,
.page-template-page-help .main-content,
.page-template-page-rules .main-content,
.page-template-page-privacy .main-content,
.page-template-page-contacts .main-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
    min-height: calc(100vh - 120px);
    padding: 40px 0;
    overflow-x: hidden;
    max-width: 100%;
}

.page-template-page-games .container,
.page-template-page-tournaments .container, 
.page-template-page-bonuses .container,
.page-template-page-vip .container,
.page-template-page-help .container,
.page-template-page-rules .container,
.page-template-page-privacy .container,
.page-template-page-contacts .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Page Header - Apply to all custom template pages */
.page-template-page-games .page-header,
.page-template-page-tournaments .page-header, 
.page-template-page-bonuses .page-header,
.page-template-page-vip .page-header,
.page-template-page-help .page-header,
.page-template-page-rules .page-header,
.page-template-page-privacy .page-header,
.page-template-page-contacts .page-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 60px 0 40px;
}

.page-template-page-games .page-title,
.page-template-page-tournaments .page-title, 
.page-template-page-bonuses .page-title,
.page-template-page-vip .page-title,
.page-template-page-help .page-title,
.page-template-page-rules .page-title,
.page-template-page-privacy .page-title,
.page-template-page-contacts .page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-template-page-games .page-subtitle,
.page-template-page-tournaments .page-subtitle, 
.page-template-page-bonuses .page-subtitle,
.page-template-page-vip .page-subtitle,
.page-template-page-help .page-subtitle,
.page-template-page-rules .page-subtitle,
.page-template-page-privacy .page-subtitle,
.page-template-page-contacts .page-subtitle {
    font-size: 1.2rem;
    color: #b0b8cc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Block - Apply to all custom template pages */
.page-template-page-games .page-content,
.page-template-page-tournaments .page-content, 
.page-template-page-bonuses .page-content,
.page-template-page-vip .page-content,
.page-template-page-help .page-content,
.page-template-page-rules .page-content,
.page-template-page-privacy .page-content,
.page-template-page-contacts .page-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.page-template-page-games .content-block,
.page-template-page-tournaments .content-block, 
.page-template-page-bonuses .content-block,
.page-template-page-vip .content-block,
.page-template-page-help .content-block,
.page-template-page-rules .content-block,
.page-template-page-privacy .content-block,
.page-template-page-contacts .content-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.page-template-page-games .content-block p,
.page-template-page-tournaments .content-block p, 
.page-template-page-bonuses .content-block p,
.page-template-page-vip .content-block p,
.page-template-page-help .content-block p,
.page-template-page-rules .content-block p,
.page-template-page-privacy .content-block p,
.page-template-page-contacts .content-block p {
    color: #e0e6ed;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* Table Styles for All Template Pages */
.page-template-page-games .content-block table,
.page-template-page-tournaments .content-block table, 
.page-template-page-bonuses .content-block table,
.page-template-page-vip .content-block table,
.page-template-page-help .content-block table,
.page-template-page-rules .content-block table,
.page-template-page-privacy .content-block table,
.page-template-page-contacts .content-block table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.page-template-page-games .content-block table th,
.page-template-page-tournaments .content-block table th, 
.page-template-page-bonuses .content-block table th,
.page-template-page-vip .content-block table th,
.page-template-page-help .content-block table th,
.page-template-page-rules .content-block table th,
.page-template-page-privacy .content-block table th,
.page-template-page-contacts .content-block table th {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 153, 204, 0.2) 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 15px 20px;
    text-align: left;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    font-size: 1rem;
}

.page-template-page-games .content-block table td,
.page-template-page-tournaments .content-block table td, 
.page-template-page-bonuses .content-block table td,
.page-template-page-vip .content-block table td,
.page-template-page-help .content-block table td,
.page-template-page-rules .content-block table td,
.page-template-page-privacy .content-block table td,
.page-template-page-contacts .content-block table td {
    padding: 15px 20px;
    color: #e0e6ed;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    line-height: 1.5;
}

.page-template-page-games .content-block table tr:last-child td,
.page-template-page-tournaments .content-block table tr:last-child td, 
.page-template-page-bonuses .content-block table tr:last-child td,
.page-template-page-vip .content-block table tr:last-child td,
.page-template-page-help .content-block table tr:last-child td,
.page-template-page-rules .content-block table tr:last-child td,
.page-template-page-privacy .content-block table tr:last-child td,
.page-template-page-contacts .content-block table tr:last-child td {
    border-bottom: none;
}

.page-template-page-games .content-block table tr:hover,
.page-template-page-tournaments .content-block table tr:hover, 
.page-template-page-bonuses .content-block table tr:hover,
.page-template-page-vip .content-block table tr:hover,
.page-template-page-help .content-block table tr:hover,
.page-template-page-rules .content-block table tr:hover,
.page-template-page-privacy .content-block table tr:hover,
.page-template-page-contacts .content-block table tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

/* Responsive Table Styles */
@media (max-width: 768px) {
    .page-template-page-games .content-block table,
    .page-template-page-tournaments .content-block table, 
    .page-template-page-bonuses .content-block table,
    .page-template-page-vip .content-block table,
    .page-template-page-help .content-block table,
    .page-template-page-rules .content-block table,
    .page-template-page-privacy .content-block table,
    .page-template-page-contacts .content-block table {
        font-size: 0.9rem;
    }
    
    .page-template-page-games .content-block table th,
    .page-template-page-tournaments .content-block table th, 
    .page-template-page-bonuses .content-block table th,
    .page-template-page-vip .content-block table th,
    .page-template-page-help .content-block table th,
    .page-template-page-rules .content-block table th,
    .page-template-page-privacy .content-block table th,
    .page-template-page-contacts .content-block table th,
    .page-template-page-games .content-block table td,
    .page-template-page-tournaments .content-block table td, 
    .page-template-page-bonuses .content-block table td,
    .page-template-page-vip .content-block table td,
    .page-template-page-help .content-block table td,
    .page-template-page-rules .content-block table td,
    .page-template-page-privacy .content-block table td,
    .page-template-page-contacts .content-block table td {
        padding: 12px 15px;
    }
}

/* Games Features */
.page-template-page-games .games-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-template-page-games .feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.page-template-page-games .feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.page-template-page-games .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-template-page-games .feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-template-page-games .feature-description {
    color: #b0b8cc;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Tournament Cards */
.page-template-page-tournaments .tournament-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-template-page-tournaments .tournament-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 153, 204, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.page-template-page-tournaments .tournament-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.25);
}

.page-template-page-tournaments .tournament-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-template-page-tournaments .tournament-prize {
    font-size: 1.6rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 15px;
}

.page-template-page-tournaments .tournament-description {
    color: #b0b8cc;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Bonus Cards */
.page-template-page-bonuses .bonus-offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-template-page-bonuses .bonus-card {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.05) 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.page-template-page-bonuses .bonus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.25);
}

.page-template-page-bonuses .bonus-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.page-template-page-bonuses .bonus-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 20px 0 15px;
}

.page-template-page-bonuses .bonus-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 15px;
}

.page-template-page-bonuses .bonus-description {
    color: #b0b8cc;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* VIP Levels */
.page-template-page-vip .vip-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-template-page-vip .vip-level {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.page-template-page-vip .vip-level:hover {
    transform: translateY(-8px);
}

.page-template-page-vip .vip-level-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
}

.page-template-page-vip .vip-level-badge.bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #b8860b 100%);
    border: 2px solid #cd7f32;
}

.page-template-page-vip .vip-level-badge.silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
    border: 2px solid #c0c0c0;
}

.page-template-page-vip .vip-level-badge.gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    border: 2px solid #ffd700;
}

.page-template-page-vip .vip-level-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 25px 0 20px;
}

.page-template-page-vip .vip-benefits {
    text-align: left;
}

.page-template-page-vip .benefit {
    color: #b0b8cc;
    margin-bottom: 12px;
    padding-left: 5px;
    line-height: 1.5;
}

/* Help Sections */
.page-template-page-help .help-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.page-template-page-help .help-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 25px;
}

.page-template-page-help .help-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
}

.page-template-page-help .faq-list {
    space-y: 20px;
}

.page-template-page-help .faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-template-page-help .faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-template-page-help .faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 10px;
}

.page-template-page-help .faq-answer {
    color: #b0b8cc;
    line-height: 1.6;
}

.page-template-page-help .contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-template-page-help .contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-template-page-help .contact-icon {
    font-size: 2rem;
    min-width: 50px;
}

.page-template-page-help .contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.page-template-page-help .contact-description {
    color: #b0b8cc;
    font-size: 0.95rem;
}

/* Rules Sections */
.page-template-page-rules .rules-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.page-template-page-rules .rules-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 30px;
}

.page-template-page-rules .rules-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 20px;
}

.page-template-page-rules .rules-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-template-page-rules .rule-item {
    color: #e0e6ed;
    line-height: 1.6;
    padding-left: 10px;
}

/* Privacy Sections */
.page-template-page-privacy .privacy-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-template-page-privacy .privacy-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 25px;
}

.page-template-page-privacy .privacy-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 20px;
}

.page-template-page-privacy .privacy-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-template-page-privacy .privacy-item {
    color: #e0e6ed;
    line-height: 1.6;
    padding-left: 10px;
}

/* Contact Info */
.page-template-page-contacts .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.page-template-page-contacts .contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-template-page-contacts .contact-method {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
}

.page-template-page-contacts .contact-details {
    margin-top: 15px;
}

.page-template-page-contacts .contact-availability {
    color: #00d4ff;
    font-size: 0.9rem;
    margin: 10px 0 20px;
}

/* Contact Form */
.page-template-page-contacts .contact-form-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 30px;
}

.page-template-page-contacts .form-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
}

.page-template-page-contacts .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-template-page-contacts .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-template-page-contacts .form-group label {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

.page-template-page-contacts .form-input,
.page-template-page-contacts .form-select,
.page-template-page-contacts .form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.page-template-page-contacts .form-input:focus,
.page-template-page-contacts .form-select:focus,
.page-template-page-contacts .form-textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.page-template-page-contacts .form-textarea {
    min-height: 120px;
    resize: vertical;
}

.page-template-page-contacts .form-input::placeholder,
.page-template-page-contacts .form-textarea::placeholder {
    color: #666;
}

.page-template-page-contacts .form-input:disabled,
.page-template-page-contacts .form-select:disabled,
.page-template-page-contacts .form-textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Action Buttons - Apply to all custom template pages */
.page-template-page-games .action-buttons,
.page-template-page-tournaments .action-buttons, 
.page-template-page-bonuses .action-buttons,
.page-template-page-vip .action-buttons,
.page-template-page-help .action-buttons,
.page-template-page-rules .action-buttons,
.page-template-page-privacy .action-buttons,
.page-template-page-contacts .action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Button Styles - Apply to all custom template pages */
.page-template-page-games .btn,
.page-template-page-tournaments .btn, 
.page-template-page-bonuses .btn,
.page-template-page-vip .btn,
.page-template-page-help .btn,
.page-template-page-rules .btn,
.page-template-page-privacy .btn,
.page-template-page-contacts .btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
}

.page-template-page-games .btn-primary,
.page-template-page-tournaments .btn-primary, 
.page-template-page-bonuses .btn-primary,
.page-template-page-vip .btn-primary,
.page-template-page-help .btn-primary,
.page-template-page-rules .btn-primary,
.page-template-page-privacy .btn-primary,
.page-template-page-contacts .btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.page-template-page-games .btn-primary:hover:not(.disabled),
.page-template-page-tournaments .btn-primary:hover:not(.disabled), 
.page-template-page-bonuses .btn-primary:hover:not(.disabled),
.page-template-page-vip .btn-primary:hover:not(.disabled),
.page-template-page-help .btn-primary:hover:not(.disabled),
.page-template-page-rules .btn-primary:hover:not(.disabled),
.page-template-page-privacy .btn-primary:hover:not(.disabled),
.page-template-page-contacts .btn-primary:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.page-template-page-games .btn-secondary,
.page-template-page-tournaments .btn-secondary, 
.page-template-page-bonuses .btn-secondary,
.page-template-page-vip .btn-secondary,
.page-template-page-help .btn-secondary,
.page-template-page-rules .btn-secondary,
.page-template-page-privacy .btn-secondary,
.page-template-page-contacts .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.page-template-page-games .btn-secondary:hover:not(.disabled),
.page-template-page-tournaments .btn-secondary:hover:not(.disabled), 
.page-template-page-bonuses .btn-secondary:hover:not(.disabled),
.page-template-page-vip .btn-secondary:hover:not(.disabled),
.page-template-page-help .btn-secondary:hover:not(.disabled),
.page-template-page-rules .btn-secondary:hover:not(.disabled),
.page-template-page-privacy .btn-secondary:hover:not(.disabled),
.page-template-page-contacts .btn-secondary:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-template-page-games .btn.disabled,
.page-template-page-tournaments .btn.disabled, 
.page-template-page-bonuses .btn.disabled,
.page-template-page-vip .btn.disabled,
.page-template-page-help .btn.disabled,
.page-template-page-rules .btn.disabled,
.page-template-page-privacy .btn.disabled,
.page-template-page-contacts .btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-template-page-games .main-content,
    .page-template-page-tournaments .main-content, 
    .page-template-page-bonuses .main-content,
    .page-template-page-vip .main-content,
    .page-template-page-help .main-content,
    .page-template-page-rules .main-content,
    .page-template-page-privacy .main-content,
    .page-template-page-contacts .main-content {
        padding: 20px 0;
        margin-top: 60px;
    }
    
    .page-template-page-games .page-title,
    .page-template-page-tournaments .page-title, 
    .page-template-page-bonuses .page-title,
    .page-template-page-vip .page-title,
    .page-template-page-help .page-title,
    .page-template-page-rules .page-title,
    .page-template-page-privacy .page-title,
    .page-template-page-contacts .page-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .page-template-page-games .page-subtitle,
    .page-template-page-tournaments .page-subtitle, 
    .page-template-page-bonuses .page-subtitle,
    .page-template-page-vip .page-subtitle,
    .page-template-page-help .page-subtitle,
    .page-template-page-rules .page-subtitle,
    .page-template-page-privacy .page-subtitle,
    .page-template-page-contacts .page-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Content blocks - improve text display */
    .page-template-page-games .content-block h2,
    .page-template-page-tournaments .content-block h2, 
    .page-template-page-bonuses .content-block h2,
    .page-template-page-vip .content-block h2,
    .page-template-page-help .content-block h2,
    .page-template-page-rules .content-block h2,
    .page-template-page-privacy .content-block h2,
    .page-template-page-contacts .content-block h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    .page-template-page-games .content-block h3,
    .page-template-page-tournaments .content-block h3, 
    .page-template-page-bonuses .content-block h3,
    .page-template-page-vip .content-block h3,
    .page-template-page-help .content-block h3,
    .page-template-page-rules .content-block h3,
    .page-template-page-privacy .content-block h3,
    .page-template-page-contacts .content-block h3 {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    
    .page-template-page-games .content-block p,
    .page-template-page-tournaments .content-block p, 
    .page-template-page-bonuses .content-block p,
    .page-template-page-vip .content-block p,
    .page-template-page-help .content-block p,
    .page-template-page-rules .content-block p,
    .page-template-page-privacy .content-block p,
    .page-template-page-contacts .content-block p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: justify;
    }
    
    .page-template-page-games .games-features {
        grid-template-columns: 1fr;
    }
    
    .page-template-page-tournaments .tournament-types {
        grid-template-columns: 1fr;
    }
    
    .page-template-page-bonuses .bonus-offers {
        grid-template-columns: 1fr;
    }
    
    .page-template-page-vip .vip-levels {
        grid-template-columns: 1fr;
    }
    
    .page-template-page-help .help-sections {
        grid-template-columns: 1fr;
    }
    
    .page-template-page-privacy .privacy-sections {
        grid-template-columns: 1fr;
    }
    
    .page-template-page-contacts .contact-info {
        grid-template-columns: 1fr;
    }
    
    .page-template-page-games .action-buttons,
    .page-template-page-tournaments .action-buttons, 
    .page-template-page-bonuses .action-buttons,
    .page-template-page-vip .action-buttons,
    .page-template-page-help .action-buttons,
    .page-template-page-rules .action-buttons,
    .page-template-page-privacy .action-buttons,
    .page-template-page-contacts .action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .page-template-page-games .btn,
    .page-template-page-tournaments .btn, 
    .page-template-page-bonuses .btn,
    .page-template-page-vip .btn,
    .page-template-page-help .btn,
    .page-template-page-rules .btn,
    .page-template-page-privacy .btn,
    .page-template-page-contacts .btn {
        width: 100%;
        max-width: 280px;
        font-size: 13px;
        padding: 12px 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Smaller buttons for very small screens */
    @media (max-width: 380px) {
        .page-template-page-games .btn,
        .page-template-page-tournaments .btn, 
        .page-template-page-bonuses .btn,
        .page-template-page-vip .btn,
        .page-template-page-help .btn,
        .page-template-page-rules .btn,
        .page-template-page-privacy .btn,
        .page-template-page-contacts .btn {
            max-width: 100%;
            font-size: 12px;
            padding: 10px 14px;
        }
    }
    
    .page-template-page-games .container,
    .page-template-page-tournaments .container, 
    .page-template-page-bonuses .container,
    .page-template-page-vip .container,
    .page-template-page-help .container,
    .page-template-page-rules .container,
    .page-template-page-privacy .container,
    .page-template-page-contacts .container {
        padding: 0 15px;
    }
    
    .page-template-page-games .page-header,
    .page-template-page-tournaments .page-header, 
    .page-template-page-bonuses .page-header,
    .page-template-page-vip .page-header,
    .page-template-page-help .page-header,
    .page-template-page-rules .page-header,
    .page-template-page-privacy .page-header,
    .page-template-page-contacts .page-header {
        padding: 30px 0 25px;
        margin-bottom: 30px;
    }
    
    .page-template-page-games .content-block,
    .page-template-page-tournaments .content-block, 
    .page-template-page-bonuses .content-block,
    .page-template-page-vip .content-block,
    .page-template-page-help .content-block,
    .page-template-page-rules .content-block,
    .page-template-page-privacy .content-block,
    .page-template-page-contacts .content-block,
    .page-template-page-help .help-section,
    .page-template-page-rules .rules-section,
    .page-template-page-privacy .privacy-section,
    .page-template-page-contacts .contact-form-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
}


/* End of scoped styles */