/* ============================================================
   DG FATAFAT RESULTS - PREMIUM LIGHT CLEAN STYLING
   ============================================================ */

:root {
    --dglr-yellow: #46D8CC;
    --dglr-red: #d31d24;
    --dglr-bg: #F6F8FA;
    --dglr-border: #e4e4e7;
    --dglr-text: #1f2937;
    --dglr-text-muted: #4b5563;
}

.dglr-container {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--dglr-text);
    background: transparent;
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
    padding: 10px;
    box-sizing: border-box;
}

.dglr-container * {
    box-sizing: border-box;
}

/* Card Structures: Live and Historical */
.dglr-live-card,
.dglr-date-group {
    background: #ffffff;
    border: 1px solid var(--dglr-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dglr-live-card:hover,
.dglr-date-group:hover {
    box-shadow: 0 8px 12px -1px rgba(0, 0, 0, 0.08), 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

/* Headers */
.dglr-live-header,
.dglr-date-header {
    background-color: var(--dglr-yellow);
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
    padding: 12px 15px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--dglr-border);
}

/* Live dot pulsing */
@keyframes dglr-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.dglr-live-dot {
    color: #ef4444;
    font-size: 1.25rem;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    animation: dglr-pulse 1.5s infinite;
}

/* Grid Layouts with Border Gap Trick */
.dglr-live-grid,
.dglr-results-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    background-color: var(--dglr-border);
    gap: 1px;
}

/* Slot Cell Styling */
.dglr-live-slot,
.dglr-slot {
    background-color: #F6F8FA;
    padding: 18px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 85px;
    position: relative;
}

.dglr-slot-val {
    display: block;
    line-height: 1.2;
    font-family: inherit;
    text-align: center;
}

.dglr-slot-val.val-top {
    font-size: 1.25rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 4px;
}

.dglr-slot-val.val-bottom {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000000;
}

/* TIPS badge */
.dglr-tips-badge {
    background-color: var(--dglr-yellow);
    color: #000000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dglr-bulb-icon {
    font-size: 0.75rem;
}

/* Game Off styling */
.dglr-live-slot.game-off .dglr-slot-val.val-top,
.dglr-slot.game-off .dglr-slot-val.val-top {
    color: #1f2937;
    font-size: 1.15rem;
    font-weight: 700;
}

.dglr-live-slot.game-off .dglr-slot-val.val-bottom,
.dglr-slot.game-off .dglr-slot-val.val-bottom {
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 700;
}

/* Refresh Button Section */
.dglr-actions-wrap {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.dglr-refresh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--dglr-yellow);
    color: #000000;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.dglr-refresh-btn:hover {
    background-color: #35C2B6;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.dglr-refresh-btn:active {
    transform: translateY(1px);
}

.dglr-refresh-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.8s ease;
}

@keyframes dglr-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dglr-refresh-icon.spinning {
    animation: dglr-spin 0.8s linear infinite;
}

/* Download App Banner Section */
.dglr-download-banner-wrap {
    display: flex;
    justify-content: center;
    margin: 15px 0 25px 0;
}

.dglr-download-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--dglr-red);
    padding: 10px 18px;
    border-radius: 14px;
    width: 100%;
    max-width: 330px;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(211, 29, 36, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dglr-download-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(211, 29, 36, 0.3);
}

.dglr-banner-left {
    display: flex;
    align-items: center;
}

.dglr-app-logo {
    width: 42px;
    height: 42px;
    margin-right: 12px;
}

.dglr-banner-mid {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.dglr-banner-mid .banner-sub {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--dglr-yellow);
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 2px;
}

.dglr-banner-mid .banner-main {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.dglr-banner-right {
    display: flex;
    align-items: center;
}

.dglr-banner-right-box {
    border: 1.5px solid #ffffff;
    border-radius: 6px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #ffffff;
}

.dglr-banner-right-box svg {
    width: 16px;
    height: 16px;
}

/* Old Results Title */
.dglr-old-title-wrap {
    text-align: center;
    margin: 30px 0 15px 0;
}

.dglr-old-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
    letter-spacing: 1px;
}

