/* Giveaway Toolkit - Public Styles */
/* giveaways.review inspired modern design */

.gt-giveaway-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px; /* Reduced from 40px 20px */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header Styles */
.gt-header {
    text-align: center;
    margin-bottom: 20px; /* Reduced from 40px */
}

.gt-title {
    font-size: 2.2rem; /* Reduced from 2.8rem */
    font-weight: 800;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.gt-description {
    font-size: 1.1rem; /* Slightly reduced */
    color: #666;
    margin: 0;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   [MODIFIED AREA 1] Countdown & Points - Height Compressed
   ==========================================================================
*/

/* Countdown Styles - Compressed */
.gt-countdown-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px; /* Slightly reduced radius */
    padding: 15px;       /* Reduced from 30px (Compressed ~50%) */
    margin-bottom: 20px; /* Reduced from 40px */
    color: white;
    text-align: center;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

.gt-countdown-title {
    font-size: 1.1rem; /* Reduced from 1.4rem */
    margin: 0 0 15px 0; /* Reduced from 25px */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.gt-countdown {
    display: flex;
    justify-content: center;
    gap: 15px; /* Reduced gap */
    flex-wrap: wrap;
}

.gt-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px; /* Reduced width */
}

.gt-countdown-number {
    font-size: 2.2rem; /* Reduced from 3.5rem */
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    padding: 8px; /* Reduced from 15px */
    border-radius: 10px;
    min-width: 50px; /* Reduced width */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gt-countdown-label {
    font-size: 0.8rem; /* Reduced size */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

/* Points Container - Compressed */
.gt-points-container {
    background: white;
    border-radius: 15px;
    padding: 15px 20px; /* Reduced from 30px */
    margin-bottom: 20px; /* Reduced from 30px */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.gt-points-title {
    font-size: 1.3rem; /* Reduced from 1.6rem */
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #333;
}

.gt-points-description {
    color: #666;
    margin: 0 0 15px 0; /* Reduced margin */
    font-size: 0.95rem;
    line-height: 1.4;
}

.gt-points-summary {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    background: #f8f9fa;
    padding: 15px; /* Reduced from 25px */
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.gt-points-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.gt-points-label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gt-points-value {
    display: block;
    font-size: 1.6rem; /* Reduced from 2.2rem */
    font-weight: 800;
    color: #667eea;
    line-height: 1;
}

/* ==========================================================================
   [MODIFIED AREA 2] Form & Auth - Height Compressed & Inputs Fixed
   ==========================================================================
*/

/* Form Styles - Compressed */
.gt-form-container {
    background: white;
    border-radius: 15px;
    padding: 20px; /* Reduced from 40px */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    margin-bottom: 20px;
    margin-top: 20px;
}

.gt-giveaway-form {
    max-width: 500px;
    margin: 0 auto;
}

.gt-form-group {
    margin-bottom: 15px; /* Reduced from 25px */
}

.gt-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

/* [FIXED] Input Consistency - Added input[type="text"] for Name field */
.gt-form-group input[type="text"],
.gt-form-group input[type="email"],
.gt-form-group input[type="tel"] {
    width: 100%;
    padding: 10px 15px; /* Reduced padding for shorter inputs */
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: 48px; /* Fixed height to ensure perfect consistency */
}

.gt-form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.gt-form-group input::placeholder {
    color: #999;
}

/* Auth Selection Styles - Compressed */
.gt-auth-selection {
    margin-bottom: 20px;
}

.gt-auth-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.gt-auth-btn {
    flex: 1;
    padding: 15px; /* Reduced from 20px */
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #333;
    text-align: center;
    min-height: 80px; /* Reduced from 120px to compress height */
}

.gt-auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.gt-auth-btn i {
    font-size: 1.8rem; /* Reduced size */
    color: #667eea;
    margin-bottom: 2px;
}

.gt-auth-btn.gt-login-btn i {
    color: #28a745;
}

.gt-auth-btn.gt-email-btn i {
    color: #667eea;
}

.gt-auth-notice {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    border-left: 4px solid #667eea;
}

.gt-auth-notice p {
    margin: 0;
}

/* Form Container Title Updates */
.gt-form-title {
    font-size: 1.4rem; /* Reduced from 1.6rem */
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #333;
}

.gt-form-description {
    color: #666;
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ==========================================================================
   BELOW IS UNTOUCHED ORIGINAL CSS (Actions, Checkboxes, etc.)
   ==========================================================================
*/

/* Checkbox Styles */
.gt-terms {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.gt-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}

.gt-checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.gt-checkbox-label span {
    font-weight: normal;
    color: #555;
}

/* Submit Button */
.gt-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.gt-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.gt-submit-btn:active {
    transform: translateY(0);
}

.gt-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Messages */
.gt-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.gt-form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.gt-form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Info Box */
.gt-info-box {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    border-left: 5px solid #667eea;
    margin-top: 20px;
}

.gt-info-box p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.gt-info-box strong {
    color: #333;
}

/* Giveaway Ended */
.gt-giveaway-ended {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    border: 2px dashed #667eea;
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Loading Animation */
.gt-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: gt-spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes gt-spin {
    to { transform: rotate(360deg); }
}

/* Status Colors */
.gt-status-active {
    color: #28a745;
    font-weight: 600;
}

.gt-status-inactive {
    color: #dc3545;
    font-weight: 600;
}

/* Actions Container */
.gt-actions-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.gt-actions-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #333;
}

.gt-actions-description {
    color: #666;
    margin: 0 0 25px 0;
    font-size: 1rem;
    line-height: 1.6;
}

.gt-actions-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

/* Action Cards */
.gt-action-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 8px;
    height: 85px;
    align-items: center;
}

.gt-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.gt-action-card.gt-action-completed {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #28a745;
}

.gt-action-card.gt-action-completed:hover {
    border-color: #28a745;
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.15);
}

.gt-action-icon {
    width: 50px;
    height: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.gt-action-card.gt-action-completed .gt-action-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.gt-action-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 70px;
}

.gt-action-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
    flex-wrap: wrap;
    gap: 8px;
}

.gt-action-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #333;
    flex: 1;
    min-width: 200px;
}

.gt-action-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1;
}

.gt-action-points {
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    width: 80px !important;
    height: 25px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    min-height: 25px !important;
    max-height: 25px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    line-height: normal !important;
}

.gt-action-btn-compact {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    white-space: nowrap;
}

.gt-action-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    flex-wrap: wrap;
    gap: 10px;
}

.gt-action-description {
    color: #666;
    margin: -2px 0 0 0;
    font-size: 0.9rem;
    line-height: 1.4;
    flex: 1;
    min-width: 200px;
}

.gt-action-status {
    white-space: nowrap;
}

.gt-action-status-text {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

.gt-action-status-text.gt-status-completed {
    color: #28a745;
}

.gt-action-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.gt-action-card.gt-action-completed .gt-action-points {
    background: #28a745;
}

.gt-action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gt-action-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.gt-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.gt-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.gt-action-visit { background: linear-gradient(135deg, #3b5998 0%, #4267B2 100%); }
.gt-action-follow { background: linear-gradient(135deg, #1DA1F2 0%, #1DA1F2 100%); }
.gt-action-watch { background: linear-gradient(135deg, #FF0000 0%, #FF0000 100%); }
.gt-action-tweet { background: linear-gradient(135deg, #1DA1F2 0%, #1DA1F2 100%); }
.gt-action-email { background: linear-gradient(135deg, #EA4335 0%, #EA4335 100%); }
.gt-action-referral { background: linear-gradient(135deg, #6f42c1 0%, #6f42c1 100%); }
.gt-action-automatic { background: linear-gradient(135deg, #28a745 0%, #28a745 100%); }
.gt-action-generic { background: linear-gradient(135deg, #6c757d 0%, #6c757d 100%); }

.gt-action-message {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: fadeIn 0.3s ease;
}

.gt-action-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Submit Button with Points */
.gt-submit-btn .gt-submit-text {
    margin-right: 5px;
}

.gt-submit-btn .gt-submit-count {
    opacity: 0.9;
    font-size: 0.9em;
}

/* Modals */
.gt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.gt-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.gt-modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #333;
}

.gt-modal-description {
    color: #666;
    margin: 0 0 25px 0;
    font-size: 1rem;
    line-height: 1.6;
}

.gt-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.gt-modal-close-btn {
    padding: 12px 25px;
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gt-modal-close-btn:hover {
    background: #e9ecef;
}

/* Referral Link */
.gt-referral-link {
    display: flex;
    gap: 10px;
    margin: 25px 0;
}

.gt-referral-link input {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f8f9fa;
}

.gt-copy-link-btn {
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.gt-copy-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Social Share */
.gt-social-share {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.gt-share-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 120px;
}

.gt-share-facebook { background: linear-gradient(135deg, #3b5998 0%, #4267B2 100%); color: white; }
.gt-share-twitter { background: linear-gradient(135deg, #1DA1F2 0%, #1DA1F2 100%); color: white; }
.gt-share-email { background: linear-gradient(135deg, #EA4335 0%, #EA4335 100%); color: white; }

.gt-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Campaign Image */
.gt-campaign-image {
    margin: 25px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gt-campaign-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Rules Container */
.gt-rules-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid #e9ecef;
}

.gt-rules-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #333;
}

.gt-rules-content {
    color: #666;
    line-height: 1.6;
}

.gt-rules-content p { margin: 0 0 15px 0; }
.gt-rules-content ul { margin: 0 0 15px 0; padding-left: 20px; }
.gt-rules-content li { margin-bottom: 8px; }

/* Highlight state for auth selection */
.gt-auth-selection.gt-highlight {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 243, 205, 0.9) 100%);
    border: 2px solid #ffc107;
    border-radius: 15px;
    padding: 20px;
    animation: pulse-highlight 2s infinite;
}

@keyframes pulse-highlight {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* Logged in state */
.gt-logged-in-state {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #28a745;
}

.gt-logged-in-message {
    text-align: center;
    margin-bottom: 20px;
}

.gt-logged-in-message p {
    color: #155724;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.gt-logged-in-message i {
    color: #28a745;
    margin-right: 10px;
    font-size: 1.3rem;
}

.gt-enter-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3) !important;
}

.gt-enter-btn:hover {
    box-shadow: 0 15px 30px rgba(40, 167, 69, 0.4) !important;
}

/* Email form wrapper */
.gt-email-form-wrapper {
    animation: fadeIn 0.5s ease;
}

/* Error message for login requirement */
.gt-login-required-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Strict button size enforcement */
.gt-action-btn,
.gt-action-btn-compact,
.gt-action-visit,
.gt-action-follow,
.gt-action-watch,
.gt-action-tweet,
.gt-action-email,
.gt-action-referral,
.gt-action-automatic,
.gt-action-generic {
    width: 80px !important;
    height: 25px !important;
    min-width: 80px !important;
    max-width: 80px !important;
    min-height: 25px !important;
    max-height: 25px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: normal !important;
    flex-shrink: 0 !important;
}

.gt-share-btn {
    min-width: 120px !important;
    width: auto !important;
    max-width: none !important;
}

/* ==========================================================================
   MOBILE OPTIMIZATIONS (Strict Mobile-Only Changes)
   ========================================================================== */
@media (max-width: 768px) {
    /* 0. Fix width & Image (Force 100%) */
    .gt-giveaway-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }
    
    .gt-campaign-image {
        width: 100% !important;
        margin: 0 0 10px 0 !important;
        border-radius: 8px !important;
    }
    .gt-campaign-image img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure all blocks take full width */
    .gt-header, 
    .gt-countdown-container, 
    .gt-points-container, 
    .gt-actions-container, 
    .gt-form-container {
        width: 100% !important;
        box-sizing: border-box !important;
        max-width: none !important;
        display: block !important;
    }

    /* 1. Countdown: Single Row */
    .gt-countdown-container { padding: 8px !important; margin-bottom: 10px !important; }
    .gt-countdown { flex-wrap: nowrap !important; gap: 5px !important; }
    .gt-countdown-item { min-width: auto !important; flex: 1 !important; }
    .gt-countdown-number { font-size: 1.4rem !important; padding: 4px 0 !important; min-width: 0 !important; width: 100% !important; margin: 0 auto 2px !important; }
    .gt-countdown-label { font-size: 0.65rem !important; }
    
    /* 2. Points Area: Overflow Fix (Total on new line) */
    .gt-points-container { padding: 10px !important; margin-bottom: 10px !important; }
    .gt-points-summary { 
        flex-direction: row !important; 
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 5px !important;
    }
    /* Item 1 & 2 (Points/Entries) on top row */
/* Item 1 & 2 (Points/Entries) - Force one line (Share space) */
    .gt-points-item:nth-child(1), 
    .gt-points-item:nth-child(2) {
        flex: 1 1 0 !important; /* 强制平分空间，不再硬性指定50%，防止被边框挤换行 */
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important; /* 防止内容过长撑破布局 */
        border-right: none !important;
    }
    /* Item 3 (Total Participants) on NEW LINE full width */
    .gt-points-item:nth-child(3) {
        flex: 1 1 100% !important;
        width: 100% !important;
        border-top: 1px solid #eee !important;
        padding-top: 10px !important;
        text-align: center !important;
    }
    .gt-points-value { font-size: 1.2rem !important; }
    .gt-points-label { font-size: 0.7rem !important; margin-bottom: 0 !important; white-space: nowrap !important; }
    
    /* 3. Login Area: Compact */
    .gt-form-container { padding: 15px !important; margin: 15px 0 !important; }
    .gt-auth-btn { min-height: 50px !important; padding: 10px !important; flex-direction: row !important; font-size: 0.85rem !important; }
    .gt-auth-btn i { font-size: 1.2rem !important; margin: 0 5px 0 0 !important; }
    .gt-form-group { margin-bottom: 10px !important; }
    
    /* 4. Ways to Enter: Grid Layout (New Structure) */
    .gt-actions-container { padding: 10px !important; margin-bottom: 15px !important; }
    .gt-actions-grid { gap: 10px !important; }
    
    .gt-action-card {
        display: grid !important;
        grid-template-columns: 40px 1fr !important; /* Left Icon (40px) | Content */
        grid-template-rows: auto auto auto !important; /* Row 1: Title, Row 2: Points+Btn, Row 3: Status */
        padding: 10px !important;
        height: auto !important;
        gap: 5px 10px !important;
        align-items: center !important;
    }
    
    /* Unwrap wrappers to allow grid placement */
    .gt-action-content, .gt-action-header, .gt-action-footer, .gt-action-header-right { 
        display: contents !important; 
    }
    
    /* ROW 1: Icon (Left) + Title */
    .gt-action-icon {
        grid-row: 1 !important;
        grid-column: 1 !important;
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
        margin: 0 !important;
        align-self: start !important;
        margin-top: 2px !important;
    }
    
    .gt-action-title {
        grid-row: 1 !important;
        grid-column: 2 !important;
        font-size: 0.95rem !important;
        margin-bottom: 5px !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    
    /* ROW 2: Points (Left) + Button (Right) */
    
    /* Points Badge (Left aligned, in Col 1 space? No, instruction said next row) */
    /* Wait, the diagram shows Points on the LEFT of the second row */
    /* So Points is Row 2, Col 1?? No, Col 1 is Icon width. */
    /* Let's put Points in Row 2, Col 1 and span? Or Just Col 2? */
    /* Diagram: "points (左对齐)" underneath Icon? or underneath Title? */
    /* Text "图标(居左) title" then "points (左对齐) ...". This implies layout below. */
    /* Let's place Points in Row 2, Col 1 (under icon) and span 2? */
    /* Actually, to fit text "Not completed" properly, let's use the wide column 2. */
    
    /* Let's re-read: "图标(居左) title" (Row 1). "points (左对齐) 动作 (右对齐)" (Row 2). */
    /* I'll put Points in Row 2, Col 1 (under icon) seems tight. */
    /* I will put Points in Row 2, Col 1-2 (Full width) but aligned left? */
    /* Let's try: Points (Col 1-span-1? No space). */
    /* Let's try: Points in Col 2 (Under Title). Button in Col 2 (Right). */
    
    .gt-action-points {
        grid-row: 2 !important;
        grid-column: 1 / -1 !important; /* Full width row */
        justify-self: start !important;
        margin: 0 !important;
        height: 24px !important;
        padding: 0 10px !important;
    }
    
    .gt-action-btn, 
    .gt-action-btn-compact,
    .gt-action-visit,
    .gt-action-follow {
        grid-row: 2 !important;
        grid-column: 1 / -1 !important; /* Full width row */
        justify-self: end !important;
        margin: 0 !important;
        width: auto !important;
        min-width: 70px !important;
        height: 28px !important;
        font-size: 0.8rem !important;
    }
    
    /* ROW 3: Status (Center) */
    .gt-action-status-text {
        grid-row: 3 !important;
        grid-column: 1 / -1 !important;
        text-align: center !important; /* CENTER ALIGNED as requested */
        font-size: 0.75rem !important;
        margin-top: 8px !important;
        display: block !important;
        width: 100% !important;
        color: #999 !important;
    }
    
    .gt-action-description { display: none !important; }
}

@media (max-width: 480px) {
    .gt-giveaway-container { padding: 10px !important; }
    .gt-title { font-size: 1.6rem !important; }
}