/* Load More Button styling */
.dglr-load-more-wrap {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.dglr-btn {
    background-color: #ffffff;
    color: var(--dglr-text);
    border: 1px solid var(--dglr-border);
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dglr-btn:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.dglr-btn:active {
    transform: translateY(1px);
}

.dglr-btn:disabled, 
.dglr-btn.dglr-loading {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Spinner for loading */
.dglr-loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: var(--dglr-text);
    animation: dglr-spin 0.8s linear infinite;
}

/* Empty State */
.dglr-empty-box {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border: 1px dashed var(--dglr-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dglr-empty-icon {
    width: 40px;
    height: 40px;
    fill: #9ca3af;
}

.dglr-empty-box span {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 600;
}

/* ============================================================
   RESPONSIVE LAYOUT
   ============================================================ */
@media (max-width: 900px) {
    .dglr-live-slot,
    .dglr-slot {
        min-height: 70px;
        padding: 10px 4px;
    }
    .dglr-slot-val.val-top {
        font-size: 1.1rem;
    }
    .dglr-slot-val.val-bottom {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .dglr-live-slot,
    .dglr-slot {
        min-height: 55px;
        padding: 6px 2px;
    }
    .dglr-slot-val.val-top {
        font-size: 0.9rem;
    }
    .dglr-slot-val.val-bottom {
        font-size: 0.75rem;
    }
    .dglr-tips-badge {
        font-size: 0.55rem;
        padding: 1px 4px;
        margin-bottom: 2px;
    }
    .dglr-live-header,
    .dglr-date-header {
        font-size: 0.95rem;
        padding: 8px 10px;
    }
    .dglr-old-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 400px) {
    .dglr-live-slot,
    .dglr-slot {
        min-height: 48px;
        padding: 4px 1px;
    }
    .dglr-slot-val.val-top {
        font-size: 0.75rem;
    }
    .dglr-slot-val.val-bottom {
        font-size: 0.65rem;
    }
    .dglr-tips-badge {
        font-size: 0.5rem;
        padding: 0px 2px;
        margin-bottom: 1px;
        gap: 1px;
    }
}

/* Monthly Results Buttons Layout */
.dglr-monthly-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
    box-sizing: border-box;
}

.dglr-monthly-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--dglr-yellow);
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.dglr-monthly-btn:hover {
    background: #35C2B6;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    color: #000000;
}

.dglr-monthly-btn:active {
    transform: translateY(0);
}

.dglr-folder-icon {
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dglr-folder-svg {
    width: 20px;
    height: 20px;
}

/* Filter active header styling */
.dglr-filter-header {
    background: #F6F8FA;
    border: 1px solid var(--dglr-border);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dglr-filter-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.dglr-filter-clear-btn {
    background: #1f2937;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dglr-filter-clear-btn:hover {
    background: #000000;
    color: #ffffff;
}

/* Tip of the Day Table Styling */
.dglr-tips-wrapper {
    width: 100%;
    margin: 20px 0;
    overflow-x: auto;
}

.dglr-tips-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1rem;
    color: #1f2937;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.dglr-tips-table th {
    background-color: var(--dglr-yellow) !important;
    color: #1f2937 !important;
    font-weight: 700;
    padding: 14px 20px;
    text-align: center;
    width: 50%;
    border: 1px solid #e2e8f0;
    font-size: 1.1rem;
}

.dglr-tips-table td {
    padding: 14px 20px;
    text-align: left;
    border: 1px solid #e2e8f0;
    width: 50%;
}

.dglr-tips-table td:last-child {
    text-align: center;
    font-weight: 600;
}

/* Alternating rows background */
.dglr-tips-table tbody tr:nth-child(even) td {
    background-color: #F6F8FA !important;
}

.dglr-tips-table tbody tr:nth-child(odd) td {
    background-color: #ffffff !important;
}

/* Voting Widget Styling */
.dglr-voting-container {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: center;
    box-sizing: border-box;
}

.dglr-voting-title {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: var(--dglr-yellow) !important;
    text-transform: uppercase;
    margin: 30px 0 20px 0 !important;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.dglr-voting-digits-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.dglr-voting-row {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.dglr-digit-btn {
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #e4e4e7 !important;
    color: #1f2937 !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease;
    padding: 0 !important;
    outline: none !important;
}

.dglr-digit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: var(--dglr-yellow) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12) !important;
}

.dglr-digit-btn.selected {
    background: var(--dglr-yellow) !important;
    color: #1f2937 !important;
    border-color: var(--dglr-yellow) !important;
    transform: scale(1.05);
}

.dglr-digit-btn.voted-selected {
    background: var(--dglr-yellow) !important;
    color: #1f2937 !important;
    border-color: var(--dglr-yellow) !important;
}

.dglr-voting-action-wrap {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.dglr-submit-vote-btn {
    width: 100%;
    max-width: 500px;
    padding: 14px 24px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    color: #ffffff !important;
    background: #cccccc !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: not-allowed;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05) !important;
}

.dglr-submit-vote-btn.active {
    background: var(--dglr-yellow) !important;
    color: #1f2937 !important;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(70, 216, 204, 0.3) !important;
}

.dglr-submit-vote-btn.active:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(70, 216, 204, 0.45) !important;
}

.dglr-submit-vote-btn.voted-disabled {
    background: #cccccc !important;
    color: #ffffff !important;
    cursor: not-allowed;
}

.dglr-already-voted-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #22c55e !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
}

.dglr-checkbox-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #22c55e;
    color: #ffffff;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: bold;
}

.dglr-live-results-card {
    background: #ffffff !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    text-align: left;
    margin-bottom: 20px;
}

.dglr-live-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

@media (max-width: 600px) {
    .dglr-live-results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.dglr-result-bar-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dglr-result-badge {
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    background-color: var(--dglr-yellow) !important;
    color: #1f2937 !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem !important;
    flex-shrink: 0;
}

.dglr-result-bar-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dglr-result-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
}

.dglr-result-votes {
    color: #4b5563 !important;
}

.dglr-result-pct {
    color: #1f2937 !important;
}

.dglr-result-progress-track {
    height: 8px;
    background: #e4e4e7 !important;
    border-radius: 9999px !important;
    overflow: hidden !important;
    width: 100%;
}

.dglr-result-progress-fill {
    height: 100%;
    background: #22c55e !important;
    border-radius: 9999px !important;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Lucky Wheel Widget Styling */
.dglr-wheel-card {
    background: #ffffff !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    max-width: 450px;
    margin: 30px auto;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dglr-wheel-container {
    position: relative;
    width: 320px;
    max-width: 100%;
    height: 320px;
    margin: 0 auto 25px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dglr-wheel-pointer {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 20px solid #ef4444; /* red pointer */
    z-index: 10;
}

#dglrWheelCanvas {
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 4s cubic-bezier(0.15, 0.85, 0.15, 1);
    transform: rotate(0deg);
    max-width: 100%;
    height: auto;
}

.dglr-wheel-result-section {
    margin-bottom: 25px;
    min-height: 125px;
    width: 100%;
}

.dglr-wheel-lucky-label {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.dglr-wheel-lucky-number {
    font-size: 4.5rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    line-height: 1;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.dglr-wheel-clover-msg {
    color: #22c55e !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
}

.dglr-wheel-action {
    display: flex;
    justify-content: center;
    width: 100%;
}

.dglr-spin-btn {
    width: 100%;
    max-width: 250px;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    color: #1f2937 !important;
    background: var(--dglr-yellow) !important;
    border: none !important;
    border-radius: 9999px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(70, 216, 204, 0.3) !important;
}

.dglr-spin-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(70, 216, 204, 0.45) !important;
}

.dglr-spin-btn:active:not(:disabled) {
    transform: translateY(0);
}

.dglr-spin-btn:disabled {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

/* ============================================================
   ANTIGRAVITY PARTICLE SYSTEM & SHOCKWAVE BUTTON
   ============================================================ */

/* Particle Canvas - full viewport background */
#dglrAntigravityCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Ensure content stays above particles */
.dglr-container,
.sandbox-panel,
.sandbox-header,
.dglr-wheel-card,
.dglr-voting-container,
.dglr-tips-wrapper,
.dglr-monthly-container {
    position: relative;
    z-index: 1;
}

/* Shockwave Button - premium gradient banner */
.dglr-shockwave-wrap {
    display: flex;
    justify-content: center;
    margin: 25px 0;
    position: relative;
    z-index: 2;
}

.dglr-shockwave-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 600px;
    padding: 16px 32px;
    border: none;
    outline: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 35%, #7b2ff7 70%, #6366f1 100%);
    background-size: 200% 200%;
    animation: dglr-gradient-shift 4s ease-in-out infinite;
    box-shadow:
        0 4px 15px rgba(99, 102, 241, 0.3),
        0 0 30px rgba(99, 102, 241, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dglr-shockwave-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.dglr-shockwave-btn:hover::before {
    left: 100%;
}

.dglr-shockwave-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(99, 102, 241, 0.4),
        0 0 50px rgba(123, 47, 247, 0.2);
}

.dglr-shockwave-btn:active {
    transform: translateY(1px) scale(0.98);
}

.dglr-shockwave-btn.shockwave-active {
    animation: dglr-gradient-shift 1s ease-in-out infinite, dglr-btn-pulse 0.6s ease-in-out;
}

.dglr-shockwave-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.5));
}

@keyframes dglr-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes dglr-btn-pulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.6); }
    50% { box-shadow: 0 0 0 20px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

/* Antigravity active state on content elements */
.dglr-antigravity-float {
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dglr-antigravity-float.floating {
    animation: dglr-element-float 2.5s ease-in-out;
}

@keyframes dglr-element-float {
    0% { transform: translateY(0) rotate(0deg); }
    15% { transform: translateY(-8px) rotate(-0.5deg); }
    30% { transform: translateY(-20px) rotate(0.8deg); }
    50% { transform: translateY(-30px) rotate(-0.3deg); }
    70% { transform: translateY(-18px) rotate(0.5deg); }
    85% { transform: translateY(-6px) rotate(-0.2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Shockwave ring effect */
.dglr-shockwave-ring {
    position: fixed;
    border-radius: 50%;
    border: 3px solid rgba(99, 102, 241, 0.6);
    pointer-events: none;
    z-index: 9999;
    animation: dglr-ring-expand 1.2s ease-out forwards;
}

@keyframes dglr-ring-expand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        border-width: 4px;
    }
    100% {
        width: 200vmax;
        height: 200vmax;
        opacity: 0;
        border-width: 1px;
    }
}